Home · All Classes · All Namespaces · Modules · Functions · Files
base-connection.h
1 
23 #ifndef _TelepathyQt_base_connection_h_HEADER_GUARD_
24 #define _TelepathyQt_base_connection_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/AvatarSpec>
31 #include <TelepathyQt/DBusService>
32 #include <TelepathyQt/Global>
33 #include <TelepathyQt/Types>
34 #include <TelepathyQt/Callbacks>
35 #include <TelepathyQt/Constants>
36 
37 #include <QDBusConnection>
38 
39 class QString;
40 
41 namespace Tp
42 {
43 
44 class TP_QT_EXPORT BaseConnection : public DBusService
45 {
46  Q_OBJECT
47  Q_DISABLE_COPY(BaseConnection)
48 
49 public:
50  static BaseConnectionPtr create(const QString &cmName, const QString &protocolName,
51  const QVariantMap &parameters,
52  const QDBusConnection &dbusConnection = QDBusConnection::sessionBus())
53  {
54  return BaseConnectionPtr(new BaseConnection(
55  dbusConnection, cmName, protocolName, parameters));
56  }
57  template<typename BaseConnectionSubclass>
58  static SharedPtr<BaseConnectionSubclass> create(const QString &cmName,
59  const QString &protocolName, const QVariantMap &parameters,
60  const QDBusConnection &dbusConnection = QDBusConnection::sessionBus())
61  {
62  return SharedPtr<BaseConnectionSubclass>(new BaseConnectionSubclass(
63  dbusConnection, cmName, protocolName, parameters));
64  }
65 
66  virtual ~BaseConnection();
67 
68  QString cmName() const;
69  QString protocolName() const;
70  QVariantMap parameters() const;
71  QVariantMap immutableProperties() const;
72 
73  uint selfHandle() const;
74  void setSelfHandle(uint selfHandle);
75 
76  QString selfID() const;
77  void setSelfID(const QString &selfID);
78 
79  void setSelfContact(uint selfHandle, const QString &selfID);
80 
81  uint status() const;
82  void setStatus(uint newStatus, uint reason);
83 
85  void setCreateChannelCallback(const CreateChannelCallback &cb);
86  BaseChannelPtr createChannel(const QVariantMap &request, bool suppressHandler, DBusError *error);
87 
89  void setConnectCallback(const ConnectCallback &cb);
90 
92  void setInspectHandlesCallback(const InspectHandlesCallback &cb);
93  QStringList inspectHandles(uint handleType, const Tp::UIntList &handles, DBusError *error);
94 
96  void setRequestHandlesCallback(const RequestHandlesCallback &cb);
97  Tp::UIntList requestHandles(uint handleType, const QStringList &identifiers, DBusError *error);
98 
99  Tp::ChannelInfoList channelsInfo();
100  Tp::ChannelDetailsList channelsDetails();
101 
102  BaseChannelPtr ensureChannel(const QVariantMap &request, bool &yours, bool suppressHandler, DBusError *error);
103 
104  void addChannel(BaseChannelPtr channel, bool suppressHandler = false);
105 
106  QList<AbstractConnectionInterfacePtr> interfaces() const;
107  AbstractConnectionInterfacePtr interface(const QString &interfaceName) const;
108  bool plugInterface(const AbstractConnectionInterfacePtr &interface);
109  bool registerObject(DBusError *error = NULL);
110 
111  virtual QString uniqueName() const;
112 
113 Q_SIGNALS:
114  void disconnected();
115 
116 private Q_SLOTS:
117  TP_QT_NO_EXPORT void removeChannel();
118 
119 protected:
120  BaseConnection(const QDBusConnection &dbusConnection,
121  const QString &cmName, const QString &protocolName,
122  const QVariantMap &parameters);
123 
124  virtual bool registerObject(const QString &busName, const QString &objectPath,
125  DBusError *error);
126 
127  virtual bool matchChannel(const Tp::BaseChannelPtr &channel, const QVariantMap &request, Tp::DBusError *error);
128 
129 private:
130  class Adaptee;
131  friend class Adaptee;
132  struct Private;
133  friend struct Private;
134  Private *mPriv;
135 };
136 
138 {
139  Q_OBJECT
140  Q_DISABLE_COPY(AbstractConnectionInterface)
141 
142 public:
143  AbstractConnectionInterface(const QString &interfaceName);
144  virtual ~AbstractConnectionInterface();
145 
146 private:
147  friend class BaseConnection;
148 
149  struct Private;
150  friend struct Private;
151  Private *mPriv;
152 };
153 
155 {
156  Q_OBJECT
157  Q_DISABLE_COPY(BaseConnectionRequestsInterface)
158 
159 public:
160  static BaseConnectionRequestsInterfacePtr create(BaseConnection* connection) {
161  return BaseConnectionRequestsInterfacePtr(new BaseConnectionRequestsInterface(connection));
162  }
163  template<typename BaseConnectionRequestsInterfaceSubclass>
166  new BaseConnectionRequestsInterfaceSubclass(connection));
167  }
168 
170 
171  QVariantMap immutableProperties() const;
172 
174  void ensureChannel(const QVariantMap &request, bool &yours,
175  QDBusObjectPath &channel, QVariantMap &details, DBusError* error);
176  void createChannel(const QVariantMap &request, QDBusObjectPath &channel,
177  QVariantMap &details, DBusError* error);
178 
179 public Q_SLOTS:
180  void newChannels(const Tp::ChannelDetailsList &channels);
181  void channelClosed(const QDBusObjectPath &removed);
182 
183 protected:
185 
186 private:
187  void createAdaptor();
188 
189  class Adaptee;
190  friend class Adaptee;
191  struct Private;
192  friend struct Private;
193  Private *mPriv;
194 };
195 
196 
198 {
199  Q_OBJECT
200  Q_DISABLE_COPY(BaseConnectionContactsInterface)
201 
202 
203 public:
204  static BaseConnectionContactsInterfacePtr create() {
205  return BaseConnectionContactsInterfacePtr(new BaseConnectionContactsInterface());
206  }
207  template<typename BaseConnectionContactsInterfaceSubclass>
210  new BaseConnectionContactsInterfaceSubclass());
211  }
212 
214 
215  QVariantMap immutableProperties() const;
216 
218  void setGetContactAttributesCallback(const GetContactAttributesCallback &cb);
219  ContactAttributesMap getContactAttributes(const Tp::UIntList &handles,
220  const QStringList &interfaces,
221  DBusError *error);
222  void setContactAttributeInterfaces(const QStringList &contactAttributeInterfaces);
223 protected:
225 
226 private:
227  void createAdaptor();
228 
229  class Adaptee;
230  friend class Adaptee;
231  struct Private;
232  friend struct Private;
233  Private *mPriv;
234 };
235 
237 {
238  Q_OBJECT
240 
241 public:
242  static BaseConnectionSimplePresenceInterfacePtr create()
243  {
244  return BaseConnectionSimplePresenceInterfacePtr(new BaseConnectionSimplePresenceInterface());
245  }
246  template<typename BaseConnectionSimplePresenceInterfaceSubclass>
248  {
250  new BaseConnectionSimplePresenceInterfaceSubclass());
251  }
252 
254 
255  QVariantMap immutableProperties() const;
256 
257  Tp::SimpleStatusSpecMap statuses() const;
258  void setStatuses(const Tp::SimpleStatusSpecMap &statuses);
259 
260  uint maximumStatusMessageLength() const;
261  void setMaximumStatusMessageLength(uint maximumStatusMessageLength);
262 
264  void setSetPresenceCallback(const SetPresenceCallback &cb);
265 
266  void setPresences(const Tp::SimpleContactPresences &presences);
267 
268  Tp::SimpleContactPresences getPresences(const Tp::UIntList &contacts);
269 
270 protected:
272 
273 private:
274  void createAdaptor();
275 
276  class Adaptee;
277  friend class Adaptee;
278  struct Private;
279  friend struct Private;
280  Private *mPriv;
281 };
282 
284 {
285  Q_OBJECT
286  Q_DISABLE_COPY(BaseConnectionContactListInterface)
287 
288 public:
289  static BaseConnectionContactListInterfacePtr create()
290  {
291  return BaseConnectionContactListInterfacePtr(new BaseConnectionContactListInterface());
292  }
293  template<typename BaseConnectionContactListInterfaceSubclass>
295  {
297  new BaseConnectionContactListInterfaceSubclass());
298  }
299 
301 
302  QVariantMap immutableProperties() const;
303 
304  uint contactListState() const;
305  void setContactListState(uint contactListState);
306 
307  bool contactListPersists() const;
308  void setContactListPersists(bool contactListPersists);
309 
310  bool canChangeContactList() const;
311  void setCanChangeContactList(bool canChangeContactList);
312 
313  bool requestUsesMessage() const;
314  void setRequestUsesMessage(bool requestUsesMessage);
315 
316  bool downloadAtConnection() const;
317  void setDownloadAtConnection(bool downloadAtConnection);
318 
320  void setGetContactListAttributesCallback(const GetContactListAttributesCallback &cb);
321  Tp::ContactAttributesMap getContactListAttributes(const QStringList &interfaces, bool hold, DBusError *error);
322 
324  void setRequestSubscriptionCallback(const RequestSubscriptionCallback &cb);
325  void requestSubscription(const Tp::UIntList &contacts, const QString &message, DBusError *error);
326 
328  void setAuthorizePublicationCallback(const AuthorizePublicationCallback &cb);
329  void authorizePublication(const Tp::UIntList &contacts, DBusError *error);
330 
332  void setRemoveContactsCallback(const RemoveContactsCallback &cb);
333  void removeContacts(const Tp::UIntList &contacts, DBusError *error);
334 
336  void setUnsubscribeCallback(const UnsubscribeCallback &cb);
337  void unsubscribe(const Tp::UIntList &contacts, DBusError *error);
338 
340  void setUnpublishCallback(const UnpublishCallback &cb);
341  void unpublish(const Tp::UIntList &contacts, DBusError *error);
342 
344  void setDownloadCallback(const DownloadCallback &cb);
345  void download(DBusError *error);
346 
347  void contactsChangedWithID(const Tp::ContactSubscriptionMap &changes, const Tp::HandleIdentifierMap &identifiers, const Tp::HandleIdentifierMap &removals);
348 
349 protected:
351 
352 private:
353  void createAdaptor();
354 
355  class Adaptee;
356  friend class Adaptee;
357  struct Private;
358  friend struct Private;
359  Private *mPriv;
360 };
361 
363 {
364  Q_OBJECT
365  Q_DISABLE_COPY(BaseConnectionContactInfoInterface)
366 
367 public:
368  static BaseConnectionContactInfoInterfacePtr create()
369  {
370  return BaseConnectionContactInfoInterfacePtr(new BaseConnectionContactInfoInterface());
371  }
372  template<typename BaseConnectionContactInfoInterfaceSubclass>
374  {
376  new BaseConnectionContactInfoInterfaceSubclass());
377  }
378 
380 
381  QVariantMap immutableProperties() const;
382 
383  Tp::ContactInfoFlags contactInfoFlags() const;
384  void setContactInfoFlags(const Tp::ContactInfoFlags &contactInfoFlags);
385 
386  Tp::FieldSpecs supportedFields() const;
387  void setSupportedFields(const Tp::FieldSpecs &supportedFields);
388 
390  void setGetContactInfoCallback(const GetContactInfoCallback &cb);
391  Tp::ContactInfoMap getContactInfo(const Tp::UIntList &contacts, DBusError *error);
392 
394  void setRefreshContactInfoCallback(const RefreshContactInfoCallback &cb);
395  void refreshContactInfo(const Tp::UIntList &contacts, DBusError *error);
396 
398  void setRequestContactInfoCallback(const RequestContactInfoCallback &cb);
399  Tp::ContactInfoFieldList requestContactInfo(uint contact, DBusError *error);
400 
402  void setSetContactInfoCallback(const SetContactInfoCallback &cb);
403  void setContactInfo(const Tp::ContactInfoFieldList &contactInfo, DBusError *error);
404 
405  void contactInfoChanged(uint contact, const Tp::ContactInfoFieldList &contactInfo);
406 
407 protected:
409 
410 private:
411  void createAdaptor();
412 
413  class Adaptee;
414  friend class Adaptee;
415  struct Private;
416  friend struct Private;
417  Private *mPriv;
418 };
419 
421 {
422  Q_OBJECT
423  Q_DISABLE_COPY(BaseConnectionAddressingInterface)
424 
425 public:
426  static BaseConnectionAddressingInterfacePtr create() {
427  return BaseConnectionAddressingInterfacePtr(new BaseConnectionAddressingInterface());
428  }
429  template<typename BaseConnectionAddressingInterfaceSubclass>
432  new BaseConnectionAddressingInterfaceSubclass());
433  }
434 
436 
437  QVariantMap immutableProperties() const;
438 
439 
440 
441  typedef Callback6 < void, const QString&, const QStringList&, const QStringList&,
443  void setGetContactsByVCardFieldCallback(const GetContactsByVCardFieldCallback &cb);
444 
445  typedef Callback5 < void, const QStringList&, const QStringList&,
447  void setGetContactsByURICallback(const GetContactsByURICallback &cb);
448 
449 protected:
451 
452 private:
453  void createAdaptor();
454 
455  class Adaptee;
456  friend class Adaptee;
457  struct Private;
458  friend struct Private;
459  Private *mPriv;
460 };
461 
463 {
464  Q_OBJECT
465  Q_DISABLE_COPY(BaseConnectionAliasingInterface)
466 
467 public:
468  static BaseConnectionAliasingInterfacePtr create()
469  {
470  return BaseConnectionAliasingInterfacePtr(new BaseConnectionAliasingInterface());
471  }
472  template<typename BaseConnectionAliasingInterfaceSubclass>
474  {
476  new BaseConnectionAliasingInterfaceSubclass());
477  }
478 
480 
481  QVariantMap immutableProperties() const;
482 
484  void setGetAliasFlagsCallback(const GetAliasFlagsCallback &cb);
485  Tp::ConnectionAliasFlags getAliasFlags(DBusError *error);
486 
488  void setRequestAliasesCallback(const RequestAliasesCallback &cb);
489  QStringList requestAliases(const Tp::UIntList &contacts, DBusError *error);
490 
492  void setGetAliasesCallback(const GetAliasesCallback &cb);
493  Tp::AliasMap getAliases(const Tp::UIntList &contacts, DBusError *error);
494 
496  void setSetAliasesCallback(const SetAliasesCallback &cb);
497  void setAliases(const Tp::AliasMap &aliases, DBusError *error);
498 
499  void aliasesChanged(const Tp::AliasPairList &aliases);
500 
501 protected:
503 
504 private:
505  void createAdaptor();
506 
507  class Adaptee;
508  friend class Adaptee;
509  struct Private;
510  friend struct Private;
511  Private *mPriv;
512 };
513 
515 {
516  Q_OBJECT
517  Q_DISABLE_COPY(BaseConnectionAvatarsInterface)
518 
519 public:
520  static BaseConnectionAvatarsInterfacePtr create()
521  {
522  return BaseConnectionAvatarsInterfacePtr(new BaseConnectionAvatarsInterface());
523  }
524  template<typename BaseConnectionAvatarsInterfaceSubclass>
526  {
528  new BaseConnectionAvatarsInterfaceSubclass());
529  }
530 
532 
533  QVariantMap immutableProperties() const;
534 
535  AvatarSpec avatarDetails() const;
536  void setAvatarDetails(const AvatarSpec &spec);
537 
539  void setGetKnownAvatarTokensCallback(const GetKnownAvatarTokensCallback &cb);
540  Tp::AvatarTokenMap getKnownAvatarTokens(const Tp::UIntList &contacts, DBusError *error);
541 
543  void setRequestAvatarsCallback(const RequestAvatarsCallback &cb);
544  void requestAvatars(const Tp::UIntList &contacts, DBusError *error);
545 
547  void setSetAvatarCallback(const SetAvatarCallback &cb);
548  QString setAvatar(const QByteArray &avatar, const QString &mimeType, DBusError *error);
549 
551  void setClearAvatarCallback(const ClearAvatarCallback &cb);
552  void clearAvatar(DBusError *error);
553 
554  void avatarUpdated(uint contact, const QString &newAvatarToken);
555  void avatarRetrieved(uint contact, const QString &token, const QByteArray &avatar, const QString &type);
556 
557 protected:
559 
560 private:
561  void createAdaptor();
562 
563  class Adaptee;
564  friend class Adaptee;
565  struct Private;
566  friend struct Private;
567  Private *mPriv;
568 };
569 
570 }
571 
572 #endif
QList< ChannelDetails > ChannelDetailsList
Definition: build/TelepathyQt/_gen/types.h:820
Callback3< ContactAttributesMap, const Tp::UIntList &, const QStringList &, DBusError * > GetContactAttributesCallback
Definition: base-connection.h:217
Base class for implementations of Connection.Interface.SimplePresence.
Definition: base-connection.h:236
QList< ContactInfoField > ContactInfoFieldList
Definition: build/TelepathyQt/_gen/types.h:1188
Definition: build/TelepathyQt/_gen/types.h:3459
Callback3< QStringList, uint, const Tp::UIntList &, DBusError * > InspectHandlesCallback
Definition: base-connection.h:91
Base class for D-Bus service interfaces.
Definition: dbus-service.h:73
Callback2< QStringList, const Tp::UIntList &, DBusError * > RequestAliasesCallback
Definition: base-connection.h:487
The AvatarSpec class represents a Telepathy avatar information supported by a protocol.
Definition: avatar.h:51
Base class for Connection implementations.
Definition: base-connection.h:44
static BaseConnectionContactInfoInterfacePtr create()
Definition: base-connection.h:368
Callback2< Tp::ContactInfoFieldList, uint, DBusError * > RequestContactInfoCallback
Definition: base-connection.h:397
static BaseConnectionAddressingInterfacePtr create()
Definition: base-connection.h:426
Callback1< Tp::ConnectionAliasFlags, DBusError * > GetAliasFlagsCallback
Definition: base-connection.h:483
static SharedPtr< BaseConnectionAvatarsInterfaceSubclass > create()
Definition: base-connection.h:525
Callback2< void, const Tp::AliasMap &, DBusError * > SetAliasesCallback
Definition: base-connection.h:495
QList< AliasPair > AliasPairList
Definition: build/TelepathyQt/_gen/types.h:224
Callback5< void, const QStringList &, const QStringList &, Tp::AddressingNormalizationMap &, Tp::ContactAttributesMap &, DBusError * > GetContactsByURICallback
Definition: base-connection.h:446
static BaseConnectionAvatarsInterfacePtr create()
Definition: base-connection.h:520
Callback2< void, const Tp::UIntList &, DBusError * > RemoveContactsCallback
Definition: base-connection.h:331
Callback2< void, const Tp::UIntList &, DBusError * > RefreshContactInfoCallback
Definition: base-connection.h:393
Callback1< void, DBusError * > ConnectCallback
Definition: base-connection.h:88
Base class for implementations of Connection.Interface.Requests.
Definition: base-connection.h:154
Callback3< void, const Tp::UIntList &, const QString &, DBusError * > RequestSubscriptionCallback
Definition: base-connection.h:323
Base class for implementations of Connection.Interface.Contacts.
Definition: base-connection.h:197
Callback3< Tp::ContactAttributesMap, const QStringList &, bool, DBusError * > GetContactListAttributesCallback
Definition: base-connection.h:319
Base class for all the Connection object interface implementations.
Definition: base-connection.h:137
static SharedPtr< BaseConnectionContactsInterfaceSubclass > create()
Definition: base-connection.h:208
Definition: build/TelepathyQt/_gen/types.h:161
static SharedPtr< BaseConnectionSimplePresenceInterfaceSubclass > create()
Definition: base-connection.h:247
Callback1< void, DBusError * > DownloadCallback
Definition: base-connection.h:343
Base class for implementations of Connection.Interface.Avatars.
Definition: base-connection.h:514
Base class for D-Bus services.
Definition: dbus-service.h:46
Definition: build/TelepathyQt/_gen/types.h:101
QFlags< ConnectionAliasFlag > ConnectionAliasFlags
Definition: build/TelepathyQt/_gen/constants.h:164
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
static SharedPtr< BaseConnectionContactListInterfaceSubclass > create()
Definition: base-connection.h:294
Callback2< BaseChannelPtr, const QVariantMap &, DBusError * > CreateChannelCallback
Definition: base-connection.h:84
QList< RequestableChannelClass > RequestableChannelClassList
Definition: build/TelepathyQt/_gen/types.h:2621
Callback3< Tp::UIntList, uint, const QStringList &, DBusError * > RequestHandlesCallback
Definition: base-connection.h:95
QList< FieldSpec > FieldSpecs
Definition: build/TelepathyQt/_gen/types.h:1562
QFlags< ContactInfoFlag > ContactInfoFlags
Definition: build/TelepathyQt/_gen/constants.h:324
Callback with 6 arguments.
Definition: callbacks.h:327
Tp::RequestableChannelClassList requestableChannelClasses
Definition: base-connection.h:173
Definition: build/TelepathyQt/_gen/types.h:950
static SharedPtr< BaseConnectionContactInfoInterfaceSubclass > create()
Definition: base-connection.h:373
Definition: build/TelepathyQt/_gen/types.h:3849
static BaseConnectionSimplePresenceInterfacePtr create()
Definition: base-connection.h:242
Callback2< void, const Tp::UIntList &, DBusError * > UnsubscribeCallback
Definition: base-connection.h:335
Base class for implementations of Connection.Interface.Aliasing.
Definition: base-connection.h:462
static BaseConnectionAliasingInterfacePtr create()
Definition: base-connection.h:468
static BaseConnectionContactsInterfacePtr create()
Definition: base-connection.h:204
Callback1< void, DBusError * > ClearAvatarCallback
Definition: base-connection.h:550
static SharedPtr< BaseConnectionAliasingInterfaceSubclass > create()
Definition: base-connection.h:473
static SharedPtr< BaseConnectionRequestsInterfaceSubclass > create(BaseConnection *connection)
Definition: base-connection.h:164
QList< ChannelInfo > ChannelInfoList
Definition: build/TelepathyQt/_gen/types.h:869
Base class for implementations of Connection.Interface.ContactList.
Definition: base-connection.h:283
Small container class, containing a D-Bus error.
Definition: dbus-error.h:35
Callback with 5 arguments.
Definition: callbacks.h:290
Callback2< void, const Tp::UIntList &, DBusError * > UnpublishCallback
Definition: base-connection.h:339
static BaseConnectionRequestsInterfacePtr create(BaseConnection *connection)
Definition: base-connection.h:160
static BaseConnectionContactListInterfacePtr create()
Definition: base-connection.h:289
static SharedPtr< BaseConnectionAddressingInterfaceSubclass > create()
Definition: base-connection.h:430
Callback3< QString, const QByteArray &, const QString &, DBusError * > SetAvatarCallback
Definition: base-connection.h:546
Definition: build/TelepathyQt/_gen/types.h:1646
Callback2< void, const Tp::ContactInfoFieldList &, DBusError * > SetContactInfoCallback
Definition: base-connection.h:401
Definition: build/TelepathyQt/_gen/types.h:3505
Callback2< void, const Tp::UIntList &, DBusError * > AuthorizePublicationCallback
Definition: base-connection.h:327
Definition: build/TelepathyQt/_gen/types.h:3827
Callback6< void, const QString &, const QStringList &, const QStringList &, Tp::AddressingNormalizationMap &, Tp::ContactAttributesMap &, DBusError * > GetContactsByVCardFieldCallback
Definition: base-connection.h:442
Callback2< Tp::AvatarTokenMap, const Tp::UIntList &, DBusError * > GetKnownAvatarTokensCallback
Definition: base-connection.h:538
Callback2< Tp::ContactInfoMap, const Tp::UIntList &, DBusError * > GetContactInfoCallback
Definition: base-connection.h:389
Callback2< void, const Tp::UIntList &, DBusError * > RequestAvatarsCallback
Definition: base-connection.h:542
Callback3< uint, const QString &, const QString &, DBusError * > SetPresenceCallback
Definition: base-connection.h:263
Definition: build/TelepathyQt/_gen/types.h:265
Base class for implementations of Connection.Interface.Addressing.
Definition: base-connection.h:420
Callback2< Tp::AliasMap, const Tp::UIntList &, DBusError * > GetAliasesCallback
Definition: base-connection.h:491
static BaseConnectionPtr create(const QString &cmName, const QString &protocolName, const QVariantMap &parameters, const QDBusConnection &dbusConnection=QDBusConnection::sessionBus())
Definition: base-connection.h:50
Definition: build/TelepathyQt/_gen/types.h:183
static SharedPtr< BaseConnectionSubclass > create(const QString &cmName, const QString &protocolName, const QVariantMap &parameters, const QDBusConnection &dbusConnection=QDBusConnection::sessionBus())
Definition: base-connection.h:58
Base class for implementations of Connection.Interface.Contact.Info.
Definition: base-connection.h:362


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