23 #ifndef _TelepathyQt_connection_manager_h_HEADER_GUARD_    24 #define _TelepathyQt_connection_manager_h_HEADER_GUARD_    26 #ifndef IN_TP_QT_HEADER    27 #error IN_TP_QT_HEADER    30 #include <TelepathyQt/_gen/cli-connection-manager.h>    32 #include <TelepathyQt/ChannelFactory>    33 #include <TelepathyQt/ConnectionFactory>    34 #include <TelepathyQt/Constants>    35 #include <TelepathyQt/ContactFactory>    36 #include <TelepathyQt/DBus>    37 #include <TelepathyQt/DBusProxy>    38 #include <TelepathyQt/OptionalInterfaceFactory>    39 #include <TelepathyQt/ProtocolInfo>    40 #include <TelepathyQt/ProtocolParameter>    41 #include <TelepathyQt/ReadinessHelper>    42 #include <TelepathyQt/SharedPtr>    43 #include <TelepathyQt/Types>    48 class ConnectionManagerLowlevel;
    49 class PendingConnection;
    50 class PendingStringList;
    57     Q_PROPERTY(QString name READ name)
    58     Q_PROPERTY(QStringList supportedProtocols READ supportedProtocols)
    64     static ConnectionManagerPtr create(const QDBusConnection &bus,
    66     static ConnectionManagerPtr create(const QString &name,
    67             const ConnectionFactoryConstPtr &connectionFactory =
    69             const ChannelFactoryConstPtr &channelFactory =
    71             const ContactFactoryConstPtr &contactFactory =
    73     static ConnectionManagerPtr create(const QDBusConnection &bus,
    75             const ConnectionFactoryConstPtr &connectionFactory,
    76             const ChannelFactoryConstPtr &channelFactory,
    77             const ContactFactoryConstPtr &contactFactory =
    84     ConnectionFactoryConstPtr connectionFactory() const;
    85     ChannelFactoryConstPtr channelFactory() const;
    86     ContactFactoryConstPtr contactFactory() const;
    88     QStringList supportedProtocols() const;
    90     bool hasProtocol(const QString &protocolName) const;
    91     ProtocolInfo protocol(const QString &protocolName) const;
    94             const QDBusConnection &bus = QDBusConnection::sessionBus());
    96 #if defined(BUILDING_TP_QT) || defined(TP_QT_ENABLE_LOWLEVEL_API)    97     ConnectionManagerLowlevelPtr lowlevel();
    98     ConnectionManagerLowlevelConstPtr lowlevel() 
const;
   102     ConnectionManager(
const QDBusConnection &bus, 
const QString &name,
   103             const ConnectionFactoryConstPtr &connectionFactory,
   104             const ChannelFactoryConstPtr &channelFactory,
   105             const ContactFactoryConstPtr &contactFactory);
   111     TP_QT_NO_EXPORT 
void gotProtocolsLegacy(QDBusPendingCallWatcher *watcher);
   112     TP_QT_NO_EXPORT 
void gotParametersLegacy(QDBusPendingCallWatcher *watcher);
   119     friend struct Private;
 The PendingOperation class is a base class for pending asynchronous operations. 
Definition: pending-operation.h:45
The StatelessDBusProxy class is a base class representing a remote object whose API is basically stat...
Definition: dbus-proxy.h:80
Definition: cli-connection-manager.h:44
The ChannelFactory class is responsible for constructing Channel objects according to application-def...
Definition: channel-factory.h:46
The ConnectionFactory class is responsible for constructing Connection objects according to applicati...
Definition: connection-factory.h:49
The PendingConnection class represents the parameters of and the reply to an asynchronous connection ...
Definition: pending-connection.h:43
The ProtocolInfo class represents a Telepathy Protocol. 
Definition: protocol-info.h:46
The OptionalInterfaceFactory class is a helper class for high-level D-Bus proxy classes willing to of...
Definition: optional-interface-factory.h:65
The ConnectionManager class represents a Telepathy connection manager. 
Definition: connection-manager.h:52
Definition: abstract-adaptor.cpp:31
QList< ProtocolInfo > ProtocolInfoList
Definition: protocol-info.h:104
The PendingStringList class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-string-list.h:37
The Feature class represents a feature that can be enabled on demand. 
Definition: feature.h:41
The ContactFactory class is responsible for constructing Contact objects according to application-def...
Definition: contact-factory.h:44