| Home · All Classes · All Namespaces · Modules · Functions · Files |
Base class for Connection implementations. More...
#include <TelepathyQt/BaseConnection>
Inherits Tp::DBusService.
Base class for Connection implementations.
| Tp::BaseConnection::~BaseConnection | ( | ) | [virtual] |
Class destructor.
| Tp::BaseConnection::BaseConnection | ( | const QDBusConnection & | dbusConnection, |
| const QString & | cmName, | ||
| const QString & | protocolName, | ||
| const QVariantMap & | parameters | ||
| ) | [protected] |
Construct a BaseConnection.
| dbusConnection | The D-Bus connection that will be used by this object. |
| cmName | The name of the connection manager associated with this connection. |
| protocolName | The name of the protocol associated with this connection. |
| parameters | The parameters of this connection. |
| static BaseConnectionPtr Tp::BaseConnection::create | ( | const QString & | cmName, |
| const QString & | protocolName, | ||
| const QVariantMap & | parameters | ||
| ) | [inline, static] |
| static SharedPtr<BaseConnectionSubclass> Tp::BaseConnection::create | ( | const QString & | cmName, |
| const QString & | protocolName, | ||
| const QVariantMap & | parameters | ||
| ) | [inline, static] |
| static BaseConnectionPtr Tp::BaseConnection::create | ( | const QDBusConnection & | dbusConnection, |
| const QString & | cmName, | ||
| const QString & | protocolName, | ||
| const QVariantMap & | parameters | ||
| ) | [inline, static] |
| static SharedPtr<BaseConnectionSubclass> Tp::BaseConnection::create | ( | const QDBusConnection & | dbusConnection, |
| const QString & | cmName, | ||
| const QString & | protocolName, | ||
| const QVariantMap & | parameters | ||
| ) | [inline, static] |
| QString Tp::BaseConnection::cmName | ( | ) | const |
Return the name of the connection manager associated with this connection.
| QString Tp::BaseConnection::protocolName | ( | ) | const |
Return the name of the protocol associated with this connection.
| QVariantMap Tp::BaseConnection::parameters | ( | ) | const |
Return the parameters of this connection.
| QVariantMap Tp::BaseConnection::immutableProperties | ( | ) | const [virtual] |
Return the immutable properties of this connection object.
Immutable properties cannot change after the object has been registered on the bus with registerObject().
Implements Tp::DBusService.
| QString Tp::BaseConnection::uniqueName | ( | ) | const [virtual] |
Return a unique name for this connection.
| bool Tp::BaseConnection::registerObject | ( | DBusError * | error = NULL | ) |
Register this connection object on the bus.
If error is passed, any D-Bus error that may occur will be stored there.
| error | A pointer to an empty DBusError where any possible D-Bus error will be stored. |
true on success and false if there was an error or this connection object is already registered. | void Tp::BaseConnection::disconnected | ( | ) | [signal] |
Emitted when this connection has been disconnected.
| bool Tp::BaseConnection::registerObject | ( | const QString & | busName, |
| const QString & | objectPath, | ||
| DBusError * | error | ||
| ) | [protected, virtual] |
Reimplemented from DBusService.
Reimplemented from Tp::DBusService.
| Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.3 |