From 2295b58e4eef9f41a2f917c51408f83a4d2b7efd Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 19 Dec 2007 18:19:02 +0000 Subject: [PATCH] doc/tutorial.txt: Briefly describe how to use the Qt event loop. Based on a patch from Phil Thompson, riverbankcomputing.co.uk --- doc/tutorial.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/tutorial.txt b/doc/tutorial.txt index 4f04d45..73251cf 100644 --- a/doc/tutorial.txt +++ b/doc/tutorial.txt @@ -375,7 +375,11 @@ backwards-compatible code. The Qt main loop ~~~~~~~~~~~~~~~~ -FIXME: describe how to use the Qt event loop too (requires recent pyqt) +PyQt v4.2 and later includes support for integrating dbus-python with +the Qt event loop. To connect D-Bus to this main loop, call +``dbus.mainloop.qt.DBusQtMainLoop`` instead of +``dbus.mainloop.glib.DBusGMainLoop``. Otherwise the Qt loop is used in +exactly the same way as the GLib loop. Making asynchronous calls ------------------------- -- 2.11.4.GIT