8 #ifndef IN_TP_QT_HEADER
12 #include <TelepathyQt/Types>
20 #include <QDBusPendingReply>
22 #include <TelepathyQt/AbstractInterface>
23 #include <TelepathyQt/DBusProxy>
24 #include <TelepathyQt/Global>
29 class PendingOperation;
57 return QLatin1String(
"org.freedesktop.Telepathy.Connection");
68 const QString& busName,
69 const QString& objectPath,
82 const QDBusConnection& connection,
83 const QString& busName,
84 const QString& objectPath,
129 return internalRequestProperty(QLatin1String(
"Interfaces"));
147 return internalRequestProperty(QLatin1String(
"SelfHandle"));
165 return internalRequestProperty(QLatin1String(
"SelfID"));
188 return internalRequestProperty(QLatin1String(
"Status"));
207 return internalRequestProperty(QLatin1String(
"HasImmortalHandles"));
218 return internalRequestAllProperties();
239 inline QDBusPendingReply<>
Connect(
int timeout = -1)
241 if (!invalidationReason().isEmpty()) {
242 return QDBusPendingReply<>(QDBusMessage::createError(
243 invalidationReason(),
244 invalidationMessage()
248 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
249 this->staticInterfaceName(), QLatin1String(
"Connect"));
250 return this->connection().asyncCall(callMessage, timeout);
267 if (!invalidationReason().isEmpty()) {
268 return QDBusPendingReply<>(QDBusMessage::createError(
269 invalidationReason(),
270 invalidationMessage()
274 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
275 this->staticInterfaceName(), QLatin1String(
"Disconnect"));
276 return this->connection().asyncCall(callMessage, timeout);
299 if (!invalidationReason().isEmpty()) {
300 return QDBusPendingReply<QStringList>(QDBusMessage::createError(
301 invalidationReason(),
302 invalidationMessage()
306 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
307 this->staticInterfaceName(), QLatin1String(
"GetInterfaces"));
308 return this->connection().asyncCall(callMessage, timeout);
327 if (!invalidationReason().isEmpty()) {
328 return QDBusPendingReply<QString>(QDBusMessage::createError(
329 invalidationReason(),
330 invalidationMessage()
334 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
335 this->staticInterfaceName(), QLatin1String(
"GetProtocol"));
336 return this->connection().asyncCall(callMessage, timeout);
356 if (!invalidationReason().isEmpty()) {
357 return QDBusPendingReply<uint>(QDBusMessage::createError(
358 invalidationReason(),
359 invalidationMessage()
363 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
364 this->staticInterfaceName(), QLatin1String(
"GetSelfHandle"));
365 return this->connection().asyncCall(callMessage, timeout);
382 inline QDBusPendingReply<uint>
GetStatus(
int timeout = -1)
384 if (!invalidationReason().isEmpty()) {
385 return QDBusPendingReply<uint>(QDBusMessage::createError(
386 invalidationReason(),
387 invalidationMessage()
391 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
392 this->staticInterfaceName(), QLatin1String(
"GetStatus"));
393 return this->connection().asyncCall(callMessage, timeout);
440 if (!invalidationReason().isEmpty()) {
441 return QDBusPendingReply<>(QDBusMessage::createError(
442 invalidationReason(),
443 invalidationMessage()
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);
478 if (!invalidationReason().isEmpty()) {
479 return QDBusPendingReply<QStringList>(QDBusMessage::createError(
480 invalidationReason(),
481 invalidationMessage()
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);
505 inline QDBusPendingReply<Tp::ChannelInfoList>
ListChannels(
int timeout = -1)
507 if (!invalidationReason().isEmpty()) {
508 return QDBusPendingReply<Tp::ChannelInfoList>(QDBusMessage::createError(
509 invalidationReason(),
510 invalidationMessage()
514 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
515 this->staticInterfaceName(), QLatin1String(
"ListChannels"));
516 return this->connection().asyncCall(callMessage, timeout);
546 if (!invalidationReason().isEmpty()) {
547 return QDBusPendingReply<>(QDBusMessage::createError(
548 invalidationReason(),
549 invalidationMessage()
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);
638 inline QDBusPendingReply<QDBusObjectPath>
RequestChannel(
const QString& type, uint handleType, uint handle,
bool suppressHandler,
int timeout = -1)
640 if (!invalidationReason().isEmpty()) {
641 return QDBusPendingReply<QDBusObjectPath>(QDBusMessage::createError(
642 invalidationReason(),
643 invalidationMessage()
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);
693 inline QDBusPendingReply<Tp::UIntList>
RequestHandles(uint handleType,
const QStringList& identifiers,
int timeout = -1)
695 if (!invalidationReason().isEmpty()) {
696 return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
697 invalidationReason(),
698 invalidationMessage()
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);
803 if (!invalidationReason().isEmpty()) {
804 return QDBusPendingReply<>(QDBusMessage::createError(
805 invalidationReason(),
806 invalidationMessage()
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);
849 if (!invalidationReason().isEmpty()) {
850 return QDBusPendingReply<>(QDBusMessage::createError(
851 invalidationReason(),
852 invalidationMessage()
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);
874 void SelfHandleChanged(uint selfHandle);
891 void SelfContactChanged(uint selfHandle,
const QString& selfID);
936 void NewChannel(
const QDBusObjectPath& objectPath,
const QString& channelType, uint handleType, uint handle,
bool suppressHandler);
1007 void ConnectionError(
const QString& error,
const QVariantMap& details);
1025 void StatusChanged(uint status, uint reason);
1028 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
1051 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.Addressing1");
1062 const QString& busName,
1063 const QString& objectPath,
1076 const QDBusConnection& connection,
1077 const QString& busName,
1078 const QString& objectPath,
1116 return internalRequestAllProperties();
1209 inline QDBusPendingReply<Tp::AddressingNormalizationMap, Tp::ContactAttributesMap>
GetContactsByVCardField(
const QString& field,
const QStringList& addresses,
const QStringList& interfaces,
int timeout = -1)
1211 if (!invalidationReason().isEmpty()) {
1212 return QDBusPendingReply<Tp::AddressingNormalizationMap, Tp::ContactAttributesMap>(QDBusMessage::createError(
1213 invalidationReason(),
1214 invalidationMessage()
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);
1294 inline QDBusPendingReply<Tp::AddressingNormalizationMap, Tp::ContactAttributesMap>
GetContactsByURI(
const QStringList& URIs,
const QStringList& interfaces,
int timeout = -1)
1296 if (!invalidationReason().isEmpty()) {
1297 return QDBusPendingReply<Tp::AddressingNormalizationMap, Tp::ContactAttributesMap>(QDBusMessage::createError(
1298 invalidationReason(),
1299 invalidationMessage()
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);
1310 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
1333 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.Aliasing");
1344 const QString& busName,
1345 const QString& objectPath,
1358 const QDBusConnection& connection,
1359 const QString& busName,
1360 const QString& objectPath,
1398 return internalRequestAllProperties();
1419 if (!invalidationReason().isEmpty()) {
1420 return QDBusPendingReply<uint>(QDBusMessage::createError(
1421 invalidationReason(),
1422 invalidationMessage()
1426 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1427 this->staticInterfaceName(), QLatin1String(
"GetAliasFlags"));
1428 return this->connection().asyncCall(callMessage, timeout);
1451 if (!invalidationReason().isEmpty()) {
1452 return QDBusPendingReply<QStringList>(QDBusMessage::createError(
1453 invalidationReason(),
1454 invalidationMessage()
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);
1488 if (!invalidationReason().isEmpty()) {
1489 return QDBusPendingReply<Tp::AliasMap>(QDBusMessage::createError(
1490 invalidationReason(),
1491 invalidationMessage()
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);
1522 if (!invalidationReason().isEmpty()) {
1523 return QDBusPendingReply<>(QDBusMessage::createError(
1524 invalidationReason(),
1525 invalidationMessage()
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);
1555 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
1578 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.Anonymity");
1589 const QString& busName,
1590 const QString& objectPath,
1603 const QDBusConnection& connection,
1604 const QString& busName,
1605 const QString& objectPath,
1647 return internalRequestProperty(QLatin1String(
"SupportedAnonymityModes"));
1667 return internalRequestProperty(QLatin1String(
"AnonymityMandatory"));
1687 return internalSetProperty(QLatin1String(
"AnonymityMandatory"), QVariant::fromValue(newValue));
1704 return internalRequestProperty(QLatin1String(
"AnonymityModes"));
1721 return internalSetProperty(QLatin1String(
"AnonymityModes"), QVariant::fromValue(newValue));
1732 return internalRequestAllProperties();
1745 void AnonymityModesChanged(uint modes);
1748 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
1771 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.Avatars");
1782 const QString& busName,
1783 const QString& objectPath,
1796 const QDBusConnection& connection,
1797 const QString& busName,
1798 const QString& objectPath,
1841 return internalRequestProperty(QLatin1String(
"SupportedAvatarMIMETypes"));
1857 return internalRequestProperty(QLatin1String(
"MinimumAvatarHeight"));
1873 return internalRequestProperty(QLatin1String(
"MinimumAvatarWidth"));
1892 return internalRequestProperty(QLatin1String(
"RecommendedAvatarHeight"));
1909 return internalRequestProperty(QLatin1String(
"RecommendedAvatarWidth"));
1925 return internalRequestProperty(QLatin1String(
"MaximumAvatarHeight"));
1941 return internalRequestProperty(QLatin1String(
"MaximumAvatarWidth"));
1957 return internalRequestProperty(QLatin1String(
"MaximumAvatarBytes"));
1968 return internalRequestAllProperties();
2008 if (!invalidationReason().isEmpty()) {
2009 return QDBusPendingReply<QStringList, ushort, ushort, ushort, ushort, uint>(QDBusMessage::createError(
2010 invalidationReason(),
2011 invalidationMessage()
2015 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2016 this->staticInterfaceName(), QLatin1String(
"GetAvatarRequirements"));
2017 return this->connection().asyncCall(callMessage, timeout);
2043 if (!invalidationReason().isEmpty()) {
2044 return QDBusPendingReply<QStringList>(QDBusMessage::createError(
2045 invalidationReason(),
2046 invalidationMessage()
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);
2085 if (!invalidationReason().isEmpty()) {
2086 return QDBusPendingReply<Tp::AvatarTokenMap>(QDBusMessage::createError(
2087 invalidationReason(),
2088 invalidationMessage()
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);
2122 inline QDBusPendingReply<QByteArray, QString>
RequestAvatar(uint contact,
int timeout = -1)
2124 if (!invalidationReason().isEmpty()) {
2125 return QDBusPendingReply<QByteArray, QString>(QDBusMessage::createError(
2126 invalidationReason(),
2127 invalidationMessage()
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);
2157 if (!invalidationReason().isEmpty()) {
2158 return QDBusPendingReply<>(QDBusMessage::createError(
2159 invalidationReason(),
2160 invalidationMessage()
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);
2193 inline QDBusPendingReply<QString>
SetAvatar(
const QByteArray& avatar,
const QString& MIMEType,
int timeout = -1)
2195 if (!invalidationReason().isEmpty()) {
2196 return QDBusPendingReply<QString>(QDBusMessage::createError(
2197 invalidationReason(),
2198 invalidationMessage()
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);
2220 if (!invalidationReason().isEmpty()) {
2221 return QDBusPendingReply<>(QDBusMessage::createError(
2222 invalidationReason(),
2223 invalidationMessage()
2227 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2228 this->staticInterfaceName(), QLatin1String(
"ClearAvatar"));
2229 return this->connection().asyncCall(callMessage, timeout);
2249 void AvatarUpdated(uint contact,
const QString& newAvatarToken);
2273 void AvatarRetrieved(uint contact,
const QString& token,
const QByteArray& avatar,
const QString& type);
2276 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
2299 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.Balance");
2310 const QString& busName,
2311 const QString& objectPath,
2324 const QDBusConnection& connection,
2325 const QString& busName,
2326 const QString& objectPath,
2376 return internalRequestProperty(QLatin1String(
"AccountBalance"));
2398 return internalRequestProperty(QLatin1String(
"ManageCreditURI"));
2409 return internalRequestAllProperties();
2430 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
2453 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.Capabilities");
2464 const QString& busName,
2465 const QString& objectPath,
2478 const QDBusConnection& connection,
2479 const QString& busName,
2480 const QString& objectPath,
2518 return internalRequestAllProperties();
2577 if (!invalidationReason().isEmpty()) {
2578 return QDBusPendingReply<Tp::CapabilityPairList>(QDBusMessage::createError(
2579 invalidationReason(),
2580 invalidationMessage()
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);
2626 if (!invalidationReason().isEmpty()) {
2627 return QDBusPendingReply<Tp::ContactCapabilityList>(QDBusMessage::createError(
2628 invalidationReason(),
2629 invalidationMessage()
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);
2669 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
2692 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.Cellular");
2703 const QString& busName,
2704 const QString& objectPath,
2717 const QDBusConnection& connection,
2718 const QString& busName,
2719 const QString& objectPath,
2769 return internalRequestProperty(QLatin1String(
"MessageValidityPeriod"));
2792 return internalSetProperty(QLatin1String(
"MessageValidityPeriod"), QVariant::fromValue(newValue));
2819 return internalRequestProperty(QLatin1String(
"OverrideMessageServiceCentre"));
2846 return internalSetProperty(QLatin1String(
"OverrideMessageServiceCentre"), QVariant::fromValue(newValue));
2867 return internalRequestProperty(QLatin1String(
"MessageServiceCentre"));
2888 return internalSetProperty(QLatin1String(
"MessageServiceCentre"), QVariant::fromValue(newValue));
2906 return internalRequestProperty(QLatin1String(
"IMSI"));
2929 return internalRequestProperty(QLatin1String(
"MessageReducedCharacterSet"));
2952 return internalSetProperty(QLatin1String(
"MessageReducedCharacterSet"), QVariant::fromValue(newValue));
2982 return internalRequestProperty(QLatin1String(
"MessageNationalCharacterSet"));
3012 return internalSetProperty(QLatin1String(
"MessageNationalCharacterSet"), QVariant::fromValue(newValue));
3023 return internalRequestAllProperties();
3042 void IMSIChanged(
const QString& IMSI);
3045 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
3068 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.ClientTypes");
3079 const QString& busName,
3080 const QString& objectPath,
3093 const QDBusConnection& connection,
3094 const QString& busName,
3095 const QString& objectPath,
3133 return internalRequestAllProperties();
3167 if (!invalidationReason().isEmpty()) {
3168 return QDBusPendingReply<Tp::ContactClientTypes>(QDBusMessage::createError(
3169 invalidationReason(),
3170 invalidationMessage()
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);
3206 if (!invalidationReason().isEmpty()) {
3207 return QDBusPendingReply<QStringList>(QDBusMessage::createError(
3208 invalidationReason(),
3209 invalidationMessage()
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);
3234 void ClientTypesUpdated(uint contact,
const QStringList& clientTypes);
3237 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
3260 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.ContactBlocking");
3271 const QString& busName,
3272 const QString& objectPath,
3285 const QDBusConnection& connection,
3286 const QString& busName,
3287 const QString& objectPath,
3335 return internalRequestProperty(QLatin1String(
"ContactBlockingCapabilities"));
3346 return internalRequestAllProperties();
3411 if (!invalidationReason().isEmpty()) {
3412 return QDBusPendingReply<>(QDBusMessage::createError(
3413 invalidationReason(),
3414 invalidationMessage()
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);
3444 if (!invalidationReason().isEmpty()) {
3445 return QDBusPendingReply<>(QDBusMessage::createError(
3446 invalidationReason(),
3447 invalidationMessage()
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);
3479 if (!invalidationReason().isEmpty()) {
3480 return QDBusPendingReply<Tp::HandleIdentifierMap>(QDBusMessage::createError(
3481 invalidationReason(),
3482 invalidationMessage()
3486 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3487 this->staticInterfaceName(), QLatin1String(
"RequestBlockedContacts"));
3488 return this->connection().asyncCall(callMessage, timeout);
3513 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
3536 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.ContactCapabilities");
3547 const QString& busName,
3548 const QString& objectPath,
3561 const QDBusConnection& connection,
3562 const QString& busName,
3563 const QString& objectPath,
3601 return internalRequestAllProperties();
3669 if (!invalidationReason().isEmpty()) {
3670 return QDBusPendingReply<>(QDBusMessage::createError(
3671 invalidationReason(),
3672 invalidationMessage()
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);
3719 if (!invalidationReason().isEmpty()) {
3720 return QDBusPendingReply<Tp::ContactCapabilitiesMap>(QDBusMessage::createError(
3721 invalidationReason(),
3722 invalidationMessage()
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);
3756 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
3779 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.ContactGroups");
3790 const QString& busName,
3791 const QString& objectPath,
3804 const QDBusConnection& connection,
3805 const QString& busName,
3806 const QString& objectPath,
3854 return internalRequestProperty(QLatin1String(
"DisjointGroups"));
3871 return internalRequestProperty(QLatin1String(
"GroupStorage"));
3899 return internalRequestProperty(QLatin1String(
"Groups"));
3910 return internalRequestAllProperties();
3962 inline QDBusPendingReply<>
SetContactGroups(uint contact,
const QStringList& groups,
int timeout = -1)
3964 if (!invalidationReason().isEmpty()) {
3965 return QDBusPendingReply<>(QDBusMessage::createError(
3966 invalidationReason(),
3967 invalidationMessage()
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);
4026 if (!invalidationReason().isEmpty()) {
4027 return QDBusPendingReply<>(QDBusMessage::createError(
4028 invalidationReason(),
4029 invalidationMessage()
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);
4081 if (!invalidationReason().isEmpty()) {
4082 return QDBusPendingReply<>(QDBusMessage::createError(
4083 invalidationReason(),
4084 invalidationMessage()
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);
4135 if (!invalidationReason().isEmpty()) {
4136 return QDBusPendingReply<>(QDBusMessage::createError(
4137 invalidationReason(),
4138 invalidationMessage()
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);
4176 inline QDBusPendingReply<>
RemoveGroup(
const QString& group,
int timeout = -1)
4178 if (!invalidationReason().isEmpty()) {
4179 return QDBusPendingReply<>(QDBusMessage::createError(
4180 invalidationReason(),
4181 invalidationMessage()
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);
4230 inline QDBusPendingReply<>
RenameGroup(
const QString& oldName,
const QString& newName,
int timeout = -1)
4232 if (!invalidationReason().isEmpty()) {
4233 return QDBusPendingReply<>(QDBusMessage::createError(
4234 invalidationReason(),
4235 invalidationMessage()
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);
4263 void GroupsChanged(
const Tp::UIntList& contact,
const QStringList& added,
const QStringList& removed);
4275 void GroupsCreated(
const QStringList& names);
4324 void GroupRenamed(
const QString& oldName,
const QString& newName);
4352 void GroupsRemoved(
const QStringList& names);
4355 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
4378 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.ContactInfo");
4389 const QString& busName,
4390 const QString& objectPath,
4403 const QDBusConnection& connection,
4404 const QString& busName,
4405 const QString& objectPath,
4460 return internalRequestProperty(QLatin1String(
"ContactInfoFlags"));
4522 return internalRequestProperty(QLatin1String(
"SupportedFields"));
4533 return internalRequestAllProperties();
4561 if (!invalidationReason().isEmpty()) {
4562 return QDBusPendingReply<Tp::ContactInfoMap>(QDBusMessage::createError(
4563 invalidationReason(),
4564 invalidationMessage()
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);
4595 if (!invalidationReason().isEmpty()) {
4596 return QDBusPendingReply<>(QDBusMessage::createError(
4597 invalidationReason(),
4598 invalidationMessage()
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);
4631 if (!invalidationReason().isEmpty()) {
4632 return QDBusPendingReply<Tp::ContactInfoFieldList>(QDBusMessage::createError(
4633 invalidationReason(),
4634 invalidationMessage()
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);
4663 if (!invalidationReason().isEmpty()) {
4664 return QDBusPendingReply<>(QDBusMessage::createError(
4665 invalidationReason(),
4666 invalidationMessage()
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);
4696 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
4719 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.ContactList");
4730 const QString& busName,
4731 const QString& objectPath,
4744 const QDBusConnection& connection,
4745 const QString& busName,
4746 const QString& objectPath,
4788 return internalRequestProperty(QLatin1String(
"ContactListState"));
4852 return internalRequestProperty(QLatin1String(
"ContactListPersists"));
4885 return internalRequestProperty(QLatin1String(
"CanChangeContactList"));
4918 return internalRequestProperty(QLatin1String(
"RequestUsesMessage"));
4954 return internalRequestProperty(QLatin1String(
"DownloadAtConnection"));
4965 return internalRequestAllProperties();
5040 inline QDBusPendingReply<Tp::ContactAttributesMap>
GetContactListAttributes(
const QStringList& interfaces,
bool hold,
int timeout = -1)
5042 if (!invalidationReason().isEmpty()) {
5043 return QDBusPendingReply<Tp::ContactAttributesMap>(QDBusMessage::createError(
5044 invalidationReason(),
5045 invalidationMessage()
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);
5167 if (!invalidationReason().isEmpty()) {
5168 return QDBusPendingReply<>(QDBusMessage::createError(
5169 invalidationReason(),
5170 invalidationMessage()
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);
5253 if (!invalidationReason().isEmpty()) {
5254 return QDBusPendingReply<>(QDBusMessage::createError(
5255 invalidationReason(),
5256 invalidationMessage()
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);
5317 if (!invalidationReason().isEmpty()) {
5318 return QDBusPendingReply<>(QDBusMessage::createError(
5319 invalidationReason(),
5320 invalidationMessage()
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);
5368 if (!invalidationReason().isEmpty()) {
5369 return QDBusPendingReply<>(QDBusMessage::createError(
5370 invalidationReason(),
5371 invalidationMessage()
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);
5419 if (!invalidationReason().isEmpty()) {
5420 return QDBusPendingReply<>(QDBusMessage::createError(
5421 invalidationReason(),
5422 invalidationMessage()
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);
5448 if (!invalidationReason().isEmpty()) {
5449 return QDBusPendingReply<>(QDBusMessage::createError(
5450 invalidationReason(),
5451 invalidationMessage()
5455 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5456 this->staticInterfaceName(), QLatin1String(
"Download"));
5457 return this->connection().asyncCall(callMessage, timeout);
5470 void ContactListStateChanged(uint contactListState);
5549 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
5572 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.Contacts");
5583 const QString& busName,
5584 const QString& objectPath,
5597 const QDBusConnection& connection,
5598 const QString& busName,
5599 const QString& objectPath,
5641 return internalRequestProperty(QLatin1String(
"ContactAttributeInterfaces"));
5652 return internalRequestAllProperties();
5740 if (!invalidationReason().isEmpty()) {
5741 return QDBusPendingReply<Tp::ContactAttributesMap>(QDBusMessage::createError(
5742 invalidationReason(),
5743 invalidationMessage()
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);
5801 inline QDBusPendingReply<uint, QVariantMap>
GetContactByID(
const QString& identifier,
const QStringList& interfaces,
int timeout = -1)
5803 if (!invalidationReason().isEmpty()) {
5804 return QDBusPendingReply<uint, QVariantMap>(QDBusMessage::createError(
5805 invalidationReason(),
5806 invalidationMessage()
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);
5817 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
5840 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.Location");
5851 const QString& busName,
5852 const QString& objectPath,
5865 const QDBusConnection& connection,
5866 const QString& busName,
5867 const QString& objectPath,
5908 return internalRequestProperty(QLatin1String(
"LocationAccessControlTypes"));
5925 return internalRequestProperty(QLatin1String(
"LocationAccessControl"));
5942 return internalSetProperty(QLatin1String(
"LocationAccessControl"), QVariant::fromValue(newValue));
5960 return internalRequestProperty(QLatin1String(
"SupportedLocationFeatures"));
5971 return internalRequestAllProperties();
6017 if (!invalidationReason().isEmpty()) {
6018 return QDBusPendingReply<Tp::ContactLocations>(QDBusMessage::createError(
6019 invalidationReason(),
6020 invalidationMessage()
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);
6056 if (!invalidationReason().isEmpty()) {
6057 return QDBusPendingReply<QVariantMap>(QDBusMessage::createError(
6058 invalidationReason(),
6059 invalidationMessage()
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);
6090 inline QDBusPendingReply<>
SetLocation(
const QVariantMap& location,
int timeout = -1)
6092 if (!invalidationReason().isEmpty()) {
6093 return QDBusPendingReply<>(QDBusMessage::createError(
6094 invalidationReason(),
6095 invalidationMessage()
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);
6120 void LocationUpdated(uint contact,
const QVariantMap& location);
6123 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
6146 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.MailNotification");
6157 const QString& busName,
6158 const QString& objectPath,
6171 const QDBusConnection& connection,
6172 const QString& busName,
6173 const QString& objectPath,
6219 return internalRequestProperty(QLatin1String(
"MailNotificationFlags"));
6248 return internalRequestProperty(QLatin1String(
"UnreadMailCount"));
6269 return internalRequestProperty(QLatin1String(
"UnreadMails"));
6288 return internalRequestProperty(QLatin1String(
"MailAddress"));
6299 return internalRequestAllProperties();
6328 if (!invalidationReason().isEmpty()) {
6329 return QDBusPendingReply<Tp::MailURL>(QDBusMessage::createError(
6330 invalidationReason(),
6331 invalidationMessage()
6335 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6336 this->staticInterfaceName(), QLatin1String(
"RequestInboxURL"));
6337 return this->connection().asyncCall(callMessage, timeout);
6369 inline QDBusPendingReply<Tp::MailURL>
RequestMailURL(
const QString& ID,
const QDBusVariant& URLData,
int timeout = -1)
6371 if (!invalidationReason().isEmpty()) {
6372 return QDBusPendingReply<Tp::MailURL>(QDBusMessage::createError(
6373 invalidationReason(),
6374 invalidationMessage()
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);
6450 void UnreadMailsChanged(uint count,
const Tp::MailList& mailsAdded,
const QStringList& mailsRemoved);
6453 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
6476 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.PowerSaving");
6487 const QString& busName,
6488 const QString& objectPath,
6501 const QDBusConnection& connection,
6502 const QString& busName,
6503 const QString& objectPath,
6550 return internalRequestProperty(QLatin1String(
"PowerSavingActive"));
6561 return internalRequestAllProperties();
6600 if (!invalidationReason().isEmpty()) {
6601 return QDBusPendingReply<>(QDBusMessage::createError(
6602 invalidationReason(),
6603 invalidationMessage()
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);
6626 void PowerSavingChanged(
bool active);
6629 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
6652 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.Presence");
6663 const QString& busName,
6664 const QString& objectPath,
6677 const QDBusConnection& connection,
6678 const QString& busName,
6679 const QString& objectPath,
6717 return internalRequestAllProperties();
6742 inline QDBusPendingReply<>
AddStatus(
const QString& status,
const QVariantMap& parameters,
int timeout = -1)
6744 if (!invalidationReason().isEmpty()) {
6745 return QDBusPendingReply<>(QDBusMessage::createError(
6746 invalidationReason(),
6747 invalidationMessage()
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);
6772 if (!invalidationReason().isEmpty()) {
6773 return QDBusPendingReply<>(QDBusMessage::createError(
6774 invalidationReason(),
6775 invalidationMessage()
6779 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6780 this->staticInterfaceName(), QLatin1String(
"ClearStatus"));
6781 return this->connection().asyncCall(callMessage, timeout);
6809 if (!invalidationReason().isEmpty()) {
6810 return QDBusPendingReply<Tp::ContactPresences>(QDBusMessage::createError(
6811 invalidationReason(),
6812 invalidationMessage()
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);
6843 inline QDBusPendingReply<Tp::StatusSpecMap>
GetStatuses(
int timeout = -1)
6845 if (!invalidationReason().isEmpty()) {
6846 return QDBusPendingReply<Tp::StatusSpecMap>(QDBusMessage::createError(
6847 invalidationReason(),
6848 invalidationMessage()
6852 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6853 this->staticInterfaceName(), QLatin1String(
"GetStatuses"));
6854 return this->connection().asyncCall(callMessage, timeout);
6875 inline QDBusPendingReply<>
RemoveStatus(
const QString& status,
int timeout = -1)
6877 if (!invalidationReason().isEmpty()) {
6878 return QDBusPendingReply<>(QDBusMessage::createError(
6879 invalidationReason(),
6880 invalidationMessage()
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);
6910 if (!invalidationReason().isEmpty()) {
6911 return QDBusPendingReply<>(QDBusMessage::createError(
6912 invalidationReason(),
6913 invalidationMessage()
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);
6940 if (!invalidationReason().isEmpty()) {
6941 return QDBusPendingReply<>(QDBusMessage::createError(
6942 invalidationReason(),
6943 invalidationMessage()
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);
6992 if (!invalidationReason().isEmpty()) {
6993 return QDBusPendingReply<>(QDBusMessage::createError(
6994 invalidationReason(),
6995 invalidationMessage()
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);
7025 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
7048 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.Requests");
7059 const QString& busName,
7060 const QString& objectPath,
7073 const QDBusConnection& connection,
7074 const QString& busName,
7075 const QString& objectPath,
7117 return internalRequestProperty(QLatin1String(
"Channels"));
7151 return internalRequestProperty(QLatin1String(
"RequestableChannelClasses"));
7162 return internalRequestAllProperties();
7247 inline QDBusPendingReply<QDBusObjectPath, QVariantMap>
CreateChannel(
const QVariantMap& request,
int timeout = -1)
7249 if (!invalidationReason().isEmpty()) {
7250 return QDBusPendingReply<QDBusObjectPath, QVariantMap>(QDBusMessage::createError(
7251 invalidationReason(),
7252 invalidationMessage()
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);
7326 inline QDBusPendingReply<bool, QDBusObjectPath, QVariantMap>
EnsureChannel(
const QVariantMap& request,
int timeout = -1)
7328 if (!invalidationReason().isEmpty()) {
7329 return QDBusPendingReply<bool, QDBusObjectPath, QVariantMap>(QDBusMessage::createError(
7330 invalidationReason(),
7331 invalidationMessage()
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);
7399 void ChannelClosed(
const QDBusObjectPath& removed);
7402 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
7425 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.ServicePoint");
7436 const QString& busName,
7437 const QString& objectPath,
7450 const QDBusConnection& connection,
7451 const QString& busName,
7452 const QString& objectPath,
7495 return internalRequestProperty(QLatin1String(
"KnownServicePoints"));
7506 return internalRequestAllProperties();
7526 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
7549 return QLatin1String(
"org.freedesktop.Telepathy.Connection.Interface.SimplePresence");
7560 const QString& busName,
7561 const QString& objectPath,
7574 const QDBusConnection& connection,
7575 const QString& busName,
7576 const QString& objectPath,
7649 return internalRequestProperty(QLatin1String(
"Statuses"));
7698 return internalRequestProperty(QLatin1String(
"MaximumStatusMessageLength"));
7709 return internalRequestAllProperties();
7776 inline QDBusPendingReply<>
SetPresence(
const QString& status,
const QString& statusMessage,
int timeout = -1)
7778 if (!invalidationReason().isEmpty()) {
7779 return QDBusPendingReply<>(QDBusMessage::createError(
7780 invalidationReason(),
7781 invalidationMessage()
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);
7824 if (!invalidationReason().isEmpty()) {
7825 return QDBusPendingReply<Tp::SimpleContactPresences>(QDBusMessage::createError(
7826 invalidationReason(),
7827 invalidationMessage()
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);
7853 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
7858 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceAddressingInterface*)
7859 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceAliasingInterface*)
7860 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceAnonymityInterface*)
7861 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceAvatarsInterface*)
7862 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceBalanceInterface*)
7863 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceCapabilitiesInterface*)
7864 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceCellularInterface*)
7865 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceClientTypesInterface*)
7866 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceContactBlockingInterface*)
7867 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceContactCapabilitiesInterface*)
7868 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceContactGroupsInterface*)
7869 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceContactInfoInterface*)
7870 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceContactListInterface*)
7871 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceContactsInterface*)
7872 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceLocationInterface*)
7873 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceMailNotificationInterface*)
7874 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfacePowerSavingInterface*)
7875 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfacePresenceInterface*)
7876 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceRequestsInterface*)
7877 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceServicePointInterface*)
7878 Q_DECLARE_METATYPE(Tp::Client::ConnectionInterfaceSimplePresenceInterface*)
QList< ChannelDetails > ChannelDetailsList
Definition: build/TelepathyQt/_gen/types.h:820
Tp::PendingVariant * requestPropertyRecommendedAvatarHeight() const
Definition: cli-connection.h:1890
QDBusPendingReply< QStringList, ushort, ushort, ushort, ushort, uint > GetAvatarRequirements(int timeout=-1)
Definition: cli-connection.h:2006
Tp::PendingVariant * requestPropertyPowerSavingActive() const
Definition: cli-connection.h:6548
QList< ContactInfoField > ContactInfoFieldList
Definition: build/TelepathyQt/_gen/types.h:1188
Tp::PendingVariant * requestPropertyContactAttributeInterfaces() const
Definition: cli-connection.h:5639
QDBusPendingReply< Tp::ContactInfoFieldList > RequestContactInfo(uint contact, int timeout=-1)
Definition: cli-connection.h:4629
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:7547
Tp::PendingOperation * setPropertyMessageNationalCharacterSet(QString newValue)
Definition: cli-connection.h:3010
QDBusPendingReply AddStatus(const QString &status, const QVariantMap ¶meters, int timeout=-1)
Definition: cli-connection.h:6742
Tp::PendingVariant * requestPropertySelfID() const
Definition: cli-connection.h:163
Tp::PendingVariant * requestPropertyStatuses() const
Definition: cli-connection.h:7647
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
QDBusPendingReply< Tp::SimpleContactPresences > GetPresences(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:7822
Tp::PendingVariant * requestPropertyContactListState() const
Definition: cli-connection.h:4786
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:2690
QList< CapabilityChange > CapabilityChangeList
Definition: build/TelepathyQt/_gen/types.h:522
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:3258
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:3131
Definition: build/TelepathyQt/_gen/types.h:3917
QDBusPendingReply RemoveStatus(const QString &status, int timeout=-1)
Definition: cli-connection.h:6875
QDBusPendingReply< QByteArray, QString > RequestAvatar(uint contact, int timeout=-1)
Definition: cli-connection.h:2122
Tp::PendingOperation * setPropertyMessageServiceCentre(QString newValue)
Definition: cli-connection.h:2886
QDBusPendingReply SetGroupMembers(const QString &group, const Tp::UIntList &members, int timeout=-1)
Definition: cli-connection.h:4024
QDBusPendingReply RequestSubscription(const Tp::UIntList &contacts, const QString &message, int timeout=-1)
Definition: cli-connection.h:5165
QDBusPendingReply< Tp::ContactClientTypes > GetClientTypes(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:3165
Tp::PendingVariant * requestPropertyMailAddress() const
Definition: cli-connection.h:6286
QDBusPendingReply< QString > GetProtocol(int timeout=-1)
Definition: cli-connection.h:325
Definition: cli-connection.h:7035
QDBusPendingReply< uint > GetAliasFlags(int timeout=-1)
Definition: cli-connection.h:1417
Tp::PendingVariant * requestPropertyRequestableChannelClasses() const
Definition: cli-connection.h:7149
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:7046
Definition: cli-connection.h:6639
QList< AliasPair > AliasPairList
Definition: build/TelepathyQt/_gen/types.h:224
Definition: cli-connection.h:3766
QDBusPendingReply Connect(int timeout=-1)
Definition: cli-connection.h:239
QDBusPendingReply< QString > SetAvatar(const QByteArray &avatar, const QString &MIMEType, int timeout=-1)
Definition: cli-connection.h:2193
Tp::PendingVariant * requestPropertyStatus() const
Definition: cli-connection.h:186
QDBusPendingReply SetPresence(const QString &status, const QString &statusMessage, int timeout=-1)
Definition: cli-connection.h:7776
Tp::PendingVariant * requestPropertyChannels() const
Definition: cli-connection.h:7115
Definition: build/TelepathyQt/_gen/types.h:1352
Tp::PendingVariant * requestPropertyAnonymityMandatory() const
Definition: cli-connection.h:1665
QDBusPendingReply< Tp::MailURL > RequestMailURL(const QString &ID, const QDBusVariant &URLData, int timeout=-1)
Definition: cli-connection.h:6369
QDBusPendingReply Disconnect(int timeout=-1)
Definition: cli-connection.h:265
Tp::PendingVariant * requestPropertyMessageReducedCharacterSet() const
Definition: cli-connection.h:2927
QList< HandlerCapabilities > HandlerCapabilitiesList
Definition: build/TelepathyQt/_gen/types.h:3567
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:6297
QDBusPendingReply Unpublish(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:5417
QList< Mail > MailList
Definition: build/TelepathyQt/_gen/types.h:1780
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:6715
Tp::PendingVariant * requestPropertyMinimumAvatarHeight() const
Definition: cli-connection.h:1855
QDBusPendingReply< Tp::ContactAttributesMap > GetContactAttributes(const Tp::UIntList &handles, const QStringList &interfaces, bool hold, int timeout=-1)
Definition: cli-connection.h:5738
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:216
QDBusPendingReply< Tp::ContactLocations > GetLocations(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:6015
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:6650
QDBusPendingReply AddToGroup(const QString &group, const Tp::UIntList &members, int timeout=-1)
Definition: cli-connection.h:4079
QDBusPendingReply< Tp::ContactCapabilitiesMap > GetContactCapabilities(const Tp::UIntList &handles, int timeout=-1)
Definition: cli-connection.h:3717
Tp::PendingVariant * requestPropertyOverrideMessageServiceCentre() const
Definition: cli-connection.h:2817
Tp::PendingVariant * requestPropertyMaximumAvatarHeight() const
Definition: cli-connection.h:1923
Definition: cli-connection.h:5827
Definition: cli-connection.h:44
QDBusPendingReply RemoveClientInterest(const QStringList &tokens, int timeout=-1)
Definition: cli-connection.h:847
QDBusPendingReply UpdateCapabilities(const Tp::HandlerCapabilitiesList &handlerCapabilities, int timeout=-1)
Definition: cli-connection.h:3667
Tp::PendingOperation * setPropertyOverrideMessageServiceCentre(bool newValue)
Definition: cli-connection.h:2844
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:7423
Definition: cli-connection.h:3247
QDBusPendingReply< QStringList > GetInterfaces(int timeout=-1)
Definition: cli-connection.h:297
Tp::PendingVariant * requestPropertyMessageNationalCharacterSet() const
Definition: cli-connection.h:2980
Definition: cli-connection.h:3055
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
QDBusPendingReply< Tp::AliasMap > GetAliases(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:1486
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
QDBusPendingReply< Tp::MailURL > RequestInboxURL(int timeout=-1)
Definition: cli-connection.h:6326
Tp::PendingVariant * requestPropertyMaximumAvatarBytes() const
Definition: cli-connection.h:1955
Tp::PendingVariant * requestPropertyMinimumAvatarWidth() const
Definition: cli-connection.h:1871
Definition: build/TelepathyQt/_gen/types.h:101
QDBusPendingReply< Tp::AddressingNormalizationMap, Tp::ContactAttributesMap > GetContactsByURI(const QStringList &URIs, const QStringList &interfaces, int timeout=-1)
Definition: cli-connection.h:1294
QDBusPendingReply RenameGroup(const QString &oldName, const QString &newName, int timeout=-1)
Definition: cli-connection.h:4230
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:7707
QDBusPendingReply AuthorizePublication(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:5251
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:1576
QDBusPendingReply< Tp::HandleIdentifierMap > RequestBlockedContacts(int timeout=-1)
Definition: cli-connection.h:3477
QList< CapabilityPair > CapabilityPairList
Definition: build/TelepathyQt/_gen/types.h:554
Definition: cli-connection.h:1758
QDBusPendingReply< Tp::ContactInfoMap > GetContactInfo(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:4559
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:6144
QDBusPendingReply< QDBusObjectPath, QVariantMap > CreateChannel(const QVariantMap &request, int timeout=-1)
Definition: cli-connection.h:7247
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:3344
QDBusPendingReply< Tp::AvatarTokenMap > GetKnownAvatarTokens(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:2083
Definition: cli-connection.h:4365
QDBusPendingReply< Tp::ContactPresences > GetPresence(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:6807
Tp::PendingVariant * requestPropertyKnownServicePoints() const
Definition: cli-connection.h:7493
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:5969
Tp::PendingVariant * requestPropertySupportedAnonymityModes() const
Definition: cli-connection.h:1645
Definition: build/TelepathyQt/_gen/types.h:2641
Tp::PendingVariant * requestPropertySupportedAvatarMIMETypes() const
Definition: cli-connection.h:1839
QDBusPendingReply SetPowerSaving(bool activate, int timeout=-1)
Definition: cli-connection.h:6598
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:4717
Tp::PendingVariant * requestPropertyMessageValidityPeriod() const
Definition: cli-connection.h:2767
Definition: cli-connection.h:6463
QDBusPendingReply SetContactInfo(const Tp::ContactInfoFieldList &contactInfo, int timeout=-1)
Definition: cli-connection.h:4661
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:3021
Tp::PendingVariant * requestPropertyManageCreditURI() const
Definition: cli-connection.h:2396
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:7160
QDBusPendingReply RequestAvatars(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:2155
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:1331
QDBusPendingReply RefreshContactInfo(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:4593
QDBusPendingReply ClearAvatar(int timeout=-1)
Definition: cli-connection.h:2218
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:6474
QDBusPendingReply ReleaseHandles(uint handleType, const Tp::UIntList &handles, int timeout=-1)
Definition: cli-connection.h:544
Definition: cli-connection.h:7412
Tp::PendingVariant * requestPropertyDisjointGroups() const
Definition: cli-connection.h:3852
QList< ServicePointInfo > ServicePointInfoList
Definition: build/TelepathyQt/_gen/types.h:3814
QDBusPendingReply< QVariantMap > RequestLocation(uint contact, int timeout=-1)
Definition: cli-connection.h:6054
QDBusPendingReply HoldHandles(uint handleType, const Tp::UIntList &handles, int timeout=-1)
Definition: cli-connection.h:438
QDBusPendingReply ClearStatus(int timeout=-1)
Definition: cli-connection.h:6770
QDBusPendingReply UnblockContacts(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:3442
Tp::PendingOperation * setPropertyAnonymityModes(uint newValue)
Definition: cli-connection.h:1719
QDBusPendingReply AddClientInterest(const QStringList &tokens, int timeout=-1)
Definition: cli-connection.h:801
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:3777
Definition: cli-connection.h:2440
QDBusPendingReply BlockContacts(const Tp::UIntList &contacts, bool reportAbusive, int timeout=-1)
Definition: cli-connection.h:3409
Tp::PendingVariant * requestPropertyMaximumStatusMessageLength() const
Definition: cli-connection.h:7696
Tp::PendingVariant * requestPropertyMessageServiceCentre() const
Definition: cli-connection.h:2865
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:1049
QDBusPendingReply< QStringList > RequestAliases(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:1449
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:3908
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:1769
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:3066
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:1730
Tp::PendingVariant * requestPropertyCanChangeContactList() const
Definition: cli-connection.h:4883
Tp::PendingVariant * requestPropertyMailNotificationFlags() const
Definition: cli-connection.h:6217
QDBusPendingReply SetContactGroups(uint contact, const QStringList &groups, int timeout=-1)
Definition: cli-connection.h:3962
Definition: build/TelepathyQt/_gen/types.h:2107
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:2451
QDBusPendingReply< uint > GetStatus(int timeout=-1)
Definition: cli-connection.h:382
Definition: cli-connection.h:6133
QDBusPendingReply< QDBusObjectPath > RequestChannel(const QString &type, uint handleType, uint handle, bool suppressHandler, int timeout=-1)
Definition: cli-connection.h:638
Definition: build/TelepathyQt/_gen/types.h:1646
Tp::PendingVariant * requestPropertySupportedLocationFeatures() const
Definition: cli-connection.h:5958
Definition: cli-connection.h:1038
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:2407
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:1114
QDBusPendingReply Unsubscribe(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:5366
Tp::PendingVariant * requestPropertyLocationAccessControlTypes() const
Definition: cli-connection.h:5906
Definition: cli-connection.h:3523
QDBusPendingReply< Tp::ContactCapabilityList > GetCapabilities(const Tp::UIntList &handles, int timeout=-1)
Definition: cli-connection.h:2624
QDBusPendingReply SetLastActivityTime(uint time, int timeout=-1)
Definition: cli-connection.h:6938
QDBusPendingReply< bool, QDBusObjectPath, QVariantMap > EnsureChannel(const QVariantMap &request, int timeout=-1)
Definition: cli-connection.h:7326
Tp::PendingVariant * requestPropertyDownloadAtConnection() const
Definition: cli-connection.h:4952
QDBusPendingReply< QStringList > RequestClientTypes(uint contact, int timeout=-1)
Definition: cli-connection.h:3204
Tp::PendingVariant * requestPropertyGroupStorage() const
Definition: cli-connection.h:3869
QDBusPendingReply< QStringList > GetAvatarTokens(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:2041
Tp::PendingOperation * setPropertyMessageReducedCharacterSet(bool newValue)
Definition: cli-connection.h:2950
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:1966
Definition: build/TelepathyQt/_gen/types.h:3505
Tp::PendingVariant * requestPropertyMaximumAvatarWidth() const
Definition: cli-connection.h:1939
QDBusPendingReply SetAliases(const Tp::AliasMap &aliases, int timeout=-1)
Definition: cli-connection.h:1520
QDBusPendingReply< QStringList > InspectHandles(uint handleType, const Tp::UIntList &handles, int timeout=-1)
Definition: cli-connection.h:476
Tp::PendingVariant * requestPropertySelfHandle() const
Definition: cli-connection.h:145
Tp::PendingVariant * requestPropertyAnonymityModes() const
Definition: cli-connection.h:1702
Tp::PendingVariant * requestPropertyIMSI() const
Definition: cli-connection.h:2904
Definition: build/TelepathyQt/_gen/types.h:3827
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:5838
Tp::PendingVariant * requestPropertyHasImmortalHandles() const
Definition: cli-connection.h:205
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:55
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:4531
QDBusPendingReply SetStatus(const Tp::MultipleStatusMap &statuses, int timeout=-1)
Definition: cli-connection.h:6990
Tp::PendingOperation * setPropertyMessageValidityPeriod(uint newValue)
Definition: cli-connection.h:2790
Definition: cli-connection.h:2286
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:2516
QDBusPendingReply< Tp::ChannelInfoList > ListChannels(int timeout=-1)
Definition: cli-connection.h:505
QDBusPendingReply< Tp::StatusSpecMap > GetStatuses(int timeout=-1)
Definition: cli-connection.h:6843
Definition: cli-connection.h:5559
QDBusPendingReply< Tp::UIntList > RequestHandles(uint handleType, const QStringList &identifiers, int timeout=-1)
Definition: cli-connection.h:693
Definition: cli-connection.h:4706
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
QDBusPendingReply< uint, QVariantMap > GetContactByID(const QString &identifier, const QStringList &interfaces, int timeout=-1)
Definition: cli-connection.h:5801
QDBusPendingReply RequestPresence(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:6908
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:1396
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:4963
Tp::PendingVariant * requestPropertyLocationAccessControl() const
Definition: cli-connection.h:5923
QDBusPendingReply RemoveGroup(const QString &group, int timeout=-1)
Definition: cli-connection.h:4176
QDBusPendingReply< uint > GetSelfHandle(int timeout=-1)
Definition: cli-connection.h:354
Tp::PendingOperation * setPropertyLocationAccessControl(Tp::RichPresenceAccessControl newValue)
Definition: cli-connection.h:5940
Tp::PendingVariant * requestPropertyUnreadMailCount() const
Definition: cli-connection.h:6246
Tp::PendingVariant * requestPropertySupportedFields() const
Definition: cli-connection.h:4520
Tp::PendingVariant * requestPropertyRecommendedAvatarWidth() const
Definition: cli-connection.h:1907
Definition: cli-connection.h:2679
Definition: build/TelepathyQt/_gen/types.h:3428
QDBusPendingReply SetLocation(const QVariantMap &location, int timeout=-1)
Definition: cli-connection.h:6090
QDBusPendingReply RemoveContacts(const Tp::UIntList &contacts, int timeout=-1)
Definition: cli-connection.h:5315
Tp::PendingVariant * requestPropertyContactInfoFlags() const
Definition: cli-connection.h:4458
Tp::PendingVariant * requestPropertyRequestUsesMessage() const
Definition: cli-connection.h:4916
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:7504
Definition: build/TelepathyQt/_gen/types.h:183
Tp::PendingVariant * requestPropertyUnreadMails() const
Definition: cli-connection.h:6267
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:6559
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:2297
Tp::PendingOperation * setPropertyAnonymityMandatory(bool newValue)
Definition: cli-connection.h:1685
Tp::PendingVariant * requestPropertyContactListPersists() const
Definition: cli-connection.h:4850
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:5650
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:4376
QDBusPendingReply Download(int timeout=-1)
Definition: cli-connection.h:5446
Definition: cli-connection.h:1565
static QLatin1String staticInterfaceName()
Definition: cli-connection.h:5570
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection.h:3599
Definition: cli-connection.h:1320
QDBusPendingReply< Tp::AddressingNormalizationMap, Tp::ContactAttributesMap > GetContactsByVCardField(const QString &field, const QStringList &addresses, const QStringList &interfaces, int timeout=-1)
Definition: cli-connection.h:1209
Tp::PendingVariant * requestPropertyAccountBalance() const
Definition: cli-connection.h:2374
Tp::PendingVariant * requestPropertyInterfaces() const
Definition: cli-connection.h:127
Tp::PendingVariant * requestPropertyContactBlockingCapabilities() const
Definition: cli-connection.h:3333
Tp::PendingVariant * requestPropertyGroups() const
Definition: cli-connection.h:3897
Definition: cli-connection.h:7536