| 1 | Extended DBus for Qt |
| 2 | ==================== |
| 3 | |
| 4 | Qt provides several classes for DBus communication. |
| 5 | |
| 6 | Extended DBus for Qt provides the following main additional features to the QDBusAbstractInterface class: |
| 7 | |
| 8 | * DBus provides a [Properties Interface](http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties) which specifies a *PropertiesChanged* signal whose reception is not implemented in the properties bridge by QtDBus. Extended DBus for Qt provides it. |
| 9 | * The DBus Properties Interface also specifies a *GetAll* method not implemented in the standard QtDBus. Extended DBus for Qt provides it. |
| 10 | * QtDBus properties mechanism is completely synchronous. Extended DBus for Qt provides an additional asynchronous alternative. |
| 11 | * An alternative and very simple cache mechanism is also implemented in Extended DBus for Qt so the DBus traffic is reduced to the minimum. |
| 12 | |
| 13 | |
| 14 | Installation: |
| 15 | ------------- |
| 16 | |
| 17 | ``` |
| 18 | $ qmake && make && make install |
| 19 | ``` |
| 20 | |
| 21 | |
| 22 | Examples: |
| 23 | --------- |
| 24 | |
| 25 | For a working example of Extended DBus for Qt check the [MPRIS for Qt](https://github.com/nemomobile/qtmpris) project. |
| 26 | |
| 27 | |
| 28 | TO-DO: |
| 29 | ------ |
| 30 | |
| 31 | * QtDBus provides the *qdbuscpp2xml* and *qdbusxml2cpp* tools for automagically generate a XML DBus specification file from the C++ code or the other way around, to generate C++ code from a XML DBus specification file. An adaption of such tools would be needed so we can also generate those files from Extended DBus for Qt. |