Home · Modules · All Classes · All Namespaces
Public Member Functions | List of all members
Tp::PendingAccount Class Reference

The PendingAccount class represents the parameters of and the reply to an asynchronous account request. More...

#include <TelepathyQt/PendingAccount>

Inherits Tp::PendingOperation.

Public Member Functions

 ~PendingAccount ()
 
AccountManagerPtr manager () const
 
AccountPtr account () 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< RefCountedobject () const
 

Detailed Description

The PendingAccount class represents the parameters of and the reply to an asynchronous account request.

Instances of this class cannot be constructed directly; the only way to get one is via AccountManager.

See Asynchronous Object Model

Constructor & Destructor Documentation

◆ ~PendingAccount()

Tp::PendingAccount::~PendingAccount ( )

Class destructor.

Member Function Documentation

◆ manager()

AccountManagerPtr Tp::PendingAccount::manager ( ) const

Return the account manager through which the request was made.

Returns
A pointer to the AccountManager object.

◆ account()

AccountPtr Tp::PendingAccount::account ( ) const

Return the newly created account.

Returns
A pointer to an Account object, or a null AccountPtr if an error occurred.