summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-12-19 18:19:02 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-12-19 18:19:02 +0000
commit2295b58e4eef9f41a2f917c51408f83a4d2b7efd (patch)
treef2bd988d73a8998af6ddaa4b361d6e37d7c3f6d4
parente0883f3518f137399077c13409f7a469924c0fd8 (diff)
downloaddbus-python-2295b58e4eef9f41a2f917c51408f83a4d2b7efd.tar.gz
doc/tutorial.txt: Briefly describe how to use the Qt event loop.
Based on a patch from Phil Thompson, riverbankcomputing.co.uk
-rw-r--r--doc/tutorial.txt6
1 files changed, 5 insertions, 1 deletions
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
-------------------------