From 970414569e3cbd6e2d99a3bd38129448a31a8f98 Mon Sep 17 00:00:00 2001 From: Harald Fernengel Date: Sat, 4 Sep 2004 15:09:48 +0000 Subject: patch by Jérôme Lodewyck to enable integration of an existing connection into the Qt main loop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qt/connection.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'qt/connection.cpp') 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" -- cgit