Home · All Classes · All Namespaces · Modules · Functions · Files
cli-connection.h
1 /*
2  * This file contains D-Bus client proxy classes generated by qt-client-gen.py.
3  *
4  * This file can be distributed under the same terms as the specification from
5  * which it was generated.
6  */
7 
8 #ifndef IN_TP_QT_HEADER
9 #error IN_TP_QT_HEADER
10 #endif
11 
12 #include <TelepathyQt/Types>
13 
14 #include <QtGlobal>
15 
16 #include <QString>
17 #include <QObject>
18 #include <QVariant>
19 
20 #include <QDBusPendingReply>
21 
22 #include <TelepathyQt/AbstractInterface>
23 #include <TelepathyQt/DBusProxy>
24 #include <TelepathyQt/Global>
25 
26 namespace Tp
27 {
28 class PendingVariant;
29 class PendingOperation;
30 }
31 
32 namespace Tp
33 {
34 namespace Client
35 {
36 
44 class TP_QT_EXPORT ConnectionInterface : public Tp::AbstractInterface
45 {
46  Q_OBJECT
47 
48 public:
55  static inline QLatin1String staticInterfaceName()
56  {
57  return QLatin1String("org.freedesktop.Telepathy.Connection");
58  }
59 
68  const QString& busName,
69  const QString& objectPath,
70  QObject* parent = 0
71  );
72 
82  const QDBusConnection& connection,
83  const QString& busName,
84  const QString& objectPath,
85  QObject* parent = 0
86  );
87 
95 
128  {
129  return internalRequestProperty(QLatin1String("Interfaces"));
130  }
131 
146  {
147  return internalRequestProperty(QLatin1String("SelfHandle"));
148  }
149 
164  {
165  return internalRequestProperty(QLatin1String("SelfID"));
166  }
167 
187  {
188  return internalRequestProperty(QLatin1String("Status"));
189  }
190 
206  {
207  return internalRequestProperty(QLatin1String("HasImmortalHandles"));
208  }
209 
217  {
218  return internalRequestAllProperties();
219  }
220 
221 public Q_SLOTS:
239  inline QDBusPendingReply<> Connect(int timeout = -1)
240  {
241  if (!invalidationReason().isEmpty()) {
242  return QDBusPendingReply<>(QDBusMessage::createError(
243  invalidationReason(),
244  invalidationMessage()
245  ));
246  }
247 
248  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
249  this->staticInterfaceName(), QLatin1String("Connect"));
250  return this->connection().asyncCall(callMessage, timeout);
251  }
252 
265  inline QDBusPendingReply<> Disconnect(int timeout = -1)
266  {
267  if (!invalidationReason().isEmpty()) {
268  return QDBusPendingReply<>(QDBusMessage::createError(
269  invalidationReason(),
270  invalidationMessage()
271  ));
272  }
273 
274  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
275  this->staticInterfaceName(), QLatin1String("Disconnect"));
276  return this->connection().asyncCall(callMessage, timeout);
277  }
278 
297  inline QDBusPendingReply<QStringList> GetInterfaces(int timeout = -1)
298  {
299  if (!invalidationReason().isEmpty()) {
300  return QDBusPendingReply<QStringList>(QDBusMessage::createError(
301  invalidationReason(),
302  invalidationMessage()
303  ));
304  }
305 
306  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
307  this->staticInterfaceName(), QLatin1String("GetInterfaces"));
308  return this->connection().asyncCall(callMessage, timeout);
309  }
310 
325  inline QDBusPendingReply<QString> GetProtocol(int timeout = -1)
326  {
327  if (!invalidationReason().isEmpty()) {
328  return QDBusPendingReply<QString>(QDBusMessage::createError(
329  invalidationReason(),
330  invalidationMessage()
331  ));
332  }
333 
334  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
335  this->staticInterfaceName(), QLatin1String("GetProtocol"));
336  return this->connection().asyncCall(callMessage, timeout);
337  }
338 
354  inline QDBusPendingReply<uint> GetSelfHandle(int timeout = -1)
355  {
356  if (!invalidationReason().isEmpty()) {
357  return QDBusPendingReply<uint>(QDBusMessage::createError(
358  invalidationReason(),
359  invalidationMessage()
360  ));
361  }
362 
363  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
364  this->staticInterfaceName(), QLatin1String("GetSelfHandle"));
365  return this->connection().asyncCall(callMessage, timeout);
366  }
367 
382  inline QDBusPendingReply<uint> GetStatus(int timeout = -1)
383  {
384  if (!invalidationReason().isEmpty()) {
385  return QDBusPendingReply<uint>(QDBusMessage::createError(
386  invalidationReason(),
387  invalidationMessage()
388  ));
389  }
390 
391  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
392  this->staticInterfaceName(), QLatin1String("GetStatus"));
393  return this->connection().asyncCall(callMessage, timeout);
394  }
395 
438  inline QDBusPendingReply<> HoldHandles(uint handleType, const Tp::UIntList& handles, int timeout = -1)
439  {
440  if (!invalidationReason().isEmpty()) {
441  return QDBusPendingReply<>(QDBusMessage::createError(
442  invalidationReason(),
443  invalidationMessage()
444  ));
445  }
446 
447  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
448  this->staticInterfaceName(), QLatin1String("HoldHandles"));
449  callMessage << QVariant::fromValue(handleType) << QVariant::fromValue(handles);
450  return this->connection().asyncCall(callMessage, timeout);
451  }
452 
476  inline QDBusPendingReply<QStringList> InspectHandles(uint handleType, const Tp::UIntList& handles, int timeout = -1)
477  {
478  if (!invalidationReason().isEmpty()) {
479  return QDBusPendingReply<QStringList>(QDBusMessage::createError(
480  invalidationReason(),
481  invalidationMessage()
482  ));
483  }
484 
485  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
486  this->staticInterfaceName(), QLatin1String("InspectHandles"));
487  callMessage << QVariant::fromValue(handleType) << QVariant::fromValue(handles);
488  return this->connection().asyncCall(callMessage, timeout);
489  }
490 
505  inline QDBusPendingReply<Tp::ChannelInfoList> ListChannels(int timeout = -1)
506  {
507  if (!invalidationReason().isEmpty()) {
508  return QDBusPendingReply<Tp::ChannelInfoList>(QDBusMessage::createError(
509  invalidationReason(),
510  invalidationMessage()
511  ));
512  }
513 
514  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
515  this->staticInterfaceName(), QLatin1String("ListChannels"));
516  return this->connection().asyncCall(callMessage, timeout);
517  }
518 
544  inline QDBusPendingReply<> ReleaseHandles(uint handleType, const Tp::UIntList& handles, int timeout = -1)
545  {
546  if (!invalidationReason().isEmpty()) {
547  return QDBusPendingReply<>(QDBusMessage::createError(
548  invalidationReason(),
549  invalidationMessage()
550  ));
551  }
552 
553  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
554  this->staticInterfaceName(), QLatin1String("ReleaseHandles"));
555  callMessage << QVariant::fromValue(handleType) << QVariant::fromValue(handles);
556  return this->connection().asyncCall(callMessage, timeout);
557  }
558 
638  inline QDBusPendingReply<QDBusObjectPath> RequestChannel(const QString& type, uint handleType, uint handle, bool suppressHandler, int timeout = -1)
639  {
640  if (!invalidationReason().isEmpty()) {
641  return QDBusPendingReply<QDBusObjectPath>(QDBusMessage::createError(
642  invalidationReason(),
643  invalidationMessage()
644  ));
645  }
646 
647  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
648  this->staticInterfaceName(), QLatin1String("RequestChannel"));
649  callMessage << QVariant::fromValue(type) << QVariant::fromValue(handleType) << QVariant::fromValue(handle) << QVariant::fromValue(suppressHandler);
650  return this->connection().asyncCall(callMessage, timeout);
651  }
652 
693  inline QDBusPendingReply<Tp::UIntList> RequestHandles(uint handleType, const QStringList& identifiers, int timeout = -1)
694  {
695  if (!invalidationReason().isEmpty()) {
696  return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
697  invalidationReason(),
698  invalidationMessage()
699  ));
700  }
701 
702  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
703  this->staticInterfaceName(), QLatin1String("RequestHandles"));
704  callMessage << QVariant::fromValue(handleType) << QVariant::fromValue(identifiers);
705  return this->connection().asyncCall(callMessage, timeout);
706  }
707 
801  inline QDBusPendingReply<> AddClientInterest(const QStringList& tokens, int timeout = -1)
802  {
803  if (!invalidationReason().isEmpty()) {
804  return QDBusPendingReply<>(QDBusMessage::createError(
805  invalidationReason(),
806  invalidationMessage()
807  ));
808  }
809 
810  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
811  this->staticInterfaceName(), QLatin1String("AddClientInterest"));
812  callMessage << QVariant::fromValue(tokens);
813  return this->connection().asyncCall(callMessage, timeout);
814  }
815 
847  inline QDBusPendingReply<> RemoveClientInterest(const QStringList& tokens, int timeout = -1)
848  {
849  if (!invalidationReason().isEmpty()) {
850  return QDBusPendingReply<>(QDBusMessage::createError(
851  invalidationReason(),
852  invalidationMessage()
853  ));
854  }
855 
856  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
857  this->staticInterfaceName(), QLatin1String("RemoveClientInterest"));
858  callMessage << QVariant::fromValue(tokens);
859  return this->connection().asyncCall(callMessage, timeout);
860  }
861 
862 Q_SIGNALS:
874  void SelfHandleChanged(uint selfHandle);
875 
891  void SelfContactChanged(uint selfHandle, const QString& selfID);
892 
936  void NewChannel(const QDBusObjectPath& objectPath, const QString& channelType, uint handleType, uint handle, bool suppressHandler);
937 
1007  void ConnectionError(const QString& error, const QVariantMap& details);
1008 
1025  void StatusChanged(uint status, uint reason);
1026 
1027 protected:
1028  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
1029 };
1030 
1039 {
1040  Q_OBJECT
1041 
1042 public:
1049  static inline QLatin1String staticInterfaceName()
1050  {
1051  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Addressing1");
1052  }
1053 
1062  const QString& busName,
1063  const QString& objectPath,
1064  QObject* parent = 0
1065  );
1066 
1076  const QDBusConnection& connection,
1077  const QString& busName,
1078  const QString& objectPath,
1079  QObject* parent = 0
1080  );
1081 
1089 
1098 
1106  ConnectionInterfaceAddressingInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
1107 
1115  {
1116  return internalRequestAllProperties();
1117  }
1118 
1119 public Q_SLOTS:
1209  inline QDBusPendingReply<Tp::AddressingNormalizationMap, Tp::ContactAttributesMap> GetContactsByVCardField(const QString& field, const QStringList& addresses, const QStringList& interfaces, int timeout = -1)
1210  {
1211  if (!invalidationReason().isEmpty()) {
1212  return QDBusPendingReply<Tp::AddressingNormalizationMap, Tp::ContactAttributesMap>(QDBusMessage::createError(
1213  invalidationReason(),
1214  invalidationMessage()
1215  ));
1216  }
1217 
1218  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1219  this->staticInterfaceName(), QLatin1String("GetContactsByVCardField"));
1220  callMessage << QVariant::fromValue(field) << QVariant::fromValue(addresses) << QVariant::fromValue(interfaces);
1221  return this->connection().asyncCall(callMessage, timeout);
1222  }
1223 
1294  inline QDBusPendingReply<Tp::AddressingNormalizationMap, Tp::ContactAttributesMap> GetContactsByURI(const QStringList& URIs, const QStringList& interfaces, int timeout = -1)
1295  {
1296  if (!invalidationReason().isEmpty()) {
1297  return QDBusPendingReply<Tp::AddressingNormalizationMap, Tp::ContactAttributesMap>(QDBusMessage::createError(
1298  invalidationReason(),
1299  invalidationMessage()
1300  ));
1301  }
1302 
1303  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1304  this->staticInterfaceName(), QLatin1String("GetContactsByURI"));
1305  callMessage << QVariant::fromValue(URIs) << QVariant::fromValue(interfaces);
1306  return this->connection().asyncCall(callMessage, timeout);
1307  }
1308 
1309 protected:
1310  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
1311 };
1312 
1321 {
1322  Q_OBJECT
1323 
1324 public:
1331  static inline QLatin1String staticInterfaceName()
1332  {
1333  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Aliasing");
1334  }
1335 
1344  const QString& busName,
1345  const QString& objectPath,
1346  QObject* parent = 0
1347  );
1348 
1358  const QDBusConnection& connection,
1359  const QString& busName,
1360  const QString& objectPath,
1361  QObject* parent = 0
1362  );
1363 
1371 
1380 
1388  ConnectionInterfaceAliasingInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
1389 
1397  {
1398  return internalRequestAllProperties();
1399  }
1400 
1401 public Q_SLOTS:
1417  inline QDBusPendingReply<uint> GetAliasFlags(int timeout = -1)
1418  {
1419  if (!invalidationReason().isEmpty()) {
1420  return QDBusPendingReply<uint>(QDBusMessage::createError(
1421  invalidationReason(),
1422  invalidationMessage()
1423  ));
1424  }
1425 
1426  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1427  this->staticInterfaceName(), QLatin1String("GetAliasFlags"));
1428  return this->connection().asyncCall(callMessage, timeout);
1429  }
1430 
1449  inline QDBusPendingReply<QStringList> RequestAliases(const Tp::UIntList& contacts, int timeout = -1)
1450  {
1451  if (!invalidationReason().isEmpty()) {
1452  return QDBusPendingReply<QStringList>(QDBusMessage::createError(
1453  invalidationReason(),
1454  invalidationMessage()
1455  ));
1456  }
1457 
1458  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1459  this->staticInterfaceName(), QLatin1String("RequestAliases"));
1460  callMessage << QVariant::fromValue(contacts);
1461  return this->connection().asyncCall(callMessage, timeout);
1462  }
1463 
1486  inline QDBusPendingReply<Tp::AliasMap> GetAliases(const Tp::UIntList& contacts, int timeout = -1)
1487  {
1488  if (!invalidationReason().isEmpty()) {
1489  return QDBusPendingReply<Tp::AliasMap>(QDBusMessage::createError(
1490  invalidationReason(),
1491  invalidationMessage()
1492  ));
1493  }
1494 
1495  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1496  this->staticInterfaceName(), QLatin1String("GetAliases"));
1497  callMessage << QVariant::fromValue(contacts);
1498  return this->connection().asyncCall(callMessage, timeout);
1499  }
1500 
1520  inline QDBusPendingReply<> SetAliases(const Tp::AliasMap& aliases, int timeout = -1)
1521  {
1522  if (!invalidationReason().isEmpty()) {
1523  return QDBusPendingReply<>(QDBusMessage::createError(
1524  invalidationReason(),
1525  invalidationMessage()
1526  ));
1527  }
1528 
1529  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1530  this->staticInterfaceName(), QLatin1String("SetAliases"));
1531  callMessage << QVariant::fromValue(aliases);
1532  return this->connection().asyncCall(callMessage, timeout);
1533  }
1534 
1535 Q_SIGNALS:
1552  void AliasesChanged(const Tp::AliasPairList& aliases);
1553 
1554 protected:
1555  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
1556 };
1557 
1566 {
1567  Q_OBJECT
1568 
1569 public:
1576  static inline QLatin1String staticInterfaceName()
1577  {
1578  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Anonymity");
1579  }
1580 
1589  const QString& busName,
1590  const QString& objectPath,
1591  QObject* parent = 0
1592  );
1593 
1603  const QDBusConnection& connection,
1604  const QString& busName,
1605  const QString& objectPath,
1606  QObject* parent = 0
1607  );
1608 
1616 
1625 
1633  ConnectionInterfaceAnonymityInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
1634 
1646  {
1647  return internalRequestProperty(QLatin1String("SupportedAnonymityModes"));
1648  }
1649 
1666  {
1667  return internalRequestProperty(QLatin1String("AnonymityMandatory"));
1668  }
1669 
1686  {
1687  return internalSetProperty(QLatin1String("AnonymityMandatory"), QVariant::fromValue(newValue));
1688  }
1689 
1703  {
1704  return internalRequestProperty(QLatin1String("AnonymityModes"));
1705  }
1706 
1720  {
1721  return internalSetProperty(QLatin1String("AnonymityModes"), QVariant::fromValue(newValue));
1722  }
1723 
1731  {
1732  return internalRequestAllProperties();
1733  }
1734 
1735 Q_SIGNALS:
1745  void AnonymityModesChanged(uint modes);
1746 
1747 protected:
1748  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
1749 };
1750 
1759 {
1760  Q_OBJECT
1761 
1762 public:
1769  static inline QLatin1String staticInterfaceName()
1770  {
1771  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Avatars");
1772  }
1773 
1782  const QString& busName,
1783  const QString& objectPath,
1784  QObject* parent = 0
1785  );
1786 
1796  const QDBusConnection& connection,
1797  const QString& busName,
1798  const QString& objectPath,
1799  QObject* parent = 0
1800  );
1801 
1809 
1818 
1826  ConnectionInterfaceAvatarsInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
1827 
1840  {
1841  return internalRequestProperty(QLatin1String("SupportedAvatarMIMETypes"));
1842  }
1843 
1856  {
1857  return internalRequestProperty(QLatin1String("MinimumAvatarHeight"));
1858  }
1859 
1872  {
1873  return internalRequestProperty(QLatin1String("MinimumAvatarWidth"));
1874  }
1875 
1891  {
1892  return internalRequestProperty(QLatin1String("RecommendedAvatarHeight"));
1893  }
1894 
1908  {
1909  return internalRequestProperty(QLatin1String("RecommendedAvatarWidth"));
1910  }
1911 
1924  {
1925  return internalRequestProperty(QLatin1String("MaximumAvatarHeight"));
1926  }
1927 
1940  {
1941  return internalRequestProperty(QLatin1String("MaximumAvatarWidth"));
1942  }
1943 
1956  {
1957  return internalRequestProperty(QLatin1String("MaximumAvatarBytes"));
1958  }
1959 
1967  {
1968  return internalRequestAllProperties();
1969  }
1970 
1971 public Q_SLOTS:
2006  inline QDBusPendingReply<QStringList, ushort, ushort, ushort, ushort, uint> GetAvatarRequirements(int timeout = -1)
2007  {
2008  if (!invalidationReason().isEmpty()) {
2009  return QDBusPendingReply<QStringList, ushort, ushort, ushort, ushort, uint>(QDBusMessage::createError(
2010  invalidationReason(),
2011  invalidationMessage()
2012  ));
2013  }
2014 
2015  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2016  this->staticInterfaceName(), QLatin1String("GetAvatarRequirements"));
2017  return this->connection().asyncCall(callMessage, timeout);
2018  }
2019 
2041  inline QDBusPendingReply<QStringList> GetAvatarTokens(const Tp::UIntList& contacts, int timeout = -1)
2042  {
2043  if (!invalidationReason().isEmpty()) {
2044  return QDBusPendingReply<QStringList>(QDBusMessage::createError(
2045  invalidationReason(),
2046  invalidationMessage()
2047  ));
2048  }
2049 
2050  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2051  this->staticInterfaceName(), QLatin1String("GetAvatarTokens"));
2052  callMessage << QVariant::fromValue(contacts);
2053  return this->connection().asyncCall(callMessage, timeout);
2054  }
2055 
2083  inline QDBusPendingReply<Tp::AvatarTokenMap> GetKnownAvatarTokens(const Tp::UIntList& contacts, int timeout = -1)
2084  {
2085  if (!invalidationReason().isEmpty()) {
2086  return QDBusPendingReply<Tp::AvatarTokenMap>(QDBusMessage::createError(
2087  invalidationReason(),
2088  invalidationMessage()
2089  ));
2090  }
2091 
2092  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2093  this->staticInterfaceName(), QLatin1String("GetKnownAvatarTokens"));
2094  callMessage << QVariant::fromValue(contacts);
2095  return this->connection().asyncCall(callMessage, timeout);
2096  }
2097 
2122  inline QDBusPendingReply<QByteArray, QString> RequestAvatar(uint contact, int timeout = -1)
2123  {
2124  if (!invalidationReason().isEmpty()) {
2125  return QDBusPendingReply<QByteArray, QString>(QDBusMessage::createError(
2126  invalidationReason(),
2127  invalidationMessage()
2128  ));
2129  }
2130 
2131  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2132  this->staticInterfaceName(), QLatin1String("RequestAvatar"));
2133  callMessage << QVariant::fromValue(contact);
2134  return this->connection().asyncCall(callMessage, timeout);
2135  }
2136 
2155  inline QDBusPendingReply<> RequestAvatars(const Tp::UIntList& contacts, int timeout = -1)
2156  {
2157  if (!invalidationReason().isEmpty()) {
2158  return QDBusPendingReply<>(QDBusMessage::createError(
2159  invalidationReason(),
2160  invalidationMessage()
2161  ));
2162  }
2163 
2164  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2165  this->staticInterfaceName(), QLatin1String("RequestAvatars"));
2166  callMessage << QVariant::fromValue(contacts);
2167  return this->connection().asyncCall(callMessage, timeout);
2168  }
2169 
2193  inline QDBusPendingReply<QString> SetAvatar(const QByteArray& avatar, const QString& MIMEType, int timeout = -1)
2194  {
2195  if (!invalidationReason().isEmpty()) {
2196  return QDBusPendingReply<QString>(QDBusMessage::createError(
2197  invalidationReason(),
2198  invalidationMessage()
2199  ));
2200  }
2201 
2202  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2203  this->staticInterfaceName(), QLatin1String("SetAvatar"));
2204  callMessage << QVariant::fromValue(avatar) << QVariant::fromValue(MIMEType);
2205  return this->connection().asyncCall(callMessage, timeout);
2206  }
2207 
2218  inline QDBusPendingReply<> ClearAvatar(int timeout = -1)
2219  {
2220  if (!invalidationReason().isEmpty()) {
2221  return QDBusPendingReply<>(QDBusMessage::createError(
2222  invalidationReason(),
2223  invalidationMessage()
2224  ));
2225  }
2226 
2227  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2228  this->staticInterfaceName(), QLatin1String("ClearAvatar"));
2229  return this->connection().asyncCall(callMessage, timeout);
2230  }
2231 
2232 Q_SIGNALS:
2249  void AvatarUpdated(uint contact, const QString& newAvatarToken);
2250 
2273  void AvatarRetrieved(uint contact, const QString& token, const QByteArray& avatar, const QString& type);
2274 
2275 protected:
2276  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
2277 };
2278 
2287 {
2288  Q_OBJECT
2289 
2290 public:
2297  static inline QLatin1String staticInterfaceName()
2298  {
2299  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Balance");
2300  }
2301 
2310  const QString& busName,
2311  const QString& objectPath,
2312  QObject* parent = 0
2313  );
2314 
2324  const QDBusConnection& connection,
2325  const QString& busName,
2326  const QString& objectPath,
2327  QObject* parent = 0
2328  );
2329 
2337 
2346 
2354  ConnectionInterfaceBalanceInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
2355 
2375  {
2376  return internalRequestProperty(QLatin1String("AccountBalance"));
2377  }
2378 
2397  {
2398  return internalRequestProperty(QLatin1String("ManageCreditURI"));
2399  }
2400 
2408  {
2409  return internalRequestAllProperties();
2410  }
2411 
2412 Q_SIGNALS:
2427  void BalanceChanged(const Tp::CurrencyAmount& balance);
2428 
2429 protected:
2430  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
2431 };
2432 
2441 {
2442  Q_OBJECT
2443 
2444 public:
2451  static inline QLatin1String staticInterfaceName()
2452  {
2453  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Capabilities");
2454  }
2455 
2464  const QString& busName,
2465  const QString& objectPath,
2466  QObject* parent = 0
2467  );
2468 
2478  const QDBusConnection& connection,
2479  const QString& busName,
2480  const QString& objectPath,
2481  QObject* parent = 0
2482  );
2483 
2491 
2500 
2508  ConnectionInterfaceCapabilitiesInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
2509 
2517  {
2518  return internalRequestAllProperties();
2519  }
2520 
2521 public Q_SLOTS:
2575  inline QDBusPendingReply<Tp::CapabilityPairList> AdvertiseCapabilities(const Tp::CapabilityPairList& add, const QStringList& remove, int timeout = -1)
2576  {
2577  if (!invalidationReason().isEmpty()) {
2578  return QDBusPendingReply<Tp::CapabilityPairList>(QDBusMessage::createError(
2579  invalidationReason(),
2580  invalidationMessage()
2581  ));
2582  }
2583 
2584  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2585  this->staticInterfaceName(), QLatin1String("AdvertiseCapabilities"));
2586  callMessage << QVariant::fromValue(add) << QVariant::fromValue(remove);
2587  return this->connection().asyncCall(callMessage, timeout);
2588  }
2589 
2624  inline QDBusPendingReply<Tp::ContactCapabilityList> GetCapabilities(const Tp::UIntList& handles, int timeout = -1)
2625  {
2626  if (!invalidationReason().isEmpty()) {
2627  return QDBusPendingReply<Tp::ContactCapabilityList>(QDBusMessage::createError(
2628  invalidationReason(),
2629  invalidationMessage()
2630  ));
2631  }
2632 
2633  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2634  this->staticInterfaceName(), QLatin1String("GetCapabilities"));
2635  callMessage << QVariant::fromValue(handles);
2636  return this->connection().asyncCall(callMessage, timeout);
2637  }
2638 
2639 Q_SIGNALS:
2666  void CapabilitiesChanged(const Tp::CapabilityChangeList& caps);
2667 
2668 protected:
2669  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
2670 };
2671 
2680 {
2681  Q_OBJECT
2682 
2683 public:
2690  static inline QLatin1String staticInterfaceName()
2691  {
2692  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Cellular");
2693  }
2694 
2703  const QString& busName,
2704  const QString& objectPath,
2705  QObject* parent = 0
2706  );
2707 
2717  const QDBusConnection& connection,
2718  const QString& busName,
2719  const QString& objectPath,
2720  QObject* parent = 0
2721  );
2722 
2730 
2739 
2747  ConnectionInterfaceCellularInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
2748 
2768  {
2769  return internalRequestProperty(QLatin1String("MessageValidityPeriod"));
2770  }
2771 
2791  {
2792  return internalSetProperty(QLatin1String("MessageValidityPeriod"), QVariant::fromValue(newValue));
2793  }
2794 
2818  {
2819  return internalRequestProperty(QLatin1String("OverrideMessageServiceCentre"));
2820  }
2821 
2845  {
2846  return internalSetProperty(QLatin1String("OverrideMessageServiceCentre"), QVariant::fromValue(newValue));
2847  }
2848 
2866  {
2867  return internalRequestProperty(QLatin1String("MessageServiceCentre"));
2868  }
2869 
2887  {
2888  return internalSetProperty(QLatin1String("MessageServiceCentre"), QVariant::fromValue(newValue));
2889  }
2890 
2905  {
2906  return internalRequestProperty(QLatin1String("IMSI"));
2907  }
2908 
2928  {
2929  return internalRequestProperty(QLatin1String("MessageReducedCharacterSet"));
2930  }
2931 
2951  {
2952  return internalSetProperty(QLatin1String("MessageReducedCharacterSet"), QVariant::fromValue(newValue));
2953  }
2954 
2981  {
2982  return internalRequestProperty(QLatin1String("MessageNationalCharacterSet"));
2983  }
2984 
3011  {
3012  return internalSetProperty(QLatin1String("MessageNationalCharacterSet"), QVariant::fromValue(newValue));
3013  }
3014 
3022  {
3023  return internalRequestAllProperties();
3024  }
3025 
3026 Q_SIGNALS:
3042  void IMSIChanged(const QString& IMSI);
3043 
3044 protected:
3045  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
3046 };
3047 
3056 {
3057  Q_OBJECT
3058 
3059 public:
3066  static inline QLatin1String staticInterfaceName()
3067  {
3068  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ClientTypes");
3069  }
3070 
3079  const QString& busName,
3080  const QString& objectPath,
3081  QObject* parent = 0
3082  );
3083 
3093  const QDBusConnection& connection,
3094  const QString& busName,
3095  const QString& objectPath,
3096  QObject* parent = 0
3097  );
3098 
3106 
3115 
3123  ConnectionInterfaceClientTypesInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
3124 
3132  {
3133  return internalRequestAllProperties();
3134  }
3135 
3136 public Q_SLOTS:
3165  inline QDBusPendingReply<Tp::ContactClientTypes> GetClientTypes(const Tp::UIntList& contacts, int timeout = -1)
3166  {
3167  if (!invalidationReason().isEmpty()) {
3168  return QDBusPendingReply<Tp::ContactClientTypes>(QDBusMessage::createError(
3169  invalidationReason(),
3170  invalidationMessage()
3171  ));
3172  }
3173 
3174  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3175  this->staticInterfaceName(), QLatin1String("GetClientTypes"));
3176  callMessage << QVariant::fromValue(contacts);
3177  return this->connection().asyncCall(callMessage, timeout);
3178  }
3179 
3204  inline QDBusPendingReply<QStringList> RequestClientTypes(uint contact, int timeout = -1)
3205  {
3206  if (!invalidationReason().isEmpty()) {
3207  return QDBusPendingReply<QStringList>(QDBusMessage::createError(
3208  invalidationReason(),
3209  invalidationMessage()
3210  ));
3211  }
3212 
3213  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3214  this->staticInterfaceName(), QLatin1String("RequestClientTypes"));
3215  callMessage << QVariant::fromValue(contact);
3216  return this->connection().asyncCall(callMessage, timeout);
3217  }
3218 
3219 Q_SIGNALS:
3234  void ClientTypesUpdated(uint contact, const QStringList& clientTypes);
3235 
3236 protected:
3237  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
3238 };
3239 
3248 {
3249  Q_OBJECT
3250 
3251 public:
3258  static inline QLatin1String staticInterfaceName()
3259  {
3260  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ContactBlocking");
3261  }
3262 
3271  const QString& busName,
3272  const QString& objectPath,
3273  QObject* parent = 0
3274  );
3275 
3285  const QDBusConnection& connection,
3286  const QString& busName,
3287  const QString& objectPath,
3288  QObject* parent = 0
3289  );
3290 
3298 
3307 
3316 
3334  {
3335  return internalRequestProperty(QLatin1String("ContactBlockingCapabilities"));
3336  }
3337 
3345  {
3346  return internalRequestAllProperties();
3347  }
3348 
3349 public Q_SLOTS:
3409  inline QDBusPendingReply<> BlockContacts(const Tp::UIntList& contacts, bool reportAbusive, int timeout = -1)
3410  {
3411  if (!invalidationReason().isEmpty()) {
3412  return QDBusPendingReply<>(QDBusMessage::createError(
3413  invalidationReason(),
3414  invalidationMessage()
3415  ));
3416  }
3417 
3418  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3419  this->staticInterfaceName(), QLatin1String("BlockContacts"));
3420  callMessage << QVariant::fromValue(contacts) << QVariant::fromValue(reportAbusive);
3421  return this->connection().asyncCall(callMessage, timeout);
3422  }
3423 
3442  inline QDBusPendingReply<> UnblockContacts(const Tp::UIntList& contacts, int timeout = -1)
3443  {
3444  if (!invalidationReason().isEmpty()) {
3445  return QDBusPendingReply<>(QDBusMessage::createError(
3446  invalidationReason(),
3447  invalidationMessage()
3448  ));
3449  }
3450 
3451  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3452  this->staticInterfaceName(), QLatin1String("UnblockContacts"));
3453  callMessage << QVariant::fromValue(contacts);
3454  return this->connection().asyncCall(callMessage, timeout);
3455  }
3456 
3477  inline QDBusPendingReply<Tp::HandleIdentifierMap> RequestBlockedContacts(int timeout = -1)
3478  {
3479  if (!invalidationReason().isEmpty()) {
3480  return QDBusPendingReply<Tp::HandleIdentifierMap>(QDBusMessage::createError(
3481  invalidationReason(),
3482  invalidationMessage()
3483  ));
3484  }
3485 
3486  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3487  this->staticInterfaceName(), QLatin1String("RequestBlockedContacts"));
3488  return this->connection().asyncCall(callMessage, timeout);
3489  }
3490 
3491 Q_SIGNALS:
3510  void BlockedContactsChanged(const Tp::HandleIdentifierMap& blockedContacts, const Tp::HandleIdentifierMap& unblockedContacts);
3511 
3512 protected:
3513  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
3514 };
3515 
3524 {
3525  Q_OBJECT
3526 
3527 public:
3534  static inline QLatin1String staticInterfaceName()
3535  {
3536  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ContactCapabilities");
3537  }
3538 
3547  const QString& busName,
3548  const QString& objectPath,
3549  QObject* parent = 0
3550  );
3551 
3561  const QDBusConnection& connection,
3562  const QString& busName,
3563  const QString& objectPath,
3564  QObject* parent = 0
3565  );
3566 
3574 
3583 
3592 
3600  {
3601  return internalRequestAllProperties();
3602  }
3603 
3604 public Q_SLOTS:
3667  inline QDBusPendingReply<> UpdateCapabilities(const Tp::HandlerCapabilitiesList& handlerCapabilities, int timeout = -1)
3668  {
3669  if (!invalidationReason().isEmpty()) {
3670  return QDBusPendingReply<>(QDBusMessage::createError(
3671  invalidationReason(),
3672  invalidationMessage()
3673  ));
3674  }
3675 
3676  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3677  this->staticInterfaceName(), QLatin1String("UpdateCapabilities"));
3678  callMessage << QVariant::fromValue(handlerCapabilities);
3679  return this->connection().asyncCall(callMessage, timeout);
3680  }
3681 
3717  inline QDBusPendingReply<Tp::ContactCapabilitiesMap> GetContactCapabilities(const Tp::UIntList& handles, int timeout = -1)
3718  {
3719  if (!invalidationReason().isEmpty()) {
3720  return QDBusPendingReply<Tp::ContactCapabilitiesMap>(QDBusMessage::createError(
3721  invalidationReason(),
3722  invalidationMessage()
3723  ));
3724  }
3725 
3726  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3727  this->staticInterfaceName(), QLatin1String("GetContactCapabilities"));
3728  callMessage << QVariant::fromValue(handles);
3729  return this->connection().asyncCall(callMessage, timeout);
3730  }
3731 
3732 Q_SIGNALS:
3753  void ContactCapabilitiesChanged(const Tp::ContactCapabilitiesMap& caps);
3754 
3755 protected:
3756  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
3757 };
3758 
3767 {
3768  Q_OBJECT
3769 
3770 public:
3777  static inline QLatin1String staticInterfaceName()
3778  {
3779  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ContactGroups");
3780  }
3781 
3790  const QString& busName,
3791  const QString& objectPath,
3792  QObject* parent = 0
3793  );
3794 
3804  const QDBusConnection& connection,
3805  const QString& busName,
3806  const QString& objectPath,
3807  QObject* parent = 0
3808  );
3809 
3817 
3826 
3834  ConnectionInterfaceContactGroupsInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
3835 
3853  {
3854  return internalRequestProperty(QLatin1String("DisjointGroups"));
3855  }
3856 
3870  {
3871  return internalRequestProperty(QLatin1String("GroupStorage"));
3872  }
3873 
3898  {
3899  return internalRequestProperty(QLatin1String("Groups"));
3900  }
3901 
3909  {
3910  return internalRequestAllProperties();
3911  }
3912 
3913 public Q_SLOTS:
3962  inline QDBusPendingReply<> SetContactGroups(uint contact, const QStringList& groups, int timeout = -1)
3963  {
3964  if (!invalidationReason().isEmpty()) {
3965  return QDBusPendingReply<>(QDBusMessage::createError(
3966  invalidationReason(),
3967  invalidationMessage()
3968  ));
3969  }
3970 
3971  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3972  this->staticInterfaceName(), QLatin1String("SetContactGroups"));
3973  callMessage << QVariant::fromValue(contact) << QVariant::fromValue(groups);
3974  return this->connection().asyncCall(callMessage, timeout);
3975  }
3976 
4024  inline QDBusPendingReply<> SetGroupMembers(const QString& group, const Tp::UIntList& members, int timeout = -1)
4025  {
4026  if (!invalidationReason().isEmpty()) {
4027  return QDBusPendingReply<>(QDBusMessage::createError(
4028  invalidationReason(),
4029  invalidationMessage()
4030  ));
4031  }
4032 
4033  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4034  this->staticInterfaceName(), QLatin1String("SetGroupMembers"));
4035  callMessage << QVariant::fromValue(group) << QVariant::fromValue(members);
4036  return this->connection().asyncCall(callMessage, timeout);
4037  }
4038 
4079  inline QDBusPendingReply<> AddToGroup(const QString& group, const Tp::UIntList& members, int timeout = -1)
4080  {
4081  if (!invalidationReason().isEmpty()) {
4082  return QDBusPendingReply<>(QDBusMessage::createError(
4083  invalidationReason(),
4084  invalidationMessage()
4085  ));
4086  }
4087 
4088  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4089  this->staticInterfaceName(), QLatin1String("AddToGroup"));
4090  callMessage << QVariant::fromValue(group) << QVariant::fromValue(members);
4091  return this->connection().asyncCall(callMessage, timeout);
4092  }
4093 
4133  inline QDBusPendingReply<> RemoveFromGroup(const QString& group, const Tp::UIntList& members, int timeout = -1)
4134  {
4135  if (!invalidationReason().isEmpty()) {
4136  return QDBusPendingReply<>(QDBusMessage::createError(
4137  invalidationReason(),
4138  invalidationMessage()
4139  ));
4140  }
4141 
4142  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4143  this->staticInterfaceName(), QLatin1String("RemoveFromGroup"));
4144  callMessage << QVariant::fromValue(group) << QVariant::fromValue(members);
4145  return this->connection().asyncCall(callMessage, timeout);
4146  }
4147 
4176  inline QDBusPendingReply<> RemoveGroup(const QString& group, int timeout = -1)
4177  {
4178  if (!invalidationReason().isEmpty()) {
4179  return QDBusPendingReply<>(QDBusMessage::createError(
4180  invalidationReason(),
4181  invalidationMessage()
4182  ));
4183  }
4184 
4185  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4186  this->staticInterfaceName(), QLatin1String("RemoveGroup"));
4187  callMessage << QVariant::fromValue(group);
4188  return this->connection().asyncCall(callMessage, timeout);
4189  }
4190 
4230  inline QDBusPendingReply<> RenameGroup(const QString& oldName, const QString& newName, int timeout = -1)
4231  {
4232  if (!invalidationReason().isEmpty()) {
4233  return QDBusPendingReply<>(QDBusMessage::createError(
4234  invalidationReason(),
4235  invalidationMessage()
4236  ));
4237  }
4238 
4239  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4240  this->staticInterfaceName(), QLatin1String("RenameGroup"));
4241  callMessage << QVariant::fromValue(oldName) << QVariant::fromValue(newName);
4242  return this->connection().asyncCall(callMessage, timeout);
4243  }
4244 
4245 Q_SIGNALS:
4263  void GroupsChanged(const Tp::UIntList& contact, const QStringList& added, const QStringList& removed);
4264 
4275  void GroupsCreated(const QStringList& names);
4276 
4324  void GroupRenamed(const QString& oldName, const QString& newName);
4325 
4352  void GroupsRemoved(const QStringList& names);
4353 
4354 protected:
4355  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
4356 };
4357 
4366 {
4367  Q_OBJECT
4368 
4369 public:
4376  static inline QLatin1String staticInterfaceName()
4377  {
4378  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ContactInfo");
4379  }
4380 
4389  const QString& busName,
4390  const QString& objectPath,
4391  QObject* parent = 0
4392  );
4393 
4403  const QDBusConnection& connection,
4404  const QString& busName,
4405  const QString& objectPath,
4406  QObject* parent = 0
4407  );
4408 
4416 
4425 
4433  ConnectionInterfaceContactInfoInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
4434 
4459  {
4460  return internalRequestProperty(QLatin1String("ContactInfoFlags"));
4461  }
4462 
4521  {
4522  return internalRequestProperty(QLatin1String("SupportedFields"));
4523  }
4524 
4532  {
4533  return internalRequestAllProperties();
4534  }
4535 
4536 public Q_SLOTS:
4559  inline QDBusPendingReply<Tp::ContactInfoMap> GetContactInfo(const Tp::UIntList& contacts, int timeout = -1)
4560  {
4561  if (!invalidationReason().isEmpty()) {
4562  return QDBusPendingReply<Tp::ContactInfoMap>(QDBusMessage::createError(
4563  invalidationReason(),
4564  invalidationMessage()
4565  ));
4566  }
4567 
4568  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4569  this->staticInterfaceName(), QLatin1String("GetContactInfo"));
4570  callMessage << QVariant::fromValue(contacts);
4571  return this->connection().asyncCall(callMessage, timeout);
4572  }
4573 
4593  inline QDBusPendingReply<> RefreshContactInfo(const Tp::UIntList& contacts, int timeout = -1)
4594  {
4595  if (!invalidationReason().isEmpty()) {
4596  return QDBusPendingReply<>(QDBusMessage::createError(
4597  invalidationReason(),
4598  invalidationMessage()
4599  ));
4600  }
4601 
4602  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4603  this->staticInterfaceName(), QLatin1String("RefreshContactInfo"));
4604  callMessage << QVariant::fromValue(contacts);
4605  return this->connection().asyncCall(callMessage, timeout);
4606  }
4607 
4629  inline QDBusPendingReply<Tp::ContactInfoFieldList> RequestContactInfo(uint contact, int timeout = -1)
4630  {
4631  if (!invalidationReason().isEmpty()) {
4632  return QDBusPendingReply<Tp::ContactInfoFieldList>(QDBusMessage::createError(
4633  invalidationReason(),
4634  invalidationMessage()
4635  ));
4636  }
4637 
4638  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4639  this->staticInterfaceName(), QLatin1String("RequestContactInfo"));
4640  callMessage << QVariant::fromValue(contact);
4641  return this->connection().asyncCall(callMessage, timeout);
4642  }
4643 
4661  inline QDBusPendingReply<> SetContactInfo(const Tp::ContactInfoFieldList& contactInfo, int timeout = -1)
4662  {
4663  if (!invalidationReason().isEmpty()) {
4664  return QDBusPendingReply<>(QDBusMessage::createError(
4665  invalidationReason(),
4666  invalidationMessage()
4667  ));
4668  }
4669 
4670  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4671  this->staticInterfaceName(), QLatin1String("SetContactInfo"));
4672  callMessage << QVariant::fromValue(contactInfo);
4673  return this->connection().asyncCall(callMessage, timeout);
4674  }
4675 
4676 Q_SIGNALS:
4693  void ContactInfoChanged(uint contact, const Tp::ContactInfoFieldList& contactInfo);
4694 
4695 protected:
4696  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
4697 };
4698 
4707 {
4708  Q_OBJECT
4709 
4710 public:
4717  static inline QLatin1String staticInterfaceName()
4718  {
4719  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ContactList");
4720  }
4721 
4730  const QString& busName,
4731  const QString& objectPath,
4732  QObject* parent = 0
4733  );
4734 
4744  const QDBusConnection& connection,
4745  const QString& busName,
4746  const QString& objectPath,
4747  QObject* parent = 0
4748  );
4749 
4757 
4766 
4774  ConnectionInterfaceContactListInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
4775 
4787  {
4788  return internalRequestProperty(QLatin1String("ContactListState"));
4789  }
4790 
4851  {
4852  return internalRequestProperty(QLatin1String("ContactListPersists"));
4853  }
4854 
4884  {
4885  return internalRequestProperty(QLatin1String("CanChangeContactList"));
4886  }
4887 
4917  {
4918  return internalRequestProperty(QLatin1String("RequestUsesMessage"));
4919  }
4920 
4953  {
4954  return internalRequestProperty(QLatin1String("DownloadAtConnection"));
4955  }
4956 
4964  {
4965  return internalRequestAllProperties();
4966  }
4967 
4968 public Q_SLOTS:
5040  inline QDBusPendingReply<Tp::ContactAttributesMap> GetContactListAttributes(const QStringList& interfaces, bool hold, int timeout = -1)
5041  {
5042  if (!invalidationReason().isEmpty()) {
5043  return QDBusPendingReply<Tp::ContactAttributesMap>(QDBusMessage::createError(
5044  invalidationReason(),
5045  invalidationMessage()
5046  ));
5047  }
5048 
5049  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5050  this->staticInterfaceName(), QLatin1String("GetContactListAttributes"));
5051  callMessage << QVariant::fromValue(interfaces) << QVariant::fromValue(hold);
5052  return this->connection().asyncCall(callMessage, timeout);
5053  }
5054 
5165  inline QDBusPendingReply<> RequestSubscription(const Tp::UIntList& contacts, const QString& message, int timeout = -1)
5166  {
5167  if (!invalidationReason().isEmpty()) {
5168  return QDBusPendingReply<>(QDBusMessage::createError(
5169  invalidationReason(),
5170  invalidationMessage()
5171  ));
5172  }
5173 
5174  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5175  this->staticInterfaceName(), QLatin1String("RequestSubscription"));
5176  callMessage << QVariant::fromValue(contacts) << QVariant::fromValue(message);
5177  return this->connection().asyncCall(callMessage, timeout);
5178  }
5179 
5251  inline QDBusPendingReply<> AuthorizePublication(const Tp::UIntList& contacts, int timeout = -1)
5252  {
5253  if (!invalidationReason().isEmpty()) {
5254  return QDBusPendingReply<>(QDBusMessage::createError(
5255  invalidationReason(),
5256  invalidationMessage()
5257  ));
5258  }
5259 
5260  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5261  this->staticInterfaceName(), QLatin1String("AuthorizePublication"));
5262  callMessage << QVariant::fromValue(contacts);
5263  return this->connection().asyncCall(callMessage, timeout);
5264  }
5265 
5315  inline QDBusPendingReply<> RemoveContacts(const Tp::UIntList& contacts, int timeout = -1)
5316  {
5317  if (!invalidationReason().isEmpty()) {
5318  return QDBusPendingReply<>(QDBusMessage::createError(
5319  invalidationReason(),
5320  invalidationMessage()
5321  ));
5322  }
5323 
5324  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5325  this->staticInterfaceName(), QLatin1String("RemoveContacts"));
5326  callMessage << QVariant::fromValue(contacts);
5327  return this->connection().asyncCall(callMessage, timeout);
5328  }
5329 
5366  inline QDBusPendingReply<> Unsubscribe(const Tp::UIntList& contacts, int timeout = -1)
5367  {
5368  if (!invalidationReason().isEmpty()) {
5369  return QDBusPendingReply<>(QDBusMessage::createError(
5370  invalidationReason(),
5371  invalidationMessage()
5372  ));
5373  }
5374 
5375  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5376  this->staticInterfaceName(), QLatin1String("Unsubscribe"));
5377  callMessage << QVariant::fromValue(contacts);
5378  return this->connection().asyncCall(callMessage, timeout);
5379  }
5380 
5417  inline QDBusPendingReply<> Unpublish(const Tp::UIntList& contacts, int timeout = -1)
5418  {
5419  if (!invalidationReason().isEmpty()) {
5420  return QDBusPendingReply<>(QDBusMessage::createError(
5421  invalidationReason(),
5422  invalidationMessage()
5423  ));
5424  }
5425 
5426  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5427  this->staticInterfaceName(), QLatin1String("Unpublish"));
5428  callMessage << QVariant::fromValue(contacts);
5429  return this->connection().asyncCall(callMessage, timeout);
5430  }
5431 
5446  inline QDBusPendingReply<> Download(int timeout = -1)
5447  {
5448  if (!invalidationReason().isEmpty()) {
5449  return QDBusPendingReply<>(QDBusMessage::createError(
5450  invalidationReason(),
5451  invalidationMessage()
5452  ));
5453  }
5454 
5455  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5456  this->staticInterfaceName(), QLatin1String("Download"));
5457  return this->connection().asyncCall(callMessage, timeout);
5458  }
5459 
5460 Q_SIGNALS:
5470  void ContactListStateChanged(uint contactListState);
5471 
5522  void ContactsChangedWithID(const Tp::ContactSubscriptionMap& changes, const Tp::HandleIdentifierMap& identifiers, const Tp::HandleIdentifierMap& removals);
5523 
5546  void ContactsChanged(const Tp::ContactSubscriptionMap& changes, const Tp::UIntList& removals);
5547 
5548 protected:
5549  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
5550 };
5551 
5560 {
5561  Q_OBJECT
5562 
5563 public:
5570  static inline QLatin1String staticInterfaceName()
5571  {
5572  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Contacts");
5573  }
5574 
5583  const QString& busName,
5584  const QString& objectPath,
5585  QObject* parent = 0
5586  );
5587 
5597  const QDBusConnection& connection,
5598  const QString& busName,
5599  const QString& objectPath,
5600  QObject* parent = 0
5601  );
5602 
5610 
5619 
5627  ConnectionInterfaceContactsInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
5628 
5640  {
5641  return internalRequestProperty(QLatin1String("ContactAttributeInterfaces"));
5642  }
5643 
5651  {
5652  return internalRequestAllProperties();
5653  }
5654 
5655 public Q_SLOTS:
5738  inline QDBusPendingReply<Tp::ContactAttributesMap> GetContactAttributes(const Tp::UIntList& handles, const QStringList& interfaces, bool hold, int timeout = -1)
5739  {
5740  if (!invalidationReason().isEmpty()) {
5741  return QDBusPendingReply<Tp::ContactAttributesMap>(QDBusMessage::createError(
5742  invalidationReason(),
5743  invalidationMessage()
5744  ));
5745  }
5746 
5747  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5748  this->staticInterfaceName(), QLatin1String("GetContactAttributes"));
5749  callMessage << QVariant::fromValue(handles) << QVariant::fromValue(interfaces) << QVariant::fromValue(hold);
5750  return this->connection().asyncCall(callMessage, timeout);
5751  }
5752 
5801  inline QDBusPendingReply<uint, QVariantMap> GetContactByID(const QString& identifier, const QStringList& interfaces, int timeout = -1)
5802  {
5803  if (!invalidationReason().isEmpty()) {
5804  return QDBusPendingReply<uint, QVariantMap>(QDBusMessage::createError(
5805  invalidationReason(),
5806  invalidationMessage()
5807  ));
5808  }
5809 
5810  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5811  this->staticInterfaceName(), QLatin1String("GetContactByID"));
5812  callMessage << QVariant::fromValue(identifier) << QVariant::fromValue(interfaces);
5813  return this->connection().asyncCall(callMessage, timeout);
5814  }
5815 
5816 protected:
5817  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
5818 };
5819 
5828 {
5829  Q_OBJECT
5830 
5831 public:
5838  static inline QLatin1String staticInterfaceName()
5839  {
5840  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Location");
5841  }
5842 
5851  const QString& busName,
5852  const QString& objectPath,
5853  QObject* parent = 0
5854  );
5855 
5865  const QDBusConnection& connection,
5866  const QString& busName,
5867  const QString& objectPath,
5868  QObject* parent = 0
5869  );
5870 
5878 
5887 
5895  ConnectionInterfaceLocationInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
5896 
5907  {
5908  return internalRequestProperty(QLatin1String("LocationAccessControlTypes"));
5909  }
5910 
5924  {
5925  return internalRequestProperty(QLatin1String("LocationAccessControl"));
5926  }
5927 
5941  {
5942  return internalSetProperty(QLatin1String("LocationAccessControl"), QVariant::fromValue(newValue));
5943  }
5944 
5959  {
5960  return internalRequestProperty(QLatin1String("SupportedLocationFeatures"));
5961  }
5962 
5970  {
5971  return internalRequestAllProperties();
5972  }
5973 
5974 public Q_SLOTS:
6015  inline QDBusPendingReply<Tp::ContactLocations> GetLocations(const Tp::UIntList& contacts, int timeout = -1)
6016  {
6017  if (!invalidationReason().isEmpty()) {
6018  return QDBusPendingReply<Tp::ContactLocations>(QDBusMessage::createError(
6019  invalidationReason(),
6020  invalidationMessage()
6021  ));
6022  }
6023 
6024  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6025  this->staticInterfaceName(), QLatin1String("GetLocations"));
6026  callMessage << QVariant::fromValue(contacts);
6027  return this->connection().asyncCall(callMessage, timeout);
6028  }
6029 
6054  inline QDBusPendingReply<QVariantMap> RequestLocation(uint contact, int timeout = -1)
6055  {
6056  if (!invalidationReason().isEmpty()) {
6057  return QDBusPendingReply<QVariantMap>(QDBusMessage::createError(
6058  invalidationReason(),
6059  invalidationMessage()
6060  ));
6061  }
6062 
6063  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6064  this->staticInterfaceName(), QLatin1String("RequestLocation"));
6065  callMessage << QVariant::fromValue(contact);
6066  return this->connection().asyncCall(callMessage, timeout);
6067  }
6068 
6090  inline QDBusPendingReply<> SetLocation(const QVariantMap& location, int timeout = -1)
6091  {
6092  if (!invalidationReason().isEmpty()) {
6093  return QDBusPendingReply<>(QDBusMessage::createError(
6094  invalidationReason(),
6095  invalidationMessage()
6096  ));
6097  }
6098 
6099  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6100  this->staticInterfaceName(), QLatin1String("SetLocation"));
6101  callMessage << QVariant::fromValue(location);
6102  return this->connection().asyncCall(callMessage, timeout);
6103  }
6104 
6105 Q_SIGNALS:
6120  void LocationUpdated(uint contact, const QVariantMap& location);
6121 
6122 protected:
6123  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
6124 };
6125 
6134 {
6135  Q_OBJECT
6136 
6137 public:
6144  static inline QLatin1String staticInterfaceName()
6145  {
6146  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.MailNotification");
6147  }
6148 
6157  const QString& busName,
6158  const QString& objectPath,
6159  QObject* parent = 0
6160  );
6161 
6171  const QDBusConnection& connection,
6172  const QString& busName,
6173  const QString& objectPath,
6174  QObject* parent = 0
6175  );
6176 
6184 
6193 
6202 
6218  {
6219  return internalRequestProperty(QLatin1String("MailNotificationFlags"));
6220  }
6221 
6247  {
6248  return internalRequestProperty(QLatin1String("UnreadMailCount"));
6249  }
6250 
6268  {
6269  return internalRequestProperty(QLatin1String("UnreadMails"));
6270  }
6271 
6287  {
6288  return internalRequestProperty(QLatin1String("MailAddress"));
6289  }
6290 
6298  {
6299  return internalRequestAllProperties();
6300  }
6301 
6302 public Q_SLOTS:
6326  inline QDBusPendingReply<Tp::MailURL> RequestInboxURL(int timeout = -1)
6327  {
6328  if (!invalidationReason().isEmpty()) {
6329  return QDBusPendingReply<Tp::MailURL>(QDBusMessage::createError(
6330  invalidationReason(),
6331  invalidationMessage()
6332  ));
6333  }
6334 
6335  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6336  this->staticInterfaceName(), QLatin1String("RequestInboxURL"));
6337  return this->connection().asyncCall(callMessage, timeout);
6338  }
6339 
6369  inline QDBusPendingReply<Tp::MailURL> RequestMailURL(const QString& ID, const QDBusVariant& URLData, int timeout = -1)
6370  {
6371  if (!invalidationReason().isEmpty()) {
6372  return QDBusPendingReply<Tp::MailURL>(QDBusMessage::createError(
6373  invalidationReason(),
6374  invalidationMessage()
6375  ));
6376  }
6377 
6378  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6379  this->staticInterfaceName(), QLatin1String("RequestMailURL"));
6380  callMessage << QVariant::fromValue(ID) << QVariant::fromValue(URLData);
6381  return this->connection().asyncCall(callMessage, timeout);
6382  }
6383 
6384 Q_SIGNALS:
6407  void MailsReceived(const Tp::MailList& mails);
6408 
6450  void UnreadMailsChanged(uint count, const Tp::MailList& mailsAdded, const QStringList& mailsRemoved);
6451 
6452 protected:
6453  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
6454 };
6455 
6464 {
6465  Q_OBJECT
6466 
6467 public:
6474  static inline QLatin1String staticInterfaceName()
6475  {
6476  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.PowerSaving");
6477  }
6478 
6487  const QString& busName,
6488  const QString& objectPath,
6489  QObject* parent = 0
6490  );
6491 
6501  const QDBusConnection& connection,
6502  const QString& busName,
6503  const QString& objectPath,
6504  QObject* parent = 0
6505  );
6506 
6514 
6523 
6531  ConnectionInterfacePowerSavingInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
6532 
6549  {
6550  return internalRequestProperty(QLatin1String("PowerSavingActive"));
6551  }
6552 
6560  {
6561  return internalRequestAllProperties();
6562  }
6563 
6564 public Q_SLOTS:
6598  inline QDBusPendingReply<> SetPowerSaving(bool activate, int timeout = -1)
6599  {
6600  if (!invalidationReason().isEmpty()) {
6601  return QDBusPendingReply<>(QDBusMessage::createError(
6602  invalidationReason(),
6603  invalidationMessage()
6604  ));
6605  }
6606 
6607  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6608  this->staticInterfaceName(), QLatin1String("SetPowerSaving"));
6609  callMessage << QVariant::fromValue(activate);
6610  return this->connection().asyncCall(callMessage, timeout);
6611  }
6612 
6613 Q_SIGNALS:
6626  void PowerSavingChanged(bool active);
6627 
6628 protected:
6629  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
6630 };
6631 
6640 {
6641  Q_OBJECT
6642 
6643 public:
6650  static inline QLatin1String staticInterfaceName()
6651  {
6652  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Presence");
6653  }
6654 
6663  const QString& busName,
6664  const QString& objectPath,
6665  QObject* parent = 0
6666  );
6667 
6677  const QDBusConnection& connection,
6678  const QString& busName,
6679  const QString& objectPath,
6680  QObject* parent = 0
6681  );
6682 
6690 
6699 
6707  ConnectionInterfacePresenceInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
6708 
6716  {
6717  return internalRequestAllProperties();
6718  }
6719 
6720 public Q_SLOTS:
6742  inline QDBusPendingReply<> AddStatus(const QString& status, const QVariantMap& parameters, int timeout = -1)
6743  {
6744  if (!invalidationReason().isEmpty()) {
6745  return QDBusPendingReply<>(QDBusMessage::createError(
6746  invalidationReason(),
6747  invalidationMessage()
6748  ));
6749  }
6750 
6751  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6752  this->staticInterfaceName(), QLatin1String("AddStatus"));
6753  callMessage << QVariant::fromValue(status) << QVariant::fromValue(parameters);
6754  return this->connection().asyncCall(callMessage, timeout);
6755  }
6756 
6770  inline QDBusPendingReply<> ClearStatus(int timeout = -1)
6771  {
6772  if (!invalidationReason().isEmpty()) {
6773  return QDBusPendingReply<>(QDBusMessage::createError(
6774  invalidationReason(),
6775  invalidationMessage()
6776  ));
6777  }
6778 
6779  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6780  this->staticInterfaceName(), QLatin1String("ClearStatus"));
6781  return this->connection().asyncCall(callMessage, timeout);
6782  }
6783 
6807  inline QDBusPendingReply<Tp::ContactPresences> GetPresence(const Tp::UIntList& contacts, int timeout = -1)
6808  {
6809  if (!invalidationReason().isEmpty()) {
6810  return QDBusPendingReply<Tp::ContactPresences>(QDBusMessage::createError(
6811  invalidationReason(),
6812  invalidationMessage()
6813  ));
6814  }
6815 
6816  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6817  this->staticInterfaceName(), QLatin1String("GetPresence"));
6818  callMessage << QVariant::fromValue(contacts);
6819  return this->connection().asyncCall(callMessage, timeout);
6820  }
6821 
6843  inline QDBusPendingReply<Tp::StatusSpecMap> GetStatuses(int timeout = -1)
6844  {
6845  if (!invalidationReason().isEmpty()) {
6846  return QDBusPendingReply<Tp::StatusSpecMap>(QDBusMessage::createError(
6847  invalidationReason(),
6848  invalidationMessage()
6849  ));
6850  }
6851 
6852  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6853  this->staticInterfaceName(), QLatin1String("GetStatuses"));
6854  return this->connection().asyncCall(callMessage, timeout);
6855  }
6856 
6875  inline QDBusPendingReply<> RemoveStatus(const QString& status, int timeout = -1)
6876  {
6877  if (!invalidationReason().isEmpty()) {
6878  return QDBusPendingReply<>(QDBusMessage::createError(
6879  invalidationReason(),
6880  invalidationMessage()
6881  ));
6882  }
6883 
6884  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6885  this->staticInterfaceName(), QLatin1String("RemoveStatus"));
6886  callMessage << QVariant::fromValue(status);
6887  return this->connection().asyncCall(callMessage, timeout);
6888  }
6889 
6908  inline QDBusPendingReply<> RequestPresence(const Tp::UIntList& contacts, int timeout = -1)
6909  {
6910  if (!invalidationReason().isEmpty()) {
6911  return QDBusPendingReply<>(QDBusMessage::createError(
6912  invalidationReason(),
6913  invalidationMessage()
6914  ));
6915  }
6916 
6917  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6918  this->staticInterfaceName(), QLatin1String("RequestPresence"));
6919  callMessage << QVariant::fromValue(contacts);
6920  return this->connection().asyncCall(callMessage, timeout);
6921  }
6922 
6938  inline QDBusPendingReply<> SetLastActivityTime(uint time, int timeout = -1)
6939  {
6940  if (!invalidationReason().isEmpty()) {
6941  return QDBusPendingReply<>(QDBusMessage::createError(
6942  invalidationReason(),
6943  invalidationMessage()
6944  ));
6945  }
6946 
6947  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6948  this->staticInterfaceName(), QLatin1String("SetLastActivityTime"));
6949  callMessage << QVariant::fromValue(time);
6950  return this->connection().asyncCall(callMessage, timeout);
6951  }
6952 
6990  inline QDBusPendingReply<> SetStatus(const Tp::MultipleStatusMap& statuses, int timeout = -1)
6991  {
6992  if (!invalidationReason().isEmpty()) {
6993  return QDBusPendingReply<>(QDBusMessage::createError(
6994  invalidationReason(),
6995  invalidationMessage()
6996  ));
6997  }
6998 
6999  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
7000  this->staticInterfaceName(), QLatin1String("SetStatus"));
7001  callMessage << QVariant::fromValue(statuses);
7002  return this->connection().asyncCall(callMessage, timeout);
7003  }
7004 
7005 Q_SIGNALS:
7022  void PresenceUpdate(const Tp::ContactPresences& presence);
7023 
7024 protected:
7025  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
7026 };
7027 
7036 {
7037  Q_OBJECT
7038 
7039 public:
7046  static inline QLatin1String staticInterfaceName()
7047  {
7048  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Requests");
7049  }
7050 
7059  const QString& busName,
7060  const QString& objectPath,
7061  QObject* parent = 0
7062  );
7063 
7073  const QDBusConnection& connection,
7074  const QString& busName,
7075  const QString& objectPath,
7076  QObject* parent = 0
7077  );
7078 
7086 
7095 
7103  ConnectionInterfaceRequestsInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
7104 
7116  {
7117  return internalRequestProperty(QLatin1String("Channels"));
7118  }
7119 
7150  {
7151  return internalRequestProperty(QLatin1String("RequestableChannelClasses"));
7152  }
7153 
7161  {
7162  return internalRequestAllProperties();
7163  }
7164 
7165 public Q_SLOTS:
7247  inline QDBusPendingReply<QDBusObjectPath, QVariantMap> CreateChannel(const QVariantMap& request, int timeout = -1)
7248  {
7249  if (!invalidationReason().isEmpty()) {
7250  return QDBusPendingReply<QDBusObjectPath, QVariantMap>(QDBusMessage::createError(
7251  invalidationReason(),
7252  invalidationMessage()
7253  ));
7254  }
7255 
7256  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
7257  this->staticInterfaceName(), QLatin1String("CreateChannel"));
7258  callMessage << QVariant::fromValue(request);
7259  return this->connection().asyncCall(callMessage, timeout);
7260  }
7261 
7326  inline QDBusPendingReply<bool, QDBusObjectPath, QVariantMap> EnsureChannel(const QVariantMap& request, int timeout = -1)
7327  {
7328  if (!invalidationReason().isEmpty()) {
7329  return QDBusPendingReply<bool, QDBusObjectPath, QVariantMap>(QDBusMessage::createError(
7330  invalidationReason(),
7331  invalidationMessage()
7332  ));
7333  }
7334 
7335  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
7336  this->staticInterfaceName(), QLatin1String("EnsureChannel"));
7337  callMessage << QVariant::fromValue(request);
7338  return this->connection().asyncCall(callMessage, timeout);
7339  }
7340 
7341 Q_SIGNALS:
7385  void NewChannels(const Tp::ChannelDetailsList& channels);
7386 
7399  void ChannelClosed(const QDBusObjectPath& removed);
7400 
7401 protected:
7402  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
7403 };
7404 
7413 {
7414  Q_OBJECT
7415 
7416 public:
7423  static inline QLatin1String staticInterfaceName()
7424  {
7425  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ServicePoint");
7426  }
7427 
7436  const QString& busName,
7437  const QString& objectPath,
7438  QObject* parent = 0
7439  );
7440 
7450  const QDBusConnection& connection,
7451  const QString& busName,
7452  const QString& objectPath,
7453  QObject* parent = 0
7454  );
7455 
7463 
7472 
7480  ConnectionInterfaceServicePointInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
7481 
7494  {
7495  return internalRequestProperty(QLatin1String("KnownServicePoints"));
7496  }
7497 
7505  {
7506  return internalRequestAllProperties();
7507  }
7508 
7509 Q_SIGNALS:
7523  void ServicePointsChanged(const Tp::ServicePointInfoList& servicePoints);
7524 
7525 protected:
7526  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
7527 };
7528 
7537 {
7538  Q_OBJECT
7539 
7540 public:
7547  static inline QLatin1String staticInterfaceName()
7548  {
7549  return QLatin1String("org.freedesktop.Telepathy.Connection.Interface.SimplePresence");
7550  }
7551 
7560  const QString& busName,
7561  const QString& objectPath,
7562  QObject* parent = 0
7563  );
7564 
7574  const QDBusConnection& connection,
7575  const QString& busName,
7576  const QString& objectPath,
7577  QObject* parent = 0
7578  );
7579 
7587 
7596 
7604  ConnectionInterfaceSimplePresenceInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject* parent);
7605 
7648  {
7649  return internalRequestProperty(QLatin1String("Statuses"));
7650  }
7651 
7697  {
7698  return internalRequestProperty(QLatin1String("MaximumStatusMessageLength"));
7699  }
7700 
7708  {
7709  return internalRequestAllProperties();
7710  }
7711 
7712 public Q_SLOTS:
7776  inline QDBusPendingReply<> SetPresence(const QString& status, const QString& statusMessage, int timeout = -1)
7777  {
7778  if (!invalidationReason().isEmpty()) {
7779  return QDBusPendingReply<>(QDBusMessage::createError(
7780  invalidationReason(),
7781  invalidationMessage()
7782  ));
7783  }
7784 
7785  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
7786  this->staticInterfaceName(), QLatin1String("SetPresence"));
7787  callMessage << QVariant::fromValue(status) << QVariant::fromValue(statusMessage);
7788  return this->connection().asyncCall(callMessage, timeout);
7789  }
7790 
7822  inline QDBusPendingReply<Tp::SimpleContactPresences> GetPresences(const Tp::UIntList& contacts, int timeout = -1)
7823  {
7824  if (!invalidationReason().isEmpty()) {
7825  return QDBusPendingReply<Tp::SimpleContactPresences>(QDBusMessage::createError(
7826  invalidationReason(),
7827  invalidationMessage()
7828  ));
7829  }
7830 
7831  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
7832  this->staticInterfaceName(), QLatin1String("GetPresences"));
7833  callMessage << QVariant::fromValue(contacts);
7834  return this->connection().asyncCall(callMessage, timeout);
7835  }
7836 
7837 Q_SIGNALS:
7850  void PresencesChanged(const Tp::SimpleContactPresences& presence);
7851 
7852 protected:
7853  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
7854 };
7855 }
7856 }
7857 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterface*)
Tp::PendingVariant * requestPropertyMailNotificationFlags() const
Definition: cli-connection.h:6217
QDBusPendingReply SetContactGroups(uint contact, const QStringList &groups, int timeout=-1)
Definition: cli-connection.h:3962
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:5650
QDBusPendingReply SetPresence(const QString &status, const QString &statusMessage, int timeout=-1)
Definition: cli-connection.h:7776
Tp::PendingVariant * requestPropertyMaximumAvatarWidth() const
Definition: cli-connection.h:1939
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:1049
Tp::PendingVariant * requestPropertySupportedLocationFeatures() const
Definition: cli-connection.h:5958
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
QDBusPendingReply< Tp::ContactCapabilityList > GetCapabilities(const Tp::UIntList &handles, int timeout=-1)
Definition: cli-connection.h:2624
Tp::PendingVariant * requestPropertyMinimumAvatarWidth() const
Definition: cli-connection.h:1871
Definition: build/TelepathyQt/_gen/types.h:3514
Definition: build/TelepathyQt/_gen/types.h:3437
Tp::PendingOperation * setPropertyMessageNationalCharacterSet(QString newValue)
Definition: cli-connection.h:3010
QDBusPendingReply Unpublish(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:5417
QDBusPendingReply SetAliases(const Tp::AliasMap &aliases, int timeout=-1)
Definition: cli-connection.h:1520
QDBusPendingReply< Tp::ContactInfoMap > GetContactInfo(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:4559
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:1114
QDBusPendingReply< QString > GetProtocol(int timeout=-1)
Definition: cli-connection.h:325
QList< CapabilityPair > CapabilityPairList
Definition: build/TelepathyQt/_gen/types.h:563
QDBusPendingReply< QDBusObjectPath, QVariantMap > CreateChannel(const QVariantMap &request, int timeout=-1)
Definition: cli-connection.h:7247
QDBusPendingReply< QStringList > GetAvatarTokens(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:2041
QDBusPendingReply< Tp::AddressingNormalizationMap, Tp::ContactAttributesMap > GetContactsByURI(const QStringList &URIs, const QStringList &interfaces, int timeout=-1)
Definition: cli-connection.h:1294
QDBusPendingReply HoldHandles(uint handleType, const Tp::UIntList &handles, int timeout=-1)
Definition: cli-connection.h:438
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:4376
QDBusPendingReply< Tp::ContactAttributesMap > GetContactAttributes(const Tp::UIntList &handles, const QStringList &interfaces, bool hold, int timeout=-1)
Definition: cli-connection.h:5738
Definition: cli-connection.h:44
QDBusPendingReply SetStatus(const Tp::MultipleStatusMap &statuses, int timeout=-1)
Definition: cli-connection.h:6990
Tp::PendingVariant * requestPropertySelfHandle() const
Definition: cli-connection.h:145
QDBusPendingReply Connect(int timeout=-1)
Definition: cli-connection.h:239
QDBusPendingReply< Tp::AvatarTokenMap > GetKnownAvatarTokens(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:2083
QDBusPendingReply< QStringList, ushort, ushort, ushort, ushort, uint > GetAvatarRequirements(int timeout=-1)
Definition: cli-connection.h:2006
Tp::PendingVariant * requestPropertyInterfaces() const
Definition: cli-connection.h:127
QDBusPendingReply ReleaseHandles(uint handleType, const Tp::UIntList &handles, int timeout=-1)
Definition: cli-connection.h:544
QDBusPendingReply< QStringList > RequestClientTypes(uint contact, int timeout=-1)
Definition: cli-connection.h:3204
Tp::PendingVariant * requestPropertyStatuses() const
Definition: cli-connection.h:7647
QList< AliasPair > AliasPairList
Definition: build/TelepathyQt/_gen/types.h:233
Tp::PendingVariant * requestPropertyCanChangeContactList() const
Definition: cli-connection.h:4883
Tp::PendingVariant * requestPropertyMessageReducedCharacterSet() const
Definition: cli-connection.h:2927
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:3344
QDBusPendingReply SetContactInfo(const Tp::ContactInfoFieldList &contactInfo, int timeout=-1)
Definition: cli-connection.h:4661
Definition: build/TelepathyQt/_gen/types.h:1655
QDBusPendingReply< Tp::SimpleContactPresences > GetPresences(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:7822
QList< ChannelDetails > ChannelDetailsList
Definition: build/TelepathyQt/_gen/types.h:829
Tp::PendingVariant * requestPropertyIMSI() const
Definition: cli-connection.h:2904
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:2690
Tp::PendingOperation * setPropertyAnonymityModes(uint newValue)
Definition: cli-connection.h:1719
QDBusPendingReply< QDBusObjectPath > RequestChannel(const QString &type, uint handleType, uint handle, bool suppressHandler, int timeout=-1)
Definition: cli-connection.h:638
QDBusPendingReply AuthorizePublication(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:5251
Tp::PendingVariant * requestPropertyLocationAccessControlTypes() const
Definition: cli-connection.h:5906
Tp::PendingVariant * requestPropertyGroupStorage() const
Definition: cli-connection.h:3869
Definition: cli-connection.h:1565
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:4717
Tp::PendingVariant * requestPropertyUnreadMails() const
Definition: cli-connection.h:6267
Tp::PendingVariant * requestPropertyContactListPersists() const
Definition: cli-connection.h:4850
QDBusPendingReply< QVariantMap > RequestLocation(uint contact, int timeout=-1)
Definition: cli-connection.h:6054
QDBusPendingReply Download(int timeout=-1)
Definition: cli-connection.h:5446
Tp::PendingVariant * requestPropertyMessageValidityPeriod() const
Definition: cli-connection.h:2767
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:55
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:7046
QList< ContactInfoField > ContactInfoFieldList
Definition: build/TelepathyQt/_gen/types.h:1197
QDBusPendingReply< bool, QDBusObjectPath, QVariantMap > EnsureChannel(const QVariantMap &request, int timeout=-1)
Definition: cli-connection.h:7326
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:216
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:6715
Tp::PendingVariant * requestPropertyContactListState() const
Definition: cli-connection.h:4786
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
Tp::PendingVariant * requestPropertyRequestUsesMessage() const
Definition: cli-connection.h:4916
Tp::PendingVariant * requestPropertyStatus() const
Definition: cli-connection.h:186
Tp::PendingOperation * setPropertyMessageServiceCentre(QString newValue)
Definition: cli-connection.h:2886
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:2516
QDBusPendingReply< Tp::ChannelInfoList > ListChannels(int timeout=-1)
Definition: cli-connection.h:505
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:3908
QDBusPendingReply RequestSubscription(const Tp::UIntList &contacts, const QString &message, int timeout=-1)
Definition: cli-connection.h:5165
Tp::PendingVariant * requestPropertyMinimumAvatarHeight() const
Definition: cli-connection.h:1855
QDBusPendingReply RemoveFromGroup(const QString &group, const Tp::UIntList &members, int timeout=-1)
Definition: cli-connection.h:4133
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:3534
Definition: build/TelepathyQt/_gen/types.h:3836
QDBusPendingReply AddClientInterest(const QStringList &tokens, int timeout=-1)
Definition: cli-connection.h:801
QDBusPendingReply< uint > GetStatus(int timeout=-1)
Definition: cli-connection.h:382
Tp::PendingVariant * requestPropertyUnreadMailCount() const
Definition: cli-connection.h:6246
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:7160
Tp::PendingVariant * requestPropertyMaximumAvatarBytes() const
Definition: cli-connection.h:1955
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:2451
Tp::PendingVariant * requestPropertyLocationAccessControl() const
Definition: cli-connection.h:5923
Tp::PendingVariant * requestPropertyRequestableChannelClasses() const
Definition: cli-connection.h:7149
QDBusPendingReply RequestPresence(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:6908
QDBusPendingReply RemoveContacts(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:5315
Tp::PendingVariant * requestPropertyMessageServiceCentre() const
Definition: cli-connection.h:2865
Tp::PendingVariant * requestPropertySupportedFields() const
Definition: cli-connection.h:4520
QDBusPendingReply SetLocation(const QVariantMap &location, int timeout=-1)
Definition: cli-connection.h:6090
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:4963
QDBusPendingReply SetLastActivityTime(uint time, int timeout=-1)
Definition: cli-connection.h:6938
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:1576
QDBusPendingReply RequestAvatars(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:2155
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:3258
Tp::PendingVariant * requestPropertyDownloadAtConnection() const
Definition: cli-connection.h:4952
Tp::PendingVariant * requestPropertyAnonymityMandatory() const
Definition: cli-connection.h:1665
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:1331
QDBusPendingReply< QString > SetAvatar(const QByteArray &avatar, const QString &MIMEType, int timeout=-1)
Definition: cli-connection.h:2193
QDBusPendingReply AddStatus(const QString &status, const QVariantMap &parameters, int timeout=-1)
Definition: cli-connection.h:6742
Definition: build/TelepathyQt/_gen/types.h:2116
Tp::PendingOperation * setPropertyOverrideMessageServiceCentre(bool newValue)
Definition: cli-connection.h:2844
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:1396
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:1730
Tp::PendingOperation * setPropertyMessageReducedCharacterSet(bool newValue)
Definition: cli-connection.h:2950
Tp::PendingVariant * requestPropertyManageCreditURI() const
Definition: cli-connection.h:2396
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:2297
QDBusPendingReply< QStringList > RequestAliases(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:1449
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:5838
Definition: build/TelepathyQt/_gen/types.h:1361
Tp::PendingVariant * requestPropertyGroups() const
Definition: cli-connection.h:3897
Tp::PendingVariant * requestPropertyHasImmortalHandles() const
Definition: cli-connection.h:205
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:3131
Tp::PendingVariant * requestPropertyKnownServicePoints() const
Definition: cli-connection.h:7493
QDBusPendingReply< QByteArray, QString > RequestAvatar(uint contact, int timeout=-1)
Definition: cli-connection.h:2122
QDBusPendingReply< Tp::ContactInfoFieldList > RequestContactInfo(uint contact, int timeout=-1)
Definition: cli-connection.h:4629
Tp::PendingOperation * setPropertyMessageValidityPeriod(uint newValue)
Definition: cli-connection.h:2790
Definition: build/TelepathyQt/_gen/types.h:192
QDBusPendingReply< uint > GetAliasFlags(int timeout=-1)
Definition: cli-connection.h:1417
QDBusPendingReply< Tp::HandleIdentifierMap > RequestBlockedContacts(int timeout=-1)
Definition: cli-connection.h:3477
Tp::PendingVariant * requestPropertyPowerSavingActive() const
Definition: cli-connection.h:6548
QDBusPendingReply ClearAvatar(int timeout=-1)
Definition: cli-connection.h:2218
QDBusPendingReply RemoveStatus(const QString &status, int timeout=-1)
Definition: cli-connection.h:6875
QDBusPendingReply< Tp::CapabilityPairList > AdvertiseCapabilities(const Tp::CapabilityPairList &add, const QStringList &remove, int timeout=-1)
Definition: cli-connection.h:2575
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:6297
Tp::PendingVariant * requestPropertyMessageNationalCharacterSet() const
Definition: cli-connection.h:2980
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:4531
Tp::PendingVariant * requestPropertyMaximumStatusMessageLength() const
Definition: cli-connection.h:7696
QDBusPendingReply AddToGroup(const QString &group, const Tp::UIntList &members, int timeout=-1)
Definition: cli-connection.h:4079
QDBusPendingReply RemoveGroup(const QString &group, int timeout=-1)
Definition: cli-connection.h:4176
Tp::PendingOperation * setPropertyLocationAccessControl(Tp::RichPresenceAccessControl newValue)
Definition: cli-connection.h:5940
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
QDBusPendingReply BlockContacts(const Tp::UIntList &contacts, bool reportAbusive, int timeout=-1)
Definition: cli-connection.h:3409
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:6474
QDBusPendingReply RemoveClientInterest(const QStringList &tokens, int timeout=-1)
Definition: cli-connection.h:847
QDBusPendingReply RefreshContactInfo(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:4593
Definition: build/TelepathyQt/_gen/types.h:107
QList< Mail > MailList
Definition: build/TelepathyQt/_gen/types.h:1789
QDBusPendingReply SetGroupMembers(const QString &group, const Tp::UIntList &members, int timeout=-1)
Definition: cli-connection.h:4024
Definition: cli-connection.h:6639
QDBusPendingReply< Tp::StatusSpecMap > GetStatuses(int timeout=-1)
Definition: cli-connection.h:6843
Tp::PendingVariant * requestPropertyMaximumAvatarHeight() const
Definition: cli-connection.h:1923
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:3066
Tp::PendingVariant * requestPropertyMailAddress() const
Definition: cli-connection.h:6286
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:7423
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:6559
Definition: cli-connection.h:2286
Tp::PendingVariant * requestPropertyAccountBalance() const
Definition: cli-connection.h:2374
QDBusPendingReply UnblockContacts(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:3442
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:3599
Definition: cli-connection.h:1758
Tp::PendingVariant * requestPropertyOverrideMessageServiceCentre() const
Definition: cli-connection.h:2817
QDBusPendingReply Unsubscribe(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:5366
Tp::PendingVariant * requestPropertySupportedAnonymityModes() const
Definition: cli-connection.h:1645
QDBusPendingReply< Tp::AliasMap > GetAliases(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:1486
Tp::PendingVariant * requestPropertyContactInfoFlags() const
Definition: cli-connection.h:4458
QList< CapabilityChange > CapabilityChangeList
Definition: build/TelepathyQt/_gen/types.h:531
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:6650
QDBusPendingReply< Tp::MailURL > RequestMailURL(const QString &ID, const QDBusVariant &URLData, int timeout=-1)
Definition: cli-connection.h:6369
QDBusPendingReply< uint, QVariantMap > GetContactByID(const QString &identifier, const QStringList &interfaces, int timeout=-1)
Definition: cli-connection.h:5801
Definition: cli-connection.h:2679
QDBusPendingReply< QStringList > InspectHandles(uint handleType, const Tp::UIntList &handles, int timeout=-1)
Definition: cli-connection.h:476
QDBusPendingReply< Tp::ContactLocations > GetLocations(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:6015
Tp::PendingVariant * requestPropertyAnonymityModes() const
Definition: cli-connection.h:1702
Definition: build/TelepathyQt/_gen/types.h:2650
QDBusPendingReply< Tp::ContactPresences > GetPresence(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:6807
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:7547
Definition: abstract-adaptor.cpp:31
QDBusPendingReply SetPowerSaving(bool activate, int timeout=-1)
Definition: cli-connection.h:6598
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
QList< HandlerCapabilities > HandlerCapabilitiesList
Definition: build/TelepathyQt/_gen/types.h:3576
Tp::PendingOperation * setPropertyAnonymityMandatory(bool newValue)
Definition: cli-connection.h:1685
QDBusPendingReply UpdateCapabilities(const Tp::HandlerCapabilitiesList &handlerCapabilities, int timeout=-1)
Definition: cli-connection.h:3667
QDBusPendingReply< Tp::UIntList > RequestHandles(uint handleType, const QStringList &identifiers, int timeout=-1)
Definition: cli-connection.h:693
Tp::PendingVariant * requestPropertySupportedAvatarMIMETypes() const
Definition: cli-connection.h:1839
QDBusPendingReply< Tp::MailURL > RequestInboxURL(int timeout=-1)
Definition: cli-connection.h:6326
Tp::PendingVariant * requestPropertyRecommendedAvatarWidth() const
Definition: cli-connection.h:1907
QDBusPendingReply< Tp::ContactAttributesMap > GetContactListAttributes(const QStringList &interfaces, bool hold, int timeout=-1)
Definition: cli-connection.h:5040
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:2407
QDBusPendingReply RenameGroup(const QString &oldName, const QString &newName, int timeout=-1)
Definition: cli-connection.h:4230
Tp::PendingVariant * requestPropertyDisjointGroups() const
Definition: cli-connection.h:3852
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:1769
Tp::PendingVariant * requestPropertySelfID() const
Definition: cli-connection.h:163
QDBusPendingReply< Tp::ContactClientTypes > GetClientTypes(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:3165
Tp::PendingVariant * requestPropertyRecommendedAvatarHeight() const
Definition: cli-connection.h:1890
Tp::PendingVariant * requestPropertyChannels() const
Definition: cli-connection.h:7115
Definition: cli-connection.h:7035
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:7504
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:6144
QDBusPendingReply ClearStatus(int timeout=-1)
Definition: cli-connection.h:6770
Definition: build/TelepathyQt/_gen/types.h:3926
QDBusPendingReply< Tp::AddressingNormalizationMap, Tp::ContactAttributesMap > GetContactsByVCardField(const QString &field, const QStringList &addresses, const QStringList &interfaces, int timeout=-1)
Definition: cli-connection.h:1209
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:3021
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:3777
QDBusPendingReply< uint > GetSelfHandle(int timeout=-1)
Definition: cli-connection.h:354
Tp::PendingVariant * requestPropertyContactBlockingCapabilities() const
Definition: cli-connection.h:3333
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:5570
QList< ServicePointInfo > ServicePointInfoList
Definition: build/TelepathyQt/_gen/types.h:3823
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:7707
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:5969
QDBusPendingReply< Tp::ContactCapabilitiesMap > GetContactCapabilities(const Tp::UIntList &handles, int timeout=-1)
Definition: cli-connection.h:3717
Definition: cli-connection.h:5827
QDBusPendingReply< QStringList > GetInterfaces(int timeout=-1)
Definition: cli-connection.h:297
Definition: cli-connection.h:1320
Tp::PendingVariant * requestPropertyContactAttributeInterfaces() const
Definition: cli-connection.h:5639
Definition: cli-connection.h:5559
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:1966
QDBusPendingReply Disconnect(int timeout=-1)
Definition: cli-connection.h:265


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