Home · All Classes · All Namespaces · Modules · Functions · Files
connection-manager-lowlevel.h
1 
23 #ifndef _TelepathyQt_connection_manager_lowlevel_h_HEADER_GUARD_
24 #define _TelepathyQt_connection_manager_lowlevel_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Constants>
31 #include <TelepathyQt/Types>
32 
33 namespace Tp
34 {
35 
36 class PendingConnection;
37 
38 class TP_QT_EXPORT ConnectionManagerLowlevel : public QObject, public RefCounted
39 {
40  Q_OBJECT
41  Q_DISABLE_COPY(ConnectionManagerLowlevel)
42 
43 public:
45 
46  bool isValid() const;
47  ConnectionManagerPtr connectionManager() const;
48 
49  PendingConnection *requestConnection(const QString &protocolName,
50  const QVariantMap &parameters);
51 
52 private:
53  friend class ConnectionManager;
54 
55  TP_QT_NO_EXPORT ConnectionManagerLowlevel(ConnectionManager *parent);
56 
57  struct Private;
58  friend struct Private;
59  Private *mPriv;
60 };
61 
62 } // Tp
63 
64 #endif
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
The PendingConnection class represents the parameters of and the reply to an asynchronous connection ...
Definition: pending-connection.h:43
The ConnectionManager class represents a Telepathy connection manager.
Definition: connection-manager.h:52
Definition: abstract-adaptor.cpp:31
The ConnectionManagerLowlevel class extends ConnectionManager with support to low-level features...
Definition: connection-manager-lowlevel.h:38


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7