Qt D-Bus C++ Classes
The Qt D-Bus module is a Unix-only library that you can use to perform Inter-Process Communication using the D-Bus protocol. More...
Namespaces
Contains miscellaneous identifiers used throughout the Qt D-Bus module |
Classes
The base class of D-Bus adaptor classes | |
The base class for all D-Bus interfaces in the Qt D-Bus binding, allowing access to remote interfaces | |
Used to marshall and demarshall D-Bus arguments | |
Represents a connection to the D-Bus bus daemon | |
Access to the D-Bus bus daemon service | |
Allows slots to determine the D-Bus context of the calls | |
Represents an error received from the D-Bus bus or from remote applications found in the bus | |
Proxy for interfaces on remote objects | |
Represents one message sent or received over the D-Bus bus | |
Enables the programmer to identify the OBJECT_PATH type provided by the D-Bus typesystem | |
Refers to one pending asynchronous call | |
Convenient way for waiting for asynchronous replies | |
Contains the reply to an asynchronous method call | |
Stores the reply for a method call to a remote object | |
Peer-to-peer communication between processes on the same computer | |
Allows the user to watch for a bus service change | |
Enables the programmer to identify the SIGNATURE type provided by the D-Bus typesystem | |
Holds one Unix file descriptor | |
Enables the programmer to identify the variant type provided by the D-Bus typesystem | |
Used to handle several DBus paths with one class |
Detailed Description
Applications using the Qt D-Bus module can provide services to other, remote applications by exporting objects, as well as use services exported by those applications by placing calls and accessing properties.
The Qt D-Bus module provides an interface that extends the Qt Signals and Slots mechanism, allowing one to connect to a signal emitted remotely as well as to connect a local signal to remote slot.
To use this module, use the following code in your application:
#include <QtDBus>
If you're using qmake to build your application, you can add this line to your .pro file to make it link against the Qt D-Bus libraries:
QT += dbus
Note: The source code for this module is located in the src/qdbus
directory. When installing Qt from source, this module is built when Qt's tools are built. See the D-Bus page for detailed information on how to use this module.
© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.