45 #include <QtCore/qglobal.h> 46 #include <QtCore/qvariant.h> 48 #include <QtDBus/qdbusmacros.h> 49 #include <QtDBus/qdbusmessage.h> 50 #include <QtDBus/qdbuserror.h> 51 #include <QtDBus/qdbusextratypes.h> 52 #include <QtDBus/qdbuspendingreply.h> 88 other.waitForFinished();
89 return *
this = other.reply();
170 other.waitForFinished();
171 return *
this = other.reply();
The QVariant class acts like a union for the most common Qt data types.
#define QT_END_NAMESPACE
This macro expands to.
bool isValid() const
Returns true if this is a valid error condition (i.e., if there was an error), otherwise false...
QDBusReply & operator=(const QDBusPendingCall &pcall)
Makes this object contain the reply specified by the pending asynchronous call pcall.
The QDBusReply class stores the reply for a method call to a remote object.
QDBusReply & operator=(const QDBusError &dbusError)
Sets this object to contain the error code given by error.
The QDBusError class represents an error received from the D-Bus bus or from remote applications foun...
The QDBusPendingCall class refers to one pending asynchronous call.
QDBusReply(const QDBusError &dbusError=QDBusError())
Constructs an error reply from the D-Bus error code given by error.
QDBusReply(const QDBusMessage &reply)
Automatically construct a QDBusReply object from the reply message reply, extracting the first return...
QDBusReply(const QDBusPendingCall &pcall)
Automatically construct a QDBusReply object from the asynchronous pending call pcall.
bool isValid() const
Returns true if no error occurred; otherwise, returns false.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QDBusReply & operator=(const QDBusReply &other)
Makes this object be a copy of the object other.
Q_DBUS_EXPORT void qDBusReplyFill(const QDBusMessage &reply, QDBusError &error, QVariant &data)
Fills in the QDBusReply data error and data from the reply message reply.
const QDBusError & error()
Returns the error code that was returned from the remote function call.
static const char * data(const QByteArray &arr)
T qvariant_cast(const QVariant &)
The QDBusMessage class represents one message sent or received over the D-Bus bus.
QDBusReply & operator=(const QDBusMessage &reply)
Makes this object contain the reply specified by message message.
QDBusReply(const QDBusPendingReply< T > &reply)
Constructs a QDBusReply object from the pending reply message, reply.
The QDBusPendingReply class contains the reply to an asynchronous method call.
Type value() const
Returns the remote function's calls return value.
The QDBusVariant class enables the programmer to identify the variant type provided by the D-Bus type...