diff options
author | Luciano Wolf <luciano.wolf@openbossa.org> | 2010-10-08 18:13:17 -0300 |
---|---|---|
committer | Luciano Wolf <luciano.wolf@openbossa.org> | 2010-10-11 10:35:38 -0300 |
commit | 87c67294301eb53c67e949ff50b991afe24d80c0 (patch) | |
tree | 8e1399074ed417be4e3bb42007951ce27f3f6471 /doc/dbus.rst | |
parent | ba54f0956e50c9a667ce160c69592d08ce514382 (diff) |
Updating documentation to reflect adoption of wikipages.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'doc/dbus.rst')
-rw-r--r-- | doc/dbus.rst | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/doc/dbus.rst b/doc/dbus.rst deleted file mode 100644 index 0e57d0b87..000000000 --- a/doc/dbus.rst +++ /dev/null @@ -1,30 +0,0 @@ -DBUS integration -**************** - -To get PySide and DBus working toghether you can use the glib mainloop integration already done in pydbus. - -The example above show how to export Qt objects to python and emit an DBus signal when a Qt signal is emited. The code comments explains what you need to know about PySide and dbus, any doubts, see the python-dbus help. - -DBUS Client ------------ - -.. literalinclude:: codesnippets/examples/dbus/example-client.py - - -DBUS Server ------------ - -.. literalinclude:: codesnippets/examples/dbus/example-server.py - - -Running the example -------------------- - -Copy the client code to a file called ``example-client.py`` and the server to a file called ``example-server.py`` and type: - -:: - - $ python example-server.py & - $ python example-client.py - -A litle window should appear on screen. Click on the button to emit a Qt signal, this signal will be converted to a DBus signal that will be caught by our dbus client. That's all. |