![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qdbuspendingreply.h>
Public Types | |
| enum | { Count = 0 } |
| enum | |
Public Member Functions | |
| int | count () const |
| QDBusPendingReply ()=default | |
| Q_IMPLICIT | QDBusPendingReply (const QDBusPendingCall &call) |
| Q_IMPLICIT | QDBusPendingReply (const QDBusMessage &message) |
| QDBusPendingReply & | operator= (const QDBusPendingCall &call) |
| QDBusPendingReply & | operator= (const QDBusMessage &message) |
| QVariant | argumentAt (int index) const |
| Select< 0 >::Type | value () const |
Returns the first argument in this reply, cast to type Types[0] (the first template parameter of this class). | |
| operator typename Select< 0 >::Type () const | |
Returns the first argument in this reply, cast to type Types[0] (the first template parameter of this class). | |
| Public Member Functions inherited from QDBusPendingCall | |
| QDBusPendingCall (const QDBusPendingCall &other) | |
| Creates a copy of the other pending asynchronous call. | |
| QDBusPendingCall (QDBusPendingCall &&other) noexcept=default | |
| ~QDBusPendingCall () | |
| Destroys this copy of the QDBusPendingCall object. | |
| QDBusPendingCall & | operator= (QDBusPendingCall &&other) noexcept |
| QDBusPendingCall & | operator= (const QDBusPendingCall &other) |
| Creates a copy of the other pending asynchronous call and drops the reference to the previously-referenced call. | |
| void | swap (QDBusPendingCall &other) noexcept |
| bool | isFinished () const |
| void | waitForFinished () |
| bool | isError () const |
| bool | isValid () const |
| QDBusError | error () const |
| QDBusMessage | reply () const |
Friends | |
| class | ::tst_QDBusPendingReply |
Additional Inherited Members | |
| Static Public Member Functions inherited from QDBusPendingCall | |
| static QDBusPendingCall | fromError (const QDBusError &error) |
| static QDBusPendingCall | fromCompletedCall (const QDBusMessage &message) |
| Protected Member Functions inherited from QDBusPendingReplyBase | |
| QDBusPendingReplyBase () | |
| void | assign (const QDBusPendingCall &call) |
| void | assign (const QDBusMessage &message) |
| QVariant | argumentAt (int index) const |
| void | setMetaTypes (int count, const QMetaType *metaTypes) |
| Protected Member Functions inherited from QDBusPendingCall | |
| QDBusPendingCall (QDBusPendingCallPrivate *dd) | |
| Protected Attributes inherited from QDBusPendingCall | |
| QExplicitlySharedDataPointer< QDBusPendingCallPrivate > | d |
Definition at line 138 of file qdbuspendingreply.h.
| anonymous enum |
| Enumerator | |
|---|---|
| Count | |
Definition at line 142 of file qdbuspendingreply.h.
| anonymous enum |
Definition at line 65 of file qdbuspendingreply.h.
|
inlinedefault |
|
inline |
Definition at line 148 of file qdbuspendingreply.h.
|
inline |
Definition at line 150 of file qdbuspendingreply.h.
| ( | int | index | ) | const |
|
inline |
Definition at line 143 of file qdbuspendingreply.h.
References Count.
|
inline |
Returns the first argument in this reply, cast to type Types[0] (the first template parameter of this class).
This is equivalent to calling argumentAt<0>().
This function is provided as a convenience, matching the QDBusReply::value() function.
Note that, if the reply hasn't arrived, this function causes the calling thread to block until the reply is processed.
If the reply is an error reply, this function returns a default-constructed Types[0] object, which may be indistinguishable from a valid value. To reliably determine whether the message was an error, use isError().
Definition at line 107 of file qdbuspendingreply.h.
|
inline |
Definition at line 155 of file qdbuspendingreply.h.
|
inline |
Definition at line 153 of file qdbuspendingreply.h.
|
inline |
Returns the first argument in this reply, cast to type Types[0] (the first template parameter of this class).
This is equivalent to calling argumentAt<0>().
This function is provided as a convenience, matching the QDBusReply::value() function.
Note that, if the reply hasn't arrived, this function causes the calling thread to block until the reply is processed.
If the reply is an error reply, this function returns a default-constructed Types[0] object, which may be indistinguishable from a valid value. To reliably determine whether the message was an error, use isError().
Definition at line 102 of file qdbuspendingreply.h.
|
friend |
Definition at line 140 of file qdbuspendingreply.h.