Tp::PendingVariant Class Reference

| Home · All Classes · All Namespaces · Modules · Functions · Files

Public Member Functions | List of all members
Tp::PendingVariant Class Reference
Utililty classes

The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus method call that returns a variant. More...

`#include <TelepathyQt/PendingVariant>`

Inherits Tp::PendingOperation.

## Public Member Functions
| PendingVariant (QDBusPendingCall call, const SharedPtr< RefCounted > &object)
| ~PendingVariant ()
QVariant | result () const
Public Member Functions inherited from Tp::PendingOperation
virtual | ~PendingOperation ()
bool | isFinished () const
bool | isValid () const
bool | isError () const
QString | errorName () const
QString | errorMessage () const

## Additional Inherited Members
Signals inherited from Tp::PendingOperation
void | finished (Tp::PendingOperation *operation)
Protected Slots inherited from Tp::PendingOperation
void | setFinished ()
void | setFinishedWithError (const QString &name, const QString &message)
void | setFinishedWithError (const QDBusError &error)
Protected Member Functions inherited from Tp::PendingOperation
| PendingOperation (const SharedPtr< RefCounted > &object)
SharedPtr< RefCounted > | object () const

## Detailed Description

The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus method call that returns a variant.

See Asynchronous Object Model

## Constructor & Destructor Documentation

Tp::PendingVariant::PendingVariant | ( | QDBusPendingCall | call,
|  | const SharedPtr< RefCounted > & | object
| ) |  |

Tp::PendingVariant::~PendingVariant | ( |  | ) |

Class destructor.

## Member Function Documentation

QVariant Tp::PendingVariant::result | ( |  | ) | const