3#include <QDBusPendingCall>
4#include <QDBusInterface>
5#include <QDBusPendingReply>
14 iface =
new QDBusInterface(
"org.example.Interface",
"/Example/Methods");
46 if (
reply.isError()) {
DBus_PendingCall_Interface(QObject *parent=nullptr)
~DBus_PendingCall_Interface()
void callFinishedSlot(QDBusPendingCallWatcher *call)
[1]
void showReply(QString &, QByteArray &)
QDBusPendingCall asyncCall(const QString &method)
void finished(QDBusPendingCallWatcher *self=nullptr)
This signal is emitted when the pending call has finished and its reply is available.
QObject * parent() const
Returns a pointer to the parent object.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
void deleteLater()
\threadsafe
\macro QT_RESTRICTED_CAST_FROM_ASCII
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
QFutureWatcher< int > watcher