Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QDBusPendingReplyBase Class Reference

#include <qdbuspendingreply.h>

+ Inheritance diagram for QDBusPendingReplyBase:
+ Collaboration diagram for QDBusPendingReplyBase:

Protected Member Functions

 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)
 

Additional Inherited Members

- Public Member Functions inherited from QDBusPendingCall
 QDBusPendingCall (const QDBusPendingCall &other)
 Creates a copy of the other pending asynchronous call.
 
 ~QDBusPendingCall ()
 Destroys this copy of the QDBusPendingCall object.
 
QDBusPendingCalloperator= (QDBusPendingCall &&other) noexcept
 
QDBusPendingCalloperator= (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
 
- Static Public Member Functions inherited from QDBusPendingCall
static QDBusPendingCall fromError (const QDBusError &error)
 
static QDBusPendingCall fromCompletedCall (const QDBusMessage &message)
 
- Protected Attributes inherited from QDBusPendingCall
QExplicitlySharedDataPointer< QDBusPendingCallPrivated
 

Detailed Description

Definition at line 16 of file qdbuspendingreply.h.

Constructor & Destructor Documentation

◆ QDBusPendingReplyBase()

QDBusPendingReplyBase::QDBusPendingReplyBase ( )
protected

Definition at line 211 of file qdbuspendingreply.cpp.

◆ ~QDBusPendingReplyBase()

QDBusPendingReplyBase::~QDBusPendingReplyBase ( )
protected

Definition at line 216 of file qdbuspendingreply.cpp.

Member Function Documentation

◆ argumentAt()

QVariant QDBusPendingReplyBase::argumentAt ( int index) const
protected

Definition at line 231 of file qdbuspendingreply.cpp.

References QDBusMessage::arguments(), QDBusPendingCall::d, QDBusPendingCallPrivate::replyMessage, QList< T >::value(), and QDBusPendingCallPrivate::waitForFinished().

+ Here is the call graph for this function:

◆ assign() [1/2]

void QDBusPendingReplyBase::assign ( const QDBusMessage & message)
protected

◆ assign() [2/2]

void QDBusPendingReplyBase::assign ( const QDBusPendingCall & call)
protected

Definition at line 220 of file qdbuspendingreply.cpp.

References QDBusPendingCall::operator=(), and other().

+ Here is the call graph for this function:

◆ setMetaTypes()

void QDBusPendingReplyBase::setMetaTypes ( int count,
const QMetaType * metaTypes )
protected

Definition at line 241 of file qdbuspendingreply.cpp.

References QDBusPendingCallPrivate::checkReceivedSignature(), QDBusPendingCall::d, QDBusPendingCallPrivate::mutex, Q_ASSERT, and QDBusPendingCallPrivate::setMetaTypes().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: