svc-connection.h Source File

| Home · All Classes · All Namespaces · Modules · Functions · Files

svc-connection.h
1 /*
2 * This file contains D-Bus adaptor classes generated by qt-svc-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 #include <TelepathyQt/AbstractAdaptor>
9 #include <TelepathyQt/Global>
10 #include <TelepathyQt/Types>
11
12 #include <QObject>
13 #include <QtDBus>
14
15 namespace Tp
16 {
17 namespace Service
18 {
19
27 class TP_QT_EXPORT ConnectionAdaptor : public Tp::AbstractAdaptor
28 {
29 Q_OBJECT
30 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection")
31 Q_CLASSINFO("D-Bus Introspection", ""
32 " <interface name=\"org.freedesktop.Telepathy.Connection\">\n"
33 " <property access=\"read\" type=\"as\" name=\"Interfaces\"/>\n"
34 " <property access=\"read\" type=\"u\" name=\"SelfHandle\"/>\n"
35 " <property access=\"read\" type=\"s\" name=\"SelfID\"/>\n"
36 " <property access=\"read\" type=\"u\" name=\"Status\"/>\n"
37 " <property access=\"read\" type=\"b\" name=\"HasImmortalHandles\"/>\n"
38 " <method name=\"Connect\"/>\n"
39 " <method name=\"Disconnect\"/>\n"
40 " <method name=\"GetInterfaces\">\n"
41 " <arg direction=\"out\" type=\"as\" name=\"interfaces\"/>\n"
42 " </method>\n"
43 " <method name=\"GetProtocol\">\n"
44 " <arg direction=\"out\" type=\"s\" name=\"protocol\"/>\n"
45 " </method>\n"
46 " <method name=\"GetSelfHandle\">\n"
47 " <arg direction=\"out\" type=\"u\" name=\"selfHandle\"/>\n"
48 " </method>\n"
49 " <method name=\"GetStatus\">\n"
50 " <arg direction=\"out\" type=\"u\" name=\"status\"/>\n"
51 " </method>\n"
52 " <method name=\"HoldHandles\">\n"
53 " <arg direction=\"in\" type=\"u\" name=\"handleType\"/>\n"
54 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
55 " </method>\n"
56 " <method name=\"InspectHandles\">\n"
57 " <arg direction=\"in\" type=\"u\" name=\"handleType\"/>\n"
58 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
59 " <arg direction=\"out\" type=\"as\" name=\"identifiers\"/>\n"
60 " </method>\n"
61 " <method name=\"ListChannels\">\n"
62 " <arg direction=\"out\" type=\"a(osuu)\" name=\"channelInfo\">\n"
63 " <annotation value=\"Tp::ChannelInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
64 " </arg>\n"
65 " </method>\n"
66 " <method name=\"ReleaseHandles\">\n"
67 " <arg direction=\"in\" type=\"u\" name=\"handleType\"/>\n"
68 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
69 " </method>\n"
70 " <method name=\"RequestChannel\">\n"
71 " <arg direction=\"in\" type=\"s\" name=\"type\"/>\n"
72 " <arg direction=\"in\" type=\"u\" name=\"handleType\"/>\n"
73 " <arg direction=\"in\" type=\"u\" name=\"handle\"/>\n"
74 " <arg direction=\"in\" type=\"b\" name=\"suppressHandler\"/>\n"
75 " <arg direction=\"out\" type=\"o\" name=\"objectPath\"/>\n"
76 " </method>\n"
77 " <method name=\"RequestHandles\">\n"
78 " <arg direction=\"in\" type=\"u\" name=\"handleType\"/>\n"
79 " <arg direction=\"in\" type=\"as\" name=\"identifiers\"/>\n"
80 " <arg direction=\"out\" type=\"au\" name=\"handles\"/>\n"
81 " </method>\n"
82 " <method name=\"AddClientInterest\">\n"
83 " <arg direction=\"in\" type=\"as\" name=\"tokens\"/>\n"
84 " </method>\n"
85 " <method name=\"RemoveClientInterest\">\n"
86 " <arg direction=\"in\" type=\"as\" name=\"tokens\"/>\n"
87 " </method>\n"
88 " <signal name=\"SelfHandleChanged\">\n"
89 " <arg type=\"u\" name=\"selfHandle\"/>\n"
90 " </signal>\n"
91 " <signal name=\"SelfContactChanged\">\n"
92 " <arg type=\"u\" name=\"selfHandle\"/>\n"
93 " <arg type=\"s\" name=\"selfID\"/>\n"
94 " </signal>\n"
95 " <signal name=\"NewChannel\">\n"
96 " <arg type=\"o\" name=\"objectPath\"/>\n"
97 " <arg type=\"s\" name=\"channelType\"/>\n"
98 " <arg type=\"u\" name=\"handleType\"/>\n"
99 " <arg type=\"u\" name=\"handle\"/>\n"
100 " <arg type=\"b\" name=\"suppressHandler\"/>\n"
101 " </signal>\n"
102 " <signal name=\"ConnectionError\">\n"
103 " <arg type=\"s\" name=\"error\"/>\n"
104 " <arg type=\"a{sv}\" name=\"details\"/>\n"
105 " </signal>\n"
106 " <signal name=\"StatusChanged\">\n"
107 " <arg type=\"u\" name=\"status\"/>\n"
108 " <arg type=\"u\" name=\"reason\"/>\n"
109 " </signal>\n"
110 " </interface>\n"
111 "")
112 Q_PROPERTY(QStringList Interfaces READ Interfaces )
113 Q_PROPERTY(uint SelfHandle READ SelfHandle )
114 Q_PROPERTY(QString SelfID READ SelfID )
115 Q_PROPERTY(uint Status READ Status )
116 Q_PROPERTY(bool HasImmortalHandles READ HasImmortalHandles )
117
118 public:
119 ConnectionAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
120 virtual ~ConnectionAdaptor();
121
122 typedef Tp::MethodInvocationContextPtr< > ConnectContextPtr;
123 typedef Tp::MethodInvocationContextPtr< > DisconnectContextPtr;
124 typedef Tp::MethodInvocationContextPtr< QStringList > GetInterfacesContextPtr;
125 typedef Tp::MethodInvocationContextPtr< QString > GetProtocolContextPtr;
126 typedef Tp::MethodInvocationContextPtr< uint > GetSelfHandleContextPtr;
127 typedef Tp::MethodInvocationContextPtr< uint > GetStatusContextPtr;
128 typedef Tp::MethodInvocationContextPtr< > HoldHandlesContextPtr;
129 typedef Tp::MethodInvocationContextPtr< QStringList > InspectHandlesContextPtr;
130 typedef Tp::MethodInvocationContextPtr< Tp::ChannelInfoList > ListChannelsContextPtr;
131 typedef Tp::MethodInvocationContextPtr< > ReleaseHandlesContextPtr;
132 typedef Tp::MethodInvocationContextPtr< QDBusObjectPath > RequestChannelContextPtr;
133 typedef Tp::MethodInvocationContextPtr< Tp::UIntList > RequestHandlesContextPtr;
134 typedef Tp::MethodInvocationContextPtr< > AddClientInterestContextPtr;
135 typedef Tp::MethodInvocationContextPtr< > RemoveClientInterestContextPtr;
136
137 public: // PROPERTIES
171 QStringList Interfaces() const;
187 uint SelfHandle() const;
203 QString SelfID() const;
224 uint Status() const;
241 bool HasImmortalHandles() const;
242
243 public Q_SLOTS: // METHODS
264 void Connect(const QDBusMessage& dbusMessage);
280 void Disconnect(const QDBusMessage& dbusMessage);
301 QStringList GetInterfaces(const QDBusMessage& dbusMessage);
318 QString GetProtocol(const QDBusMessage& dbusMessage);
336 uint GetSelfHandle(const QDBusMessage& dbusMessage);
353 uint GetStatus(const QDBusMessage& dbusMessage);
397 void HoldHandles(uint handleType, const Tp::UIntList& handles, const QDBusMessage& dbusMessage);
421 QStringList InspectHandles(uint handleType, const Tp::UIntList& handles, const QDBusMessage& dbusMessage);
438 Tp::ChannelInfoList ListChannels(const QDBusMessage& dbusMessage);
465 void ReleaseHandles(uint handleType, const Tp::UIntList& handles, const QDBusMessage& dbusMessage);
543 QDBusObjectPath RequestChannel(const QString& type, uint handleType, uint handle, bool suppressHandler, const QDBusMessage& dbusMessage);
584 Tp::UIntList RequestHandles(uint handleType, const QStringList& identifiers, const QDBusMessage& dbusMessage);
680 void AddClientInterest(const QStringList& tokens, const QDBusMessage& dbusMessage);
714 void RemoveClientInterest(const QStringList& tokens, const QDBusMessage& dbusMessage);
715
716 Q_SIGNALS: // SIGNALS
729 void SelfHandleChanged(uint selfHandle);
745 void SelfContactChanged(uint selfHandle, const QString& selfID);
787 void NewChannel(const QDBusObjectPath& objectPath, const QString& channelType, uint handleType, uint handle, bool suppressHandler);
830 void ConnectionError(const QString& error, const QVariantMap& details);
847 void StatusChanged(uint status, uint reason);
848 };
849
857 class TP_QT_EXPORT ConnectionInterfaceAddressingAdaptor : public Tp::AbstractAdaptor
858 {
859 Q_OBJECT
860 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Addressing1")
861 Q_CLASSINFO("D-Bus Introspection", ""
862 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Addressing1\">\n"
863 " <method name=\"GetContactsByVCardField\">\n"
864 " <arg direction=\"in\" type=\"s\" name=\"field\"/>\n"
865 " <arg direction=\"in\" type=\"as\" name=\"addresses\"/>\n"
866 " <arg direction=\"in\" type=\"as\" name=\"interfaces\"/>\n"
867 " <arg direction=\"out\" type=\"a{su}\" name=\"requested\">\n"
868 " <annotation value=\"Tp::AddressingNormalizationMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
869 " </arg>\n"
870 " <arg direction=\"out\" type=\"a{ua{sv}}\" name=\"attributes\">\n"
871 " <annotation value=\"Tp::ContactAttributesMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
872 " </arg>\n"
873 " </method>\n"
874 " <method name=\"GetContactsByURI\">\n"
875 " <arg direction=\"in\" type=\"as\" name=\"URIs\"/>\n"
876 " <arg direction=\"in\" type=\"as\" name=\"interfaces\"/>\n"
877 " <arg direction=\"out\" type=\"a{su}\" name=\"requested\">\n"
878 " <annotation value=\"Tp::AddressingNormalizationMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
879 " </arg>\n"
880 " <arg direction=\"out\" type=\"a{ua{sv}}\" name=\"attributes\">\n"
881 " <annotation value=\"Tp::ContactAttributesMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
882 " </arg>\n"
883 " </method>\n"
884 " </interface>\n"
885 "")
886
887 public:
888 ConnectionInterfaceAddressingAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
889 virtual ~ConnectionInterfaceAddressingAdaptor();
890
891 typedef Tp::MethodInvocationContextPtr< Tp::AddressingNormalizationMap, Tp::ContactAttributesMap > GetContactsByVCardFieldContextPtr;
892 typedef Tp::MethodInvocationContextPtr< Tp::AddressingNormalizationMap, Tp::ContactAttributesMap > GetContactsByURIContextPtr;
893
894 public Q_SLOTS: // METHODS
982 Tp::AddressingNormalizationMap GetContactsByVCardField(const QString& field, const QStringList& addresses, const QStringList& interfaces, const QDBusMessage& dbusMessage, Tp::ContactAttributesMap& attributes);
1052 Tp::AddressingNormalizationMap GetContactsByURI(const QStringList& URIs, const QStringList& interfaces, const QDBusMessage& dbusMessage, Tp::ContactAttributesMap& attributes);
1053 };
1054
1062 class TP_QT_EXPORT ConnectionInterfaceAliasingAdaptor : public Tp::AbstractAdaptor
1063 {
1064 Q_OBJECT
1065 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Aliasing")
1066 Q_CLASSINFO("D-Bus Introspection", ""
1067 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Aliasing\">\n"
1068 " <method name=\"GetAliasFlags\">\n"
1069 " <arg direction=\"out\" type=\"u\" name=\"aliasFlags\"/>\n"
1070 " </method>\n"
1071 " <method name=\"RequestAliases\">\n"
1072 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1073 " <arg direction=\"out\" type=\"as\" name=\"aliases\"/>\n"
1074 " </method>\n"
1075 " <method name=\"GetAliases\">\n"
1076 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1077 " <arg direction=\"out\" type=\"a{us}\" name=\"aliases\">\n"
1078 " <annotation value=\"Tp::AliasMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
1079 " </arg>\n"
1080 " </method>\n"
1081 " <method name=\"SetAliases\">\n"
1082 " <arg direction=\"in\" type=\"a{us}\" name=\"aliases\">\n"
1083 " <annotation value=\"Tp::AliasMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
1084 " </arg>\n"
1085 " </method>\n"
1086 " <signal name=\"AliasesChanged\">\n"
1087 " <arg type=\"a(us)\" name=\"aliases\">\n"
1088 " <annotation value=\"Tp::AliasPairList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
1089 " </arg>\n"
1090 " </signal>\n"
1091 " </interface>\n"
1092 "")
1093
1094 public:
1095 ConnectionInterfaceAliasingAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1096 virtual ~ConnectionInterfaceAliasingAdaptor();
1097
1098 typedef Tp::MethodInvocationContextPtr< uint > GetAliasFlagsContextPtr;
1099 typedef Tp::MethodInvocationContextPtr< QStringList > RequestAliasesContextPtr;
1100 typedef Tp::MethodInvocationContextPtr< Tp::AliasMap > GetAliasesContextPtr;
1101 typedef Tp::MethodInvocationContextPtr< > SetAliasesContextPtr;
1102
1103 public Q_SLOTS: // METHODS
1121 uint GetAliasFlags(const QDBusMessage& dbusMessage);
1141 QStringList RequestAliases(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
1165 Tp::AliasMap GetAliases(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
1187 void SetAliases(const Tp::AliasMap& aliases, const QDBusMessage& dbusMessage);
1188
1189 Q_SIGNALS: // SIGNALS
1208 void AliasesChanged(const Tp::AliasPairList& aliases);
1209 };
1210
1218 class TP_QT_EXPORT ConnectionInterfaceAnonymityAdaptor : public Tp::AbstractAdaptor
1219 {
1220 Q_OBJECT
1221 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Anonymity")
1222 Q_CLASSINFO("D-Bus Introspection", ""
1223 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Anonymity\">\n"
1224 " <property access=\"read\" type=\"u\" name=\"SupportedAnonymityModes\"/>\n"
1225 " <property access=\"readwrite\" type=\"b\" name=\"AnonymityMandatory\"/>\n"
1226 " <property access=\"readwrite\" type=\"u\" name=\"AnonymityModes\"/>\n"
1227 " <signal name=\"AnonymityModesChanged\">\n"
1228 " <arg type=\"u\" name=\"modes\"/>\n"
1229 " </signal>\n"
1230 " </interface>\n"
1231 "")
1232 Q_PROPERTY(uint SupportedAnonymityModes READ SupportedAnonymityModes )
1233 Q_PROPERTY(bool AnonymityMandatory READ AnonymityMandatory WRITE SetAnonymityMandatory)
1234 Q_PROPERTY(uint AnonymityModes READ AnonymityModes WRITE SetAnonymityModes)
1235
1236 public:
1237 ConnectionInterfaceAnonymityAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1238 virtual ~ConnectionInterfaceAnonymityAdaptor();
1239
1240
1241 public: // PROPERTIES
1254 uint SupportedAnonymityModes() const;
1272 bool AnonymityMandatory() const;
1288 void SetAnonymityMandatory(const bool &newValue);
1303 uint AnonymityModes() const;
1316 void SetAnonymityModes(const uint &newValue);
1317
1318 Q_SIGNALS: // SIGNALS
1331 void AnonymityModesChanged(uint modes);
1332 };
1333
1341 class TP_QT_EXPORT ConnectionInterfaceAvatarsAdaptor : public Tp::AbstractAdaptor
1342 {
1343 Q_OBJECT
1344 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Avatars")
1345 Q_CLASSINFO("D-Bus Introspection", ""
1346 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Avatars\">\n"
1347 " <property access=\"read\" type=\"as\" name=\"SupportedAvatarMIMETypes\"/>\n"
1348 " <property access=\"read\" type=\"u\" name=\"MinimumAvatarHeight\"/>\n"
1349 " <property access=\"read\" type=\"u\" name=\"MinimumAvatarWidth\"/>\n"
1350 " <property access=\"read\" type=\"u\" name=\"RecommendedAvatarHeight\"/>\n"
1351 " <property access=\"read\" type=\"u\" name=\"RecommendedAvatarWidth\"/>\n"
1352 " <property access=\"read\" type=\"u\" name=\"MaximumAvatarHeight\"/>\n"
1353 " <property access=\"read\" type=\"u\" name=\"MaximumAvatarWidth\"/>\n"
1354 " <property access=\"read\" type=\"u\" name=\"MaximumAvatarBytes\"/>\n"
1355 " <method name=\"GetAvatarRequirements\">\n"
1356 " <arg direction=\"out\" type=\"as\" name=\"MIMETypes\"/>\n"
1357 " <arg direction=\"out\" type=\"q\" name=\"minWidth\"/>\n"
1358 " <arg direction=\"out\" type=\"q\" name=\"minHeight\"/>\n"
1359 " <arg direction=\"out\" type=\"q\" name=\"maxWidth\"/>\n"
1360 " <arg direction=\"out\" type=\"q\" name=\"maxHeight\"/>\n"
1361 " <arg direction=\"out\" type=\"u\" name=\"maxBytes\"/>\n"
1362 " </method>\n"
1363 " <method name=\"GetAvatarTokens\">\n"
1364 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1365 " <arg direction=\"out\" type=\"as\" name=\"tokens\"/>\n"
1366 " </method>\n"
1367 " <method name=\"GetKnownAvatarTokens\">\n"
1368 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1369 " <arg direction=\"out\" type=\"a{us}\" name=\"tokens\">\n"
1370 " <annotation value=\"Tp::AvatarTokenMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
1371 " </arg>\n"
1372 " </method>\n"
1373 " <method name=\"RequestAvatar\">\n"
1374 " <arg direction=\"in\" type=\"u\" name=\"contact\"/>\n"
1375 " <arg direction=\"out\" type=\"ay\" name=\"data\"/>\n"
1376 " <arg direction=\"out\" type=\"s\" name=\"MIMEType\"/>\n"
1377 " </method>\n"
1378 " <method name=\"RequestAvatars\">\n"
1379 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1380 " </method>\n"
1381 " <method name=\"SetAvatar\">\n"
1382 " <arg direction=\"in\" type=\"ay\" name=\"avatar\"/>\n"
1383 " <arg direction=\"in\" type=\"s\" name=\"MIMEType\"/>\n"
1384 " <arg direction=\"out\" type=\"s\" name=\"token\"/>\n"
1385 " </method>\n"
1386 " <method name=\"ClearAvatar\"/>\n"
1387 " <signal name=\"AvatarUpdated\">\n"
1388 " <arg type=\"u\" name=\"contact\"/>\n"
1389 " <arg type=\"s\" name=\"newAvatarToken\"/>\n"
1390 " </signal>\n"
1391 " <signal name=\"AvatarRetrieved\">\n"
1392 " <arg type=\"u\" name=\"contact\"/>\n"
1393 " <arg type=\"s\" name=\"token\"/>\n"
1394 " <arg type=\"ay\" name=\"avatar\"/>\n"
1395 " <arg type=\"s\" name=\"type\"/>\n"
1396 " </signal>\n"
1397 " </interface>\n"
1398 "")
1399 Q_PROPERTY(QStringList SupportedAvatarMIMETypes READ SupportedAvatarMIMETypes )
1400 Q_PROPERTY(uint MinimumAvatarHeight READ MinimumAvatarHeight )
1401 Q_PROPERTY(uint MinimumAvatarWidth READ MinimumAvatarWidth )
1402 Q_PROPERTY(uint RecommendedAvatarHeight READ RecommendedAvatarHeight )
1403 Q_PROPERTY(uint RecommendedAvatarWidth READ RecommendedAvatarWidth )
1404 Q_PROPERTY(uint MaximumAvatarHeight READ MaximumAvatarHeight )
1405 Q_PROPERTY(uint MaximumAvatarWidth READ MaximumAvatarWidth )
1406 Q_PROPERTY(uint MaximumAvatarBytes READ MaximumAvatarBytes )
1407
1408 public:
1409 ConnectionInterfaceAvatarsAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1410 virtual ~ConnectionInterfaceAvatarsAdaptor();
1411
1412 typedef Tp::MethodInvocationContextPtr< QStringList, ushort, ushort, ushort, ushort, uint > GetAvatarRequirementsContextPtr;
1413 typedef Tp::MethodInvocationContextPtr< QStringList > GetAvatarTokensContextPtr;
1414 typedef Tp::MethodInvocationContextPtr< Tp::AvatarTokenMap > GetKnownAvatarTokensContextPtr;
1415 typedef Tp::MethodInvocationContextPtr< QByteArray, QString > RequestAvatarContextPtr;
1416 typedef Tp::MethodInvocationContextPtr< > RequestAvatarsContextPtr;
1417 typedef Tp::MethodInvocationContextPtr< QString > SetAvatarContextPtr;
1418 typedef Tp::MethodInvocationContextPtr< > ClearAvatarContextPtr;
1419
1420 public: // PROPERTIES
1434 QStringList SupportedAvatarMIMETypes() const;
1448 uint MinimumAvatarHeight() const;
1462 uint MinimumAvatarWidth() const;
1479 uint RecommendedAvatarHeight() const;
1494 uint RecommendedAvatarWidth() const;
1508 uint MaximumAvatarHeight() const;
1522 uint MaximumAvatarWidth() const;
1536 uint MaximumAvatarBytes() const;
1537
1538 public Q_SLOTS: // METHODS
1570 QStringList GetAvatarRequirements(const QDBusMessage& dbusMessage, ushort& minWidth, ushort& minHeight, ushort& maxWidth, ushort& maxHeight, uint& maxBytes);
1593 QStringList GetAvatarTokens(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
1622 Tp::AvatarTokenMap GetKnownAvatarTokens(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
1647 QByteArray RequestAvatar(uint contact, const QDBusMessage& dbusMessage, QString& MIMEType);
1668 void RequestAvatars(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
1692 QString SetAvatar(const QByteArray& avatar, const QString& MIMEType, const QDBusMessage& dbusMessage);
1706 void ClearAvatar(const QDBusMessage& dbusMessage);
1707
1708 Q_SIGNALS: // SIGNALS
1724 void AvatarUpdated(uint contact, const QString& newAvatarToken);
1747 void AvatarRetrieved(uint contact, const QString& token, const QByteArray& avatar, const QString& type);
1748 };
1749
1757 class TP_QT_EXPORT ConnectionInterfaceBalanceAdaptor : public Tp::AbstractAdaptor
1758 {
1759 Q_OBJECT
1760 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Balance")
1761 Q_CLASSINFO("D-Bus Introspection", ""
1762 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Balance\">\n"
1763 " <property access=\"read\" type=\"(ius)\" name=\"AccountBalance\">\n"
1764 " <annotation value=\"Tp::CurrencyAmount\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1765 " </property>\n"
1766 " <property access=\"read\" type=\"s\" name=\"ManageCreditURI\"/>\n"
1767 " <signal name=\"BalanceChanged\">\n"
1768 " <arg type=\"(ius)\" name=\"balance\">\n"
1769 " <annotation value=\"Tp::CurrencyAmount\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
1770 " </arg>\n"
1771 " </signal>\n"
1772 " </interface>\n"
1773 "")
1774 Q_PROPERTY(Tp::CurrencyAmount AccountBalance READ AccountBalance )
1775 Q_PROPERTY(QString ManageCreditURI READ ManageCreditURI )
1776
1777 public:
1778 ConnectionInterfaceBalanceAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1779 virtual ~ConnectionInterfaceBalanceAdaptor();
1780
1781
1782 public: // PROPERTIES
1803 Tp::CurrencyAmount AccountBalance() const;
1823 QString ManageCreditURI() const;
1824
1825 Q_SIGNALS: // SIGNALS
1841 void BalanceChanged(const Tp::CurrencyAmount& balance);
1842 };
1843
1851 class TP_QT_EXPORT ConnectionInterfaceCellularAdaptor : public Tp::AbstractAdaptor
1852 {
1853 Q_OBJECT
1854 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Cellular")
1855 Q_CLASSINFO("D-Bus Introspection", ""
1856 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Cellular\">\n"
1857 " <property access=\"readwrite\" type=\"u\" name=\"MessageValidityPeriod\"/>\n"
1858 " <property access=\"readwrite\" type=\"b\" name=\"OverrideMessageServiceCentre\"/>\n"
1859 " <property access=\"readwrite\" type=\"s\" name=\"MessageServiceCentre\"/>\n"
1860 " <property access=\"read\" type=\"s\" name=\"IMSI\"/>\n"
1861 " <property access=\"readwrite\" type=\"b\" name=\"MessageReducedCharacterSet\"/>\n"
1862 " <property access=\"readwrite\" type=\"s\" name=\"MessageNationalCharacterSet\"/>\n"
1863 " <signal name=\"IMSIChanged\">\n"
1864 " <arg type=\"s\" name=\"IMSI\"/>\n"
1865 " </signal>\n"
1866 " </interface>\n"
1867 "")
1868 Q_PROPERTY(uint MessageValidityPeriod READ MessageValidityPeriod WRITE SetMessageValidityPeriod)
1869 Q_PROPERTY(bool OverrideMessageServiceCentre READ OverrideMessageServiceCentre WRITE SetOverrideMessageServiceCentre)
1870 Q_PROPERTY(QString MessageServiceCentre READ MessageServiceCentre WRITE SetMessageServiceCentre)
1871 Q_PROPERTY(QString IMSI READ IMSI )
1872 Q_PROPERTY(bool MessageReducedCharacterSet READ MessageReducedCharacterSet WRITE SetMessageReducedCharacterSet)
1873 Q_PROPERTY(QString MessageNationalCharacterSet READ MessageNationalCharacterSet WRITE SetMessageNationalCharacterSet)
1874
1875 public:
1876 ConnectionInterfaceCellularAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1877 virtual ~ConnectionInterfaceCellularAdaptor();
1878
1879
1880 public: // PROPERTIES
1901 uint MessageValidityPeriod() const;
1920 void SetMessageValidityPeriod(const uint &newValue);
1945 bool OverrideMessageServiceCentre() const;
1968 void SetOverrideMessageServiceCentre(const bool &newValue);
1987 QString MessageServiceCentre() const;
2004 void SetMessageServiceCentre(const QString &newValue);
2020 QString IMSI() const;
2041 bool MessageReducedCharacterSet() const;
2060 void SetMessageReducedCharacterSet(const bool &newValue);
2088 QString MessageNationalCharacterSet() const;
2114 void SetMessageNationalCharacterSet(const QString &newValue);
2115
2116 Q_SIGNALS: // SIGNALS
2130 void IMSIChanged(const QString& IMSI);
2131 };
2132
2140 class TP_QT_EXPORT ConnectionInterfaceClientTypesAdaptor : public Tp::AbstractAdaptor
2141 {
2142 Q_OBJECT
2143 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ClientTypes")
2144 Q_CLASSINFO("D-Bus Introspection", ""
2145 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ClientTypes\">\n"
2146 " <method name=\"GetClientTypes\">\n"
2147 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
2148 " <arg direction=\"out\" type=\"a{uas}\" name=\"clientTypes\">\n"
2149 " <annotation value=\"Tp::ContactClientTypes\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
2150 " </arg>\n"
2151 " </method>\n"
2152 " <method name=\"RequestClientTypes\">\n"
2153 " <arg direction=\"in\" type=\"u\" name=\"contact\"/>\n"
2154 " <arg direction=\"out\" type=\"as\" name=\"clientTypes\"/>\n"
2155 " </method>\n"
2156 " <signal name=\"ClientTypesUpdated\">\n"
2157 " <arg type=\"u\" name=\"contact\"/>\n"
2158 " <arg type=\"as\" name=\"clientTypes\"/>\n"
2159 " </signal>\n"
2160 " </interface>\n"
2161 "")
2162
2163 public:
2164 ConnectionInterfaceClientTypesAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2165 virtual ~ConnectionInterfaceClientTypesAdaptor();
2166
2167 typedef Tp::MethodInvocationContextPtr< Tp::ContactClientTypes > GetClientTypesContextPtr;
2168 typedef Tp::MethodInvocationContextPtr< QStringList > RequestClientTypesContextPtr;
2169
2170 public Q_SLOTS: // METHODS
2200 Tp::ContactClientTypes GetClientTypes(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
2226 QStringList RequestClientTypes(uint contact, const QDBusMessage& dbusMessage);
2227
2228 Q_SIGNALS: // SIGNALS
2245 void ClientTypesUpdated(uint contact, const QStringList& clientTypes);
2246 };
2247
2255 class TP_QT_EXPORT ConnectionInterfaceContactBlockingAdaptor : public Tp::AbstractAdaptor
2256 {
2257 Q_OBJECT
2258 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ContactBlocking")
2259 Q_CLASSINFO("D-Bus Introspection", ""
2260 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ContactBlocking\">\n"
2261 " <property access=\"read\" type=\"u\" name=\"ContactBlockingCapabilities\"/>\n"
2262 " <method name=\"BlockContacts\">\n"
2263 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
2264 " <arg direction=\"in\" type=\"b\" name=\"reportAbusive\"/>\n"
2265 " </method>\n"
2266 " <method name=\"UnblockContacts\">\n"
2267 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
2268 " </method>\n"
2269 " <method name=\"RequestBlockedContacts\">\n"
2270 " <arg direction=\"out\" type=\"a{us}\" name=\"contacts\">\n"
2271 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
2272 " </arg>\n"
2273 " </method>\n"
2274 " <signal name=\"BlockedContactsChanged\">\n"
2275 " <arg type=\"a{us}\" name=\"blockedContacts\">\n"
2276 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2277 " </arg>\n"
2278 " <arg type=\"a{us}\" name=\"unblockedContacts\">\n"
2279 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
2280 " </arg>\n"
2281 " </signal>\n"
2282 " </interface>\n"
2283 "")
2284 Q_PROPERTY(uint ContactBlockingCapabilities READ ContactBlockingCapabilities )
2285
2286 public:
2287 ConnectionInterfaceContactBlockingAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2288 virtual ~ConnectionInterfaceContactBlockingAdaptor();
2289
2290 typedef Tp::MethodInvocationContextPtr< > BlockContactsContextPtr;
2291 typedef Tp::MethodInvocationContextPtr< > UnblockContactsContextPtr;
2292 typedef Tp::MethodInvocationContextPtr< Tp::HandleIdentifierMap > RequestBlockedContactsContextPtr;
2293
2294 public: // PROPERTIES
2313 uint ContactBlockingCapabilities() const;
2314
2315 public Q_SLOTS: // METHODS
2376 void BlockContacts(const Tp::UIntList& contacts, bool reportAbusive, const QDBusMessage& dbusMessage);
2397 void UnblockContacts(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
2420 Tp::HandleIdentifierMap RequestBlockedContacts(const QDBusMessage& dbusMessage);
2421
2422 Q_SIGNALS: // SIGNALS
2438 void BlockedContactsChanged(const Tp::HandleIdentifierMap& blockedContacts, const Tp::HandleIdentifierMap& unblockedContacts);
2439 };
2440
2448 class TP_QT_EXPORT ConnectionInterfaceContactCapabilitiesAdaptor : public Tp::AbstractAdaptor
2449 {
2450 Q_OBJECT
2451 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ContactCapabilities")
2452 Q_CLASSINFO("D-Bus Introspection", ""
2453 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ContactCapabilities\">\n"
2454 " <method name=\"UpdateCapabilities\">\n"
2455 " <arg direction=\"in\" type=\"a(saa{sv}as)\" name=\"handlerCapabilities\">\n"
2456 " <annotation value=\"Tp::HandlerCapabilitiesList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2457 " </arg>\n"
2458 " </method>\n"
2459 " <method name=\"GetContactCapabilities\">\n"
2460 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
2461 " <arg direction=\"out\" type=\"a{ua(a{sv}as)}\" name=\"contactCapabilities\">\n"
2462 " <annotation value=\"Tp::ContactCapabilitiesMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
2463 " </arg>\n"
2464 " </method>\n"
2465 " <signal name=\"ContactCapabilitiesChanged\">\n"
2466 " <arg type=\"a{ua(a{sv}as)}\" name=\"caps\">\n"
2467 " <annotation value=\"Tp::ContactCapabilitiesMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2468 " </arg>\n"
2469 " </signal>\n"
2470 " </interface>\n"
2471 "")
2472
2473 public:
2474 ConnectionInterfaceContactCapabilitiesAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2475 virtual ~ConnectionInterfaceContactCapabilitiesAdaptor();
2476
2477 typedef Tp::MethodInvocationContextPtr< > UpdateCapabilitiesContextPtr;
2478 typedef Tp::MethodInvocationContextPtr< Tp::ContactCapabilitiesMap > GetContactCapabilitiesContextPtr;
2479
2480 public Q_SLOTS: // METHODS
2545 void UpdateCapabilities(const Tp::HandlerCapabilitiesList& handlerCapabilities, const QDBusMessage& dbusMessage);
2582 Tp::ContactCapabilitiesMap GetContactCapabilities(const Tp::UIntList& handles, const QDBusMessage& dbusMessage);
2583
2584 Q_SIGNALS: // SIGNALS
2599 void ContactCapabilitiesChanged(const Tp::ContactCapabilitiesMap& caps);
2600 };
2601
2609 class TP_QT_EXPORT ConnectionInterfaceContactGroupsAdaptor : public Tp::AbstractAdaptor
2610 {
2611 Q_OBJECT
2612 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ContactGroups")
2613 Q_CLASSINFO("D-Bus Introspection", ""
2614 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ContactGroups\">\n"
2615 " <property access=\"read\" type=\"b\" name=\"DisjointGroups\"/>\n"
2616 " <property access=\"read\" type=\"u\" name=\"GroupStorage\"/>\n"
2617 " <property access=\"read\" type=\"as\" name=\"Groups\"/>\n"
2618 " <method name=\"SetContactGroups\">\n"
2619 " <arg direction=\"in\" type=\"u\" name=\"contact\"/>\n"
2620 " <arg direction=\"in\" type=\"as\" name=\"groups\"/>\n"
2621 " </method>\n"
2622 " <method name=\"SetGroupMembers\">\n"
2623 " <arg direction=\"in\" type=\"s\" name=\"group\"/>\n"
2624 " <arg direction=\"in\" type=\"au\" name=\"members\"/>\n"
2625 " </method>\n"
2626 " <method name=\"AddToGroup\">\n"
2627 " <arg direction=\"in\" type=\"s\" name=\"group\"/>\n"
2628 " <arg direction=\"in\" type=\"au\" name=\"members\"/>\n"
2629 " </method>\n"
2630 " <method name=\"RemoveFromGroup\">\n"
2631 " <arg direction=\"in\" type=\"s\" name=\"group\"/>\n"
2632 " <arg direction=\"in\" type=\"au\" name=\"members\"/>\n"
2633 " </method>\n"
2634 " <method name=\"RemoveGroup\">\n"
2635 " <arg direction=\"in\" type=\"s\" name=\"group\"/>\n"
2636 " </method>\n"
2637 " <method name=\"RenameGroup\">\n"
2638 " <arg direction=\"in\" type=\"s\" name=\"oldName\"/>\n"
2639 " <arg direction=\"in\" type=\"s\" name=\"newName\"/>\n"
2640 " </method>\n"
2641 " <signal name=\"GroupsChanged\">\n"
2642 " <arg type=\"au\" name=\"contact\"/>\n"
2643 " <arg type=\"as\" name=\"added\"/>\n"
2644 " <arg type=\"as\" name=\"removed\"/>\n"
2645 " </signal>\n"
2646 " <signal name=\"GroupsCreated\">\n"
2647 " <arg type=\"as\" name=\"names\"/>\n"
2648 " </signal>\n"
2649 " <signal name=\"GroupRenamed\">\n"
2650 " <arg type=\"s\" name=\"oldName\"/>\n"
2651 " <arg type=\"s\" name=\"newName\"/>\n"
2652 " </signal>\n"
2653 " <signal name=\"GroupsRemoved\">\n"
2654 " <arg type=\"as\" name=\"names\"/>\n"
2655 " </signal>\n"
2656 " </interface>\n"
2657 "")
2658 Q_PROPERTY(bool DisjointGroups READ DisjointGroups )
2659 Q_PROPERTY(uint GroupStorage READ GroupStorage )
2660 Q_PROPERTY(QStringList Groups READ Groups )
2661
2662 public:
2663 ConnectionInterfaceContactGroupsAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2664 virtual ~ConnectionInterfaceContactGroupsAdaptor();
2665
2666 typedef Tp::MethodInvocationContextPtr< > SetContactGroupsContextPtr;
2667 typedef Tp::MethodInvocationContextPtr< > SetGroupMembersContextPtr;
2668 typedef Tp::MethodInvocationContextPtr< > AddToGroupContextPtr;
2669 typedef Tp::MethodInvocationContextPtr< > RemoveFromGroupContextPtr;
2670 typedef Tp::MethodInvocationContextPtr< > RemoveGroupContextPtr;
2671 typedef Tp::MethodInvocationContextPtr< > RenameGroupContextPtr;
2672
2673 public: // PROPERTIES
2692 bool DisjointGroups() const;
2707 uint GroupStorage() const;
2733 QStringList Groups() const;
2734
2735 public Q_SLOTS: // METHODS
2785 void SetContactGroups(uint contact, const QStringList& groups, const QDBusMessage& dbusMessage);
2834 void SetGroupMembers(const QString& group, const Tp::UIntList& members, const QDBusMessage& dbusMessage);
2876 void AddToGroup(const QString& group, const Tp::UIntList& members, const QDBusMessage& dbusMessage);
2917 void RemoveFromGroup(const QString& group, const Tp::UIntList& members, const QDBusMessage& dbusMessage);
2948 void RemoveGroup(const QString& group, const QDBusMessage& dbusMessage);
2989 void RenameGroup(const QString& oldName, const QString& newName, const QDBusMessage& dbusMessage);
2990
2991 Q_SIGNALS: // SIGNALS
3010 void GroupsChanged(const Tp::UIntList& contact, const QStringList& added, const QStringList& removed);
3023 void GroupsCreated(const QStringList& names);
3039 void GroupRenamed(const QString& oldName, const QString& newName);
3052 void GroupsRemoved(const QStringList& names);
3053 };
3054
3062 class TP_QT_EXPORT ConnectionInterfaceContactInfoAdaptor : public Tp::AbstractAdaptor
3063 {
3064 Q_OBJECT
3065 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ContactInfo")
3066 Q_CLASSINFO("D-Bus Introspection", ""
3067 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ContactInfo\">\n"
3068 " <property access=\"read\" type=\"u\" name=\"ContactInfoFlags\"/>\n"
3069 " <property access=\"read\" type=\"a(sasuu)\" name=\"SupportedFields\">\n"
3070 " <annotation value=\"Tp::FieldSpecs\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
3071 " </property>\n"
3072 " <method name=\"GetContactInfo\">\n"
3073 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3074 " <arg direction=\"out\" type=\"a{ua(sasas)}\" name=\"contactInfo\">\n"
3075 " <annotation value=\"Tp::ContactInfoMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
3076 " </arg>\n"
3077 " </method>\n"
3078 " <method name=\"RefreshContactInfo\">\n"
3079 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3080 " </method>\n"
3081 " <method name=\"RequestContactInfo\">\n"
3082 " <arg direction=\"in\" type=\"u\" name=\"contact\"/>\n"
3083 " <arg direction=\"out\" type=\"a(sasas)\" name=\"contactInfo\">\n"
3084 " <annotation value=\"Tp::ContactInfoFieldList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
3085 " </arg>\n"
3086 " </method>\n"
3087 " <method name=\"SetContactInfo\">\n"
3088 " <arg direction=\"in\" type=\"a(sasas)\" name=\"contactInfo\">\n"
3089 " <annotation value=\"Tp::ContactInfoFieldList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
3090 " </arg>\n"
3091 " </method>\n"
3092 " <signal name=\"ContactInfoChanged\">\n"
3093 " <arg type=\"u\" name=\"contact\"/>\n"
3094 " <arg type=\"a(sasas)\" name=\"contactInfo\">\n"
3095 " <annotation value=\"Tp::ContactInfoFieldList\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
3096 " </arg>\n"
3097 " </signal>\n"
3098 " </interface>\n"
3099 "")
3100 Q_PROPERTY(uint ContactInfoFlags READ ContactInfoFlags )
3101 Q_PROPERTY(Tp::FieldSpecs SupportedFields READ SupportedFields )
3102
3103 public:
3104 ConnectionInterfaceContactInfoAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
3105 virtual ~ConnectionInterfaceContactInfoAdaptor();
3106
3107 typedef Tp::MethodInvocationContextPtr< Tp::ContactInfoMap > GetContactInfoContextPtr;
3108 typedef Tp::MethodInvocationContextPtr< > RefreshContactInfoContextPtr;
3109 typedef Tp::MethodInvocationContextPtr< Tp::ContactInfoFieldList > RequestContactInfoContextPtr;
3110 typedef Tp::MethodInvocationContextPtr< > SetContactInfoContextPtr;
3111
3112 public: // PROPERTIES
3138 uint ContactInfoFlags() const;
3198 Tp::FieldSpecs SupportedFields() const;
3199
3200 public Q_SLOTS: // METHODS
3224 Tp::ContactInfoMap GetContactInfo(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
3246 void RefreshContactInfo(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
3269 Tp::ContactInfoFieldList RequestContactInfo(uint contact, const QDBusMessage& dbusMessage);
3289 void SetContactInfo(const Tp::ContactInfoFieldList& contactInfo, const QDBusMessage& dbusMessage);
3290
3291 Q_SIGNALS: // SIGNALS
3309 void ContactInfoChanged(uint contact, const Tp::ContactInfoFieldList& contactInfo);
3310 };
3311
3319 class TP_QT_EXPORT ConnectionInterfaceContactListAdaptor : public Tp::AbstractAdaptor
3320 {
3321 Q_OBJECT
3322 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ContactList")
3323 Q_CLASSINFO("D-Bus Introspection", ""
3324 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ContactList\">\n"
3325 " <property access=\"read\" type=\"u\" name=\"ContactListState\"/>\n"
3326 " <property access=\"read\" type=\"b\" name=\"ContactListPersists\"/>\n"
3327 " <property access=\"read\" type=\"b\" name=\"CanChangeContactList\"/>\n"
3328 " <property access=\"read\" type=\"b\" name=\"RequestUsesMessage\"/>\n"
3329 " <property access=\"read\" type=\"b\" name=\"DownloadAtConnection\"/>\n"
3330 " <method name=\"GetContactListAttributes\">\n"
3331 " <arg direction=\"in\" type=\"as\" name=\"interfaces\"/>\n"
3332 " <arg direction=\"in\" type=\"b\" name=\"hold\"/>\n"
3333 " <arg direction=\"out\" type=\"a{ua{sv}}\" name=\"attributes\">\n"
3334 " <annotation value=\"Tp::ContactAttributesMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
3335 " </arg>\n"
3336 " </method>\n"
3337 " <method name=\"RequestSubscription\">\n"
3338 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3339 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
3340 " </method>\n"
3341 " <method name=\"AuthorizePublication\">\n"
3342 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3343 " </method>\n"
3344 " <method name=\"RemoveContacts\">\n"
3345 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3346 " </method>\n"
3347 " <method name=\"Unsubscribe\">\n"
3348 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3349 " </method>\n"
3350 " <method name=\"Unpublish\">\n"
3351 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3352 " </method>\n"
3353 " <method name=\"Download\"/>\n"
3354 " <signal name=\"ContactListStateChanged\">\n"
3355 " <arg type=\"u\" name=\"contactListState\"/>\n"
3356 " </signal>\n"
3357 " <signal name=\"ContactsChangedWithID\">\n"
3358 " <arg type=\"a{u(uus)}\" name=\"changes\">\n"
3359 " <annotation value=\"Tp::ContactSubscriptionMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
3360 " </arg>\n"
3361 " <arg type=\"a{us}\" name=\"identifiers\">\n"
3362 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
3363 " </arg>\n"
3364 " <arg type=\"a{us}\" name=\"removals\">\n"
3365 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In2\"/>\n"
3366 " </arg>\n"
3367 " </signal>\n"
3368 " <signal name=\"ContactsChanged\">\n"
3369 " <arg type=\"a{u(uus)}\" name=\"changes\">\n"
3370 " <annotation value=\"Tp::ContactSubscriptionMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
3371 " </arg>\n"
3372 " <arg type=\"au\" name=\"removals\"/>\n"
3373 " </signal>\n"
3374 " </interface>\n"
3375 "")
3376 Q_PROPERTY(uint ContactListState READ ContactListState )
3377 Q_PROPERTY(bool ContactListPersists READ ContactListPersists )
3378 Q_PROPERTY(bool CanChangeContactList READ CanChangeContactList )
3379 Q_PROPERTY(bool RequestUsesMessage READ RequestUsesMessage )
3380 Q_PROPERTY(bool DownloadAtConnection READ DownloadAtConnection )
3381
3382 public:
3383 ConnectionInterfaceContactListAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
3384 virtual ~ConnectionInterfaceContactListAdaptor();
3385
3386 typedef Tp::MethodInvocationContextPtr< Tp::ContactAttributesMap > GetContactListAttributesContextPtr;
3387 typedef Tp::MethodInvocationContextPtr< > RequestSubscriptionContextPtr;
3388 typedef Tp::MethodInvocationContextPtr< > AuthorizePublicationContextPtr;
3389 typedef Tp::MethodInvocationContextPtr< > RemoveContactsContextPtr;
3390 typedef Tp::MethodInvocationContextPtr< > UnsubscribeContextPtr;
3391 typedef Tp::MethodInvocationContextPtr< > UnpublishContextPtr;
3392 typedef Tp::MethodInvocationContextPtr< > DownloadContextPtr;
3393
3394 public: // PROPERTIES
3407 uint ContactListState() const;
3469 bool ContactListPersists() const;
3500 bool CanChangeContactList() const;
3531 bool RequestUsesMessage() const;
3565 bool DownloadAtConnection() const;
3566
3567 public Q_SLOTS: // METHODS
3639 Tp::ContactAttributesMap GetContactListAttributes(const QStringList& interfaces, bool hold, const QDBusMessage& dbusMessage);
3751 void RequestSubscription(const Tp::UIntList& contacts, const QString& message, const QDBusMessage& dbusMessage);
3825 void AuthorizePublication(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
3877 void RemoveContacts(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
3916 void Unsubscribe(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
3955 void Unpublish(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
3973 void Download(const QDBusMessage& dbusMessage);
3974
3975 Q_SIGNALS: // SIGNALS
3988 void ContactListStateChanged(uint contactListState);
4017 void ContactsChangedWithID(const Tp::ContactSubscriptionMap& changes, const Tp::HandleIdentifierMap& identifiers, const Tp::HandleIdentifierMap& removals);
4034 void ContactsChanged(const Tp::ContactSubscriptionMap& changes, const Tp::UIntList& removals);
4035 };
4036
4044 class TP_QT_EXPORT ConnectionInterfaceContactsAdaptor : public Tp::AbstractAdaptor
4045 {
4046 Q_OBJECT
4047 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Contacts")
4048 Q_CLASSINFO("D-Bus Introspection", ""
4049 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Contacts\">\n"
4050 " <property access=\"read\" type=\"as\" name=\"ContactAttributeInterfaces\"/>\n"
4051 " <method name=\"GetContactAttributes\">\n"
4052 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
4053 " <arg direction=\"in\" type=\"as\" name=\"interfaces\"/>\n"
4054 " <arg direction=\"in\" type=\"b\" name=\"hold\"/>\n"
4055 " <arg direction=\"out\" type=\"a{ua{sv}}\" name=\"attributes\">\n"
4056 " <annotation value=\"Tp::ContactAttributesMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
4057 " </arg>\n"
4058 " </method>\n"
4059 " <method name=\"GetContactByID\">\n"
4060 " <arg direction=\"in\" type=\"s\" name=\"identifier\"/>\n"
4061 " <arg direction=\"in\" type=\"as\" name=\"interfaces\"/>\n"
4062 " <arg direction=\"out\" type=\"u\" name=\"handle\"/>\n"
4063 " <arg direction=\"out\" type=\"a{sv}\" name=\"attributes\">\n"
4064 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
4065 " </arg>\n"
4066 " </method>\n"
4067 " </interface>\n"
4068 "")
4069 Q_PROPERTY(QStringList ContactAttributeInterfaces READ ContactAttributeInterfaces )
4070
4071 public:
4072 ConnectionInterfaceContactsAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4073 virtual ~ConnectionInterfaceContactsAdaptor();
4074
4075 typedef Tp::MethodInvocationContextPtr< Tp::ContactAttributesMap > GetContactAttributesContextPtr;
4076 typedef Tp::MethodInvocationContextPtr< uint, QVariantMap > GetContactByIDContextPtr;
4077
4078 public: // PROPERTIES
4091 QStringList ContactAttributeInterfaces() const;
4092
4093 public Q_SLOTS: // METHODS
4175 Tp::ContactAttributesMap GetContactAttributes(const Tp::UIntList& handles, const QStringList& interfaces, bool hold, const QDBusMessage& dbusMessage);
4223 uint GetContactByID(const QString& identifier, const QStringList& interfaces, const QDBusMessage& dbusMessage, QVariantMap& attributes);
4224 };
4225
4233 class TP_QT_EXPORT ConnectionInterfaceLocationAdaptor : public Tp::AbstractAdaptor
4234 {
4235 Q_OBJECT
4236 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Location")
4237 Q_CLASSINFO("D-Bus Introspection", ""
4238 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Location\">\n"
4239 " <property access=\"read\" type=\"au\" name=\"LocationAccessControlTypes\"/>\n"
4240 " <property access=\"readwrite\" type=\"(uv)\" name=\"LocationAccessControl\">\n"
4241 " <annotation value=\"Tp::RichPresenceAccessControl\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
4242 " </property>\n"
4243 " <property access=\"read\" type=\"u\" name=\"SupportedLocationFeatures\"/>\n"
4244 " <method name=\"GetLocations\">\n"
4245 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
4246 " <arg direction=\"out\" type=\"a{ua{sv}}\" name=\"locations\">\n"
4247 " <annotation value=\"Tp::ContactLocations\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
4248 " </arg>\n"
4249 " </method>\n"
4250 " <method name=\"RequestLocation\">\n"
4251 " <arg direction=\"in\" type=\"u\" name=\"contact\"/>\n"
4252 " <arg direction=\"out\" type=\"a{sv}\" name=\"location\">\n"
4253 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
4254 " </arg>\n"
4255 " </method>\n"
4256 " <method name=\"SetLocation\">\n"
4257 " <arg direction=\"in\" type=\"a{sv}\" name=\"location\">\n"
4258 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4259 " </arg>\n"
4260 " </method>\n"
4261 " <signal name=\"LocationUpdated\">\n"
4262 " <arg type=\"u\" name=\"contact\"/>\n"
4263 " <arg type=\"a{sv}\" name=\"location\"/>\n"
4264 " </signal>\n"
4265 " </interface>\n"
4266 "")
4267 Q_PROPERTY(Tp::UIntList LocationAccessControlTypes READ LocationAccessControlTypes )
4268 Q_PROPERTY(Tp::RichPresenceAccessControl LocationAccessControl READ LocationAccessControl WRITE SetLocationAccessControl)
4269 Q_PROPERTY(uint SupportedLocationFeatures READ SupportedLocationFeatures )
4270
4271 public:
4272 ConnectionInterfaceLocationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4273 virtual ~ConnectionInterfaceLocationAdaptor();
4274
4275 typedef Tp::MethodInvocationContextPtr< Tp::ContactLocations > GetLocationsContextPtr;
4276 typedef Tp::MethodInvocationContextPtr< QVariantMap > RequestLocationContextPtr;
4277 typedef Tp::MethodInvocationContextPtr< > SetLocationContextPtr;
4278
4279 public: // PROPERTIES
4291 Tp::UIntList LocationAccessControlTypes() const;
4306 Tp::RichPresenceAccessControl LocationAccessControl() const;
4319 void SetLocationAccessControl(const Tp::RichPresenceAccessControl &newValue);
4335 uint SupportedLocationFeatures() const;
4336
4337 public Q_SLOTS: // METHODS
4379 Tp::ContactLocations GetLocations(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
4405 QVariantMap RequestLocation(uint contact, const QDBusMessage& dbusMessage);
4429 void SetLocation(const QVariantMap& location, const QDBusMessage& dbusMessage);
4430
4431 Q_SIGNALS: // SIGNALS
4448 void LocationUpdated(uint contact, const QVariantMap& location);
4449 };
4450
4458 class TP_QT_EXPORT ConnectionInterfaceMailNotificationAdaptor : public Tp::AbstractAdaptor
4459 {
4460 Q_OBJECT
4461 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.MailNotification")
4462 Q_CLASSINFO("D-Bus Introspection", ""
4463 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.MailNotification\">\n"
4464 " <property access=\"read\" type=\"u\" name=\"MailNotificationFlags\"/>\n"
4465 " <property access=\"read\" type=\"u\" name=\"UnreadMailCount\"/>\n"
4466 " <property access=\"read\" type=\"aa{sv}\" name=\"UnreadMails\">\n"
4467 " <annotation value=\"Tp::MailList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
4468 " </property>\n"
4469 " <property access=\"read\" type=\"s\" name=\"MailAddress\"/>\n"
4470 " <method name=\"RequestInboxURL\">\n"
4471 " <arg direction=\"out\" type=\"(sua(ss))\" name=\"URL\">\n"
4472 " <annotation value=\"Tp::MailURL\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
4473 " </arg>\n"
4474 " </method>\n"
4475 " <method name=\"RequestMailURL\">\n"
4476 " <arg direction=\"in\" type=\"s\" name=\"ID\"/>\n"
4477 " <arg direction=\"in\" type=\"v\" name=\"URLData\"/>\n"
4478 " <arg direction=\"out\" type=\"(sua(ss))\" name=\"URL\">\n"
4479 " <annotation value=\"Tp::MailURL\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
4480 " </arg>\n"
4481 " </method>\n"
4482 " <signal name=\"MailsReceived\">\n"
4483 " <arg type=\"aa{sv}\" name=\"mails\">\n"
4484 " <annotation value=\"Tp::MailList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4485 " </arg>\n"
4486 " </signal>\n"
4487 " <signal name=\"UnreadMailsChanged\">\n"
4488 " <arg type=\"u\" name=\"count\"/>\n"
4489 " <arg type=\"aa{sv}\" name=\"mailsAdded\">\n"
4490 " <annotation value=\"Tp::MailList\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
4491 " </arg>\n"
4492 " <arg type=\"as\" name=\"mailsRemoved\"/>\n"
4493 " </signal>\n"
4494 " </interface>\n"
4495 "")
4496 Q_PROPERTY(uint MailNotificationFlags READ MailNotificationFlags )
4497 Q_PROPERTY(uint UnreadMailCount READ UnreadMailCount )
4498 Q_PROPERTY(Tp::MailList UnreadMails READ UnreadMails )
4499 Q_PROPERTY(QString MailAddress READ MailAddress )
4500
4501 public:
4502 ConnectionInterfaceMailNotificationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4503 virtual ~ConnectionInterfaceMailNotificationAdaptor();
4504
4505 typedef Tp::MethodInvocationContextPtr< Tp::MailURL > RequestInboxURLContextPtr;
4506 typedef Tp::MethodInvocationContextPtr< Tp::MailURL > RequestMailURLContextPtr;
4507
4508 public: // PROPERTIES
4525 uint MailNotificationFlags() const;
4552 uint UnreadMailCount() const;
4571 Tp::MailList UnreadMails() const;
4588 QString MailAddress() const;
4589
4590 public Q_SLOTS: // METHODS
4616 Tp::MailURL RequestInboxURL(const QDBusMessage& dbusMessage);
4646 Tp::MailURL RequestMailURL(const QString& ID, const QDBusVariant& URLData, const QDBusMessage& dbusMessage);
4647
4648 Q_SIGNALS: // SIGNALS
4670 void MailsReceived(const Tp::MailList& mails);
4704 void UnreadMailsChanged(uint count, const Tp::MailList& mailsAdded, const QStringList& mailsRemoved);
4705 };
4706
4714 class TP_QT_EXPORT ConnectionInterfacePowerSavingAdaptor : public Tp::AbstractAdaptor
4715 {
4716 Q_OBJECT
4717 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.PowerSaving")
4718 Q_CLASSINFO("D-Bus Introspection", ""
4719 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.PowerSaving\">\n"
4720 " <property access=\"read\" type=\"b\" name=\"PowerSavingActive\"/>\n"
4721 " <method name=\"SetPowerSaving\">\n"
4722 " <arg direction=\"in\" type=\"b\" name=\"activate\"/>\n"
4723 " </method>\n"
4724 " <signal name=\"PowerSavingChanged\">\n"
4725 " <arg type=\"b\" name=\"active\"/>\n"
4726 " </signal>\n"
4727 " </interface>\n"
4728 "")
4729 Q_PROPERTY(bool PowerSavingActive READ PowerSavingActive )
4730
4731 public:
4732 ConnectionInterfacePowerSavingAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4733 virtual ~ConnectionInterfacePowerSavingAdaptor();
4734
4735 typedef Tp::MethodInvocationContextPtr< > SetPowerSavingContextPtr;
4736
4737 public: // PROPERTIES
4755 bool PowerSavingActive() const;
4756
4757 public Q_SLOTS: // METHODS
4793 void SetPowerSaving(bool activate, const QDBusMessage& dbusMessage);
4794
4795 Q_SIGNALS: // SIGNALS
4808 void PowerSavingChanged(bool active);
4809 };
4810
4818 class TP_QT_EXPORT ConnectionInterfaceRequestsAdaptor : public Tp::AbstractAdaptor
4819 {
4820 Q_OBJECT
4821 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Requests")
4822 Q_CLASSINFO("D-Bus Introspection", ""
4823 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Requests\">\n"
4824 " <property access=\"read\" type=\"a(oa{sv})\" name=\"Channels\">\n"
4825 " <annotation value=\"Tp::ChannelDetailsList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
4826 " </property>\n"
4827 " <property access=\"read\" type=\"a(a{sv}as)\" name=\"RequestableChannelClasses\">\n"
4828 " <annotation value=\"Tp::RequestableChannelClassList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
4829 " </property>\n"
4830 " <method name=\"CreateChannel\">\n"
4831 " <arg direction=\"in\" type=\"a{sv}\" name=\"request\">\n"
4832 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4833 " </arg>\n"
4834 " <arg direction=\"out\" type=\"o\" name=\"channel\"/>\n"
4835 " <arg direction=\"out\" type=\"a{sv}\" name=\"properties\">\n"
4836 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
4837 " </arg>\n"
4838 " </method>\n"
4839 " <method name=\"EnsureChannel\">\n"
4840 " <arg direction=\"in\" type=\"a{sv}\" name=\"request\">\n"
4841 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4842 " </arg>\n"
4843 " <arg direction=\"out\" type=\"b\" name=\"yours\"/>\n"
4844 " <arg direction=\"out\" type=\"o\" name=\"channel\"/>\n"
4845 " <arg direction=\"out\" type=\"a{sv}\" name=\"properties\">\n"
4846 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out2\"/>\n"
4847 " </arg>\n"
4848 " </method>\n"
4849 " <signal name=\"NewChannels\">\n"
4850 " <arg type=\"a(oa{sv})\" name=\"channels\">\n"
4851 " <annotation value=\"Tp::ChannelDetailsList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4852 " </arg>\n"
4853 " </signal>\n"
4854 " <signal name=\"ChannelClosed\">\n"
4855 " <arg type=\"o\" name=\"removed\"/>\n"
4856 " </signal>\n"
4857 " </interface>\n"
4858 "")
4859 Q_PROPERTY(Tp::ChannelDetailsList Channels READ Channels )
4860 Q_PROPERTY(Tp::RequestableChannelClassList RequestableChannelClasses READ RequestableChannelClasses )
4861
4862 public:
4863 ConnectionInterfaceRequestsAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4864 virtual ~ConnectionInterfaceRequestsAdaptor();
4865
4866 typedef Tp::MethodInvocationContextPtr< QDBusObjectPath, QVariantMap > CreateChannelContextPtr;
4867 typedef Tp::MethodInvocationContextPtr< bool, QDBusObjectPath, QVariantMap > EnsureChannelContextPtr;
4868
4869 public: // PROPERTIES
4882 Tp::ChannelDetailsList Channels() const;
4914 Tp::RequestableChannelClassList RequestableChannelClasses() const;
4915
4916 public Q_SLOTS: // METHODS
4998 QDBusObjectPath CreateChannel(const QVariantMap& request, const QDBusMessage& dbusMessage, QVariantMap& properties);
5062 bool EnsureChannel(const QVariantMap& request, const QDBusMessage& dbusMessage, QDBusObjectPath& channel, QVariantMap& properties);
5063
5064 Q_SIGNALS: // SIGNALS
5079 void NewChannels(const Tp::ChannelDetailsList& channels);
5092 void ChannelClosed(const QDBusObjectPath& removed);
5093 };
5094
5102 class TP_QT_EXPORT ConnectionInterfaceServicePointAdaptor : public Tp::AbstractAdaptor
5103 {
5104 Q_OBJECT
5105 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ServicePoint")
5106 Q_CLASSINFO("D-Bus Introspection", ""
5107 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ServicePoint\">\n"
5108 " <property access=\"read\" type=\"a((us)as)\" name=\"KnownServicePoints\">\n"
5109 " <annotation value=\"Tp::ServicePointInfoList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
5110 " </property>\n"
5111 " <signal name=\"ServicePointsChanged\">\n"
5112 " <arg type=\"a((us)as)\" name=\"servicePoints\">\n"
5113 " <annotation value=\"Tp::ServicePointInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
5114 " </arg>\n"
5115 " </signal>\n"
5116 " </interface>\n"
5117 "")
5118 Q_PROPERTY(Tp::ServicePointInfoList KnownServicePoints READ KnownServicePoints )
5119
5120 public:
5121 ConnectionInterfaceServicePointAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
5122 virtual ~ConnectionInterfaceServicePointAdaptor();
5123
5124
5125 public: // PROPERTIES
5139 Tp::ServicePointInfoList KnownServicePoints() const;
5140
5141 Q_SIGNALS: // SIGNALS
5157 void ServicePointsChanged(const Tp::ServicePointInfoList& servicePoints);
5158 };
5159
5167 class TP_QT_EXPORT ConnectionInterfaceSimplePresenceAdaptor : public Tp::AbstractAdaptor
5168 {
5169 Q_OBJECT
5170 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.SimplePresence")
5171 Q_CLASSINFO("D-Bus Introspection", ""
5172 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.SimplePresence\">\n"
5173 " <property access=\"read\" type=\"a{s(ubb)}\" name=\"Statuses\">\n"
5174 " <annotation value=\"Tp::SimpleStatusSpecMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
5175 " </property>\n"
5176 " <property access=\"read\" type=\"u\" name=\"MaximumStatusMessageLength\"/>\n"
5177 " <method name=\"SetPresence\">\n"
5178 " <arg direction=\"in\" type=\"s\" name=\"status\"/>\n"
5179 " <arg direction=\"in\" type=\"s\" name=\"statusMessage\"/>\n"
5180 " </method>\n"
5181 " <method name=\"GetPresences\">\n"
5182 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
5183 " <arg direction=\"out\" type=\"a{u(uss)}\" name=\"presence\">\n"
5184 " <annotation value=\"Tp::SimpleContactPresences\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
5185 " </arg>\n"
5186 " </method>\n"
5187 " <signal name=\"PresencesChanged\">\n"
5188 " <arg type=\"a{u(uss)}\" name=\"presence\">\n"
5189 " <annotation value=\"Tp::SimpleContactPresences\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
5190 " </arg>\n"
5191 " </signal>\n"
5192 " </interface>\n"
5193 "")
5194 Q_PROPERTY(Tp::SimpleStatusSpecMap Statuses READ Statuses )
5195 Q_PROPERTY(uint MaximumStatusMessageLength READ MaximumStatusMessageLength )
5196
5197 public:
5198 ConnectionInterfaceSimplePresenceAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
5199 virtual ~ConnectionInterfaceSimplePresenceAdaptor();
5200
5201 typedef Tp::MethodInvocationContextPtr< > SetPresenceContextPtr;
5202 typedef Tp::MethodInvocationContextPtr< Tp::SimpleContactPresences > GetPresencesContextPtr;
5203
5204 public: // PROPERTIES
5248 Tp::SimpleStatusSpecMap Statuses() const;
5295 uint MaximumStatusMessageLength() const;
5296
5297 public Q_SLOTS: // METHODS
5362 void SetPresence(const QString& status, const QString& statusMessage, const QDBusMessage& dbusMessage);
5395 Tp::SimpleContactPresences GetPresences(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
5396
5397 Q_SIGNALS: // SIGNALS
5411 void PresencesChanged(const Tp::SimpleContactPresences& presence);
5412 };
5413
5414 }
5415 }
Tp::ChannelDetailsList
QList< ChannelDetails > ChannelDetailsList
Definition: build/TelepathyQt/_gen/types.h:820
Tp::ContactInfoFieldList
QList< ContactInfoField > ContactInfoFieldList
Definition: build/TelepathyQt/_gen/types.h:1188
Tp::ContactInfoMap
Definition: build/TelepathyQt/_gen/types.h:3459
Tp::Service::ConnectionInterfaceContactsAdaptor
Definition: svc-connection.h:4044
Tp::Service::ConnectionInterfaceAddressingAdaptor
Definition: svc-connection.h:857
Tp::Service::ConnectionInterfaceContactListAdaptor
Definition: svc-connection.h:3319
Tp::ContactBlockingCapabilities
QFlags< ContactBlockingCapability > ContactBlockingCapabilities
Definition: build/TelepathyQt/_gen/constants.h:288
Tp::AliasPairList
QList< AliasPair > AliasPairList
Definition: build/TelepathyQt/_gen/types.h:224
Tp::Service::ConnectionInterfaceBalanceAdaptor
Definition: svc-connection.h:1757
Tp::Service::ConnectionAdaptor
Definition: svc-connection.h:27
Tp::CurrencyAmount
Definition: build/TelepathyQt/_gen/types.h:1352
Tp::HandlerCapabilitiesList
QList< HandlerCapabilities > HandlerCapabilitiesList
Definition: build/TelepathyQt/_gen/types.h:3567
Tp::ContactLocations
Definition: build/TelepathyQt/_gen/types.h:1200
Tp::MailList
QList< Mail > MailList
Definition: build/TelepathyQt/_gen/types.h:1780
Tp::ContactListState
ContactListState
Definition: build/TelepathyQt/_gen/constants.h:1732
Tp::Service::ConnectionInterfaceCellularAdaptor
Definition: svc-connection.h:1851
Tp::AddressingNormalizationMap
Definition: build/TelepathyQt/_gen/types.h:161
Tp::ContactClientTypes
Definition: build/TelepathyQt/_gen/types.h:1007
Tp::Service::ConnectionInterfaceAliasingAdaptor
Definition: svc-connection.h:1062
Tp::Service::ConnectionInterfaceSimplePresenceAdaptor
Definition: svc-connection.h:5167
Tp::UIntList
Definition: build/TelepathyQt/_gen/types.h:101
Tp::Service::ConnectionInterfacePowerSavingAdaptor
Definition: svc-connection.h:4714
Tp::Service::ConnectionInterfaceContactGroupsAdaptor
Definition: svc-connection.h:2609
Tp::RequestableChannelClassList
QList< RequestableChannelClass > RequestableChannelClassList
Definition: build/TelepathyQt/_gen/types.h:2621
Tp::FieldSpecs
QList< FieldSpec > FieldSpecs
Definition: build/TelepathyQt/_gen/types.h:1562
Tp::ContactInfoFlags
QFlags< ContactInfoFlag > ContactInfoFlags
Definition: build/TelepathyQt/_gen/constants.h:324
Tp::ContactAttributesMap
Definition: build/TelepathyQt/_gen/types.h:950
Tp::RichPresenceAccessControl
Definition: build/TelepathyQt/_gen/types.h:2641
Tp::SimpleStatusSpecMap
Definition: build/TelepathyQt/_gen/types.h:3849
Tp::Service::ConnectionInterfaceLocationAdaptor
Definition: svc-connection.h:4233
Tp::Service::ConnectionInterfaceContactBlockingAdaptor
Definition: svc-connection.h:2255
Tp::Service::ConnectionInterfaceClientTypesAdaptor
Definition: svc-connection.h:2140
Tp::ServicePointInfoList
QList< ServicePointInfo > ServicePointInfoList
Definition: build/TelepathyQt/_gen/types.h:3814
Tp::MailNotificationFlags
QFlags< MailNotificationFlag > MailNotificationFlags
Definition: build/TelepathyQt/_gen/constants.h:505
Tp::ChannelInfoList
QList< ChannelInfo > ChannelInfoList
Definition: build/TelepathyQt/_gen/types.h:869
Tp::HandleIdentifierMap
Definition: build/TelepathyQt/_gen/types.h:1646
Tp::MailURL
Definition: build/TelepathyQt/_gen/types.h:3610
Tp::Service::ConnectionInterfaceAvatarsAdaptor
Definition: svc-connection.h:1341
Tp::Service::ConnectionInterfaceAnonymityAdaptor
Definition: svc-connection.h:1218
Tp::ContactSubscriptionMap
Definition: build/TelepathyQt/_gen/types.h:3505
Tp::AbstractAdaptor
Base class for all the low-level service-side adaptors.
Definition: abstract-adaptor.h:40
Tp::SimpleContactPresences
Definition: build/TelepathyQt/_gen/types.h:3827
Tp::Service::ConnectionInterfaceContactInfoAdaptor
Definition: svc-connection.h:3062
Tp::AvatarTokenMap
Definition: build/TelepathyQt/_gen/types.h:265
Tp::ContactCapabilitiesMap
Definition: build/TelepathyQt/_gen/types.h:3428
Tp::Service::ConnectionInterfaceServicePointAdaptor
Definition: svc-connection.h:5102
Tp::Service::ConnectionInterfaceMailNotificationAdaptor
Definition: svc-connection.h:4458
Tp::Service::ConnectionInterfaceRequestsAdaptor
Definition: svc-connection.h:4818
Tp::AliasMap
Definition: build/TelepathyQt/_gen/types.h:183
Tp::MailAddress
Definition: build/TelepathyQt/_gen/types.h:1802
Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptor
Definition: svc-connection.h:2448