Telepathy::Client::PendingConnection Class Reference

#include <TelepathyQt4/Client/PendingConnection>

Inheritance diagram for Telepathy::Client::PendingConnection:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~PendingConnection ()
ConnectionManagermanager () const
ConnectionPtr connection () const
QString busName () const
QString objectPath () const

Friends

struct Private
class ConnectionManager


Detailed Description

Class containing the parameters of and the reply to an asynchronous connection request. Instances of this class cannot be constructed directly; the only way to get one is via ConnectionManager.

Constructor & Destructor Documentation

Telepathy::Client::PendingConnection::~PendingConnection (  ) 

Class destructor.


Member Function Documentation

QString Telepathy::Client::PendingConnection::busName (  )  const

Returns the connection's bus name ("service name"), or an empty string on error.

This method is useful for creating custom Connection objects: instead of using PendingConnection::connection, one could construct a new custom connection from the bus name and object path.

Returns:
Connection bus name
See also:
objectPath()

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

ConnectionPtr Telepathy::Client::PendingConnection::connection (  )  const

ConnectionManager * Telepathy::Client::PendingConnection::manager (  )  const

Return the ConnectionManager object through which the request was made.

Returns:
Connection Manager object.

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

Returns the connection's object path or an empty string on error.

This method is useful for creating custom Connection objects: instead of using PendingConnection::connection, one could construct a new custom connection with the bus name and object path.

Returns:
Connection object path
See also:
busName()

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


Friends And Related Function Documentation

friend class ConnectionManager [friend]

friend struct Private [friend]


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