Telepathy::Client::PendingAccount Class Reference
[Account and Account Manager proxies]

#include <TelepathyQt4/Client/PendingAccount>

Inheritance diagram for Telepathy::Client::PendingAccount:

Inheritance graph
[legend]
Collaboration diagram for Telepathy::Client::PendingAccount:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~PendingAccount ()
AccountManagermanager () const
AccountPtr account () const
QString objectPath () const

Friends

struct Private
class AccountManager


Detailed Description

Class containing 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.

Constructor & Destructor Documentation

Telepathy::Client::PendingAccount::~PendingAccount (  ) 

Class destructor.


Member Function Documentation

AccountPtr Telepathy::Client::PendingAccount::account (  )  const

AccountManager * Telepathy::Client::PendingAccount::manager (  )  const

Return the AccountManager object through which the request was made.

Returns:
Account Manager object.

QString Telepathy::Client::PendingAccount::objectPath (  )  const

Returns the account object path or an empty string on error.

This method is useful for creating custom Account objects, so instead of using PendingAccount::account, one could construct a new custom account with the object path.

Returns:
Account object path.

References Telepathy::Client::PendingOperation::isFinished(), Telepathy::Client::PendingOperation::isValid(), and Telepathy::warning().


Friends And Related Function Documentation

friend class AccountManager [friend]

friend struct Private [friend]


Generated on Mon Mar 23 18:02:32 2009 for TelepathyQt4-0.1.2 by  doxygen 1.5.8