summaryrefslogtreecommitdiffstats
path: root/qt/server.cpp
diff options
context:
space:
mode:
authorZack Rusin <zack@kde.org>2004-01-26 07:46:55 +0000
committerZack Rusin <zack@kde.org>2004-01-26 07:46:55 +0000
commitd138ac8d1f41699ce9d4156e0a479d4d708240e7 (patch)
tree0e20be97115299a938e1ccfcc89049e0e159d1fa /qt/server.cpp
parentf02a9001f27ef47f70373aaf426d976ae5187f9e (diff)
Slightily modified patch from Alex (blarf). I'll have to rething the access
to dbus internals from the wrappers.
Diffstat (limited to 'qt/server.cpp')
-rw-r--r--qt/server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt/server.cpp b/qt/server.cpp
index fe2edf84..5d6c3ba1 100644
--- a/qt/server.cpp
+++ b/qt/server.cpp
@@ -58,6 +58,11 @@ bool Server::isConnected() const
return dbus_server_get_is_connected( d->server );
}
+void Server::disconnect()
+{
+ dbus_server_disconnect( d->server );
+}
+
QString Server::address() const
{
//FIXME: leak?