summaryrefslogtreecommitdiffstats
path: root/qt/connection.cpp
diff options
context:
space:
mode:
authorHarald Fernengel <harry@kdevelop.org>2004-09-04 15:09:48 +0000
committerHarald Fernengel <harry@kdevelop.org>2004-09-04 15:09:48 +0000
commit970414569e3cbd6e2d99a3bd38129448a31a8f98 (patch)
tree7aba5ff0ee1eb1609a1f57bd94f0ce2edea0bb01 /qt/connection.cpp
parent4a77a2dd972e817a08a4571220c8406709af8c48 (diff)
patch by Jérôme Lodewyck <lodewyck@clipper.ens.fr> to enable integration
of an existing connection into the Qt main loop
Diffstat (limited to 'qt/connection.cpp')
-rw-r--r--qt/connection.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/qt/connection.cpp b/qt/connection.cpp
index ba161504..f426d698 100644
--- a/qt/connection.cpp
+++ b/qt/connection.cpp
@@ -156,6 +156,13 @@ void* Connection::virtual_hook( int, void* )
{
}
+void Connection::dbus_connection_setup_with_qt_main (DBusConnection *connection)
+{
+ d->setConnection( connection );
+}
+
+
+
/////////////////////////////////////////////////////////
#include "connection.moc"