8 #include <TelepathyQt/AbstractAdaptor>
9 #include <TelepathyQt/Global>
10 #include <TelepathyQt/Types>
30 Q_CLASSINFO(
"D-Bus Interface",
"org.freedesktop.Telepathy.ConnectionManager")
31 Q_CLASSINFO(
"D-Bus Introspection",
""
32 " <interface name=\"org.freedesktop.Telepathy.ConnectionManager\">\n"
33 " <property access=\"read\" type=\"a{sa{sv}}\" name=\"Protocols\">\n"
34 " <annotation value=\"Tp::ProtocolPropertiesMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
36 " <property access=\"read\" type=\"as\" name=\"Interfaces\"/>\n"
37 " <method name=\"GetParameters\">\n"
38 " <arg direction=\"in\" type=\"s\" name=\"protocol\"/>\n"
39 " <arg direction=\"out\" type=\"a(susv)\" name=\"parameters\">\n"
40 " <annotation value=\"Tp::ParamSpecList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
43 " <method name=\"ListProtocols\">\n"
44 " <arg direction=\"out\" type=\"as\" name=\"protocols\"/>\n"
46 " <method name=\"RequestConnection\">\n"
47 " <arg direction=\"in\" type=\"s\" name=\"protocol\"/>\n"
48 " <arg direction=\"in\" type=\"a{sv}\" name=\"parameters\">\n"
49 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
51 " <arg direction=\"out\" type=\"s\" name=\"busName\"/>\n"
52 " <arg direction=\"out\" type=\"o\" name=\"objectPath\"/>\n"
54 " <signal name=\"NewConnection\">\n"
55 " <arg type=\"s\" name=\"busName\"/>\n"
56 " <arg type=\"o\" name=\"objectPath\"/>\n"
57 " <arg type=\"s\" name=\"protocol\"/>\n"
62 Q_PROPERTY(QStringList Interfaces READ Interfaces )
68 typedef Tp::MethodInvocationContextPtr< Tp::ParamSpecList > GetParametersContextPtr;
69 typedef Tp::MethodInvocationContextPtr< QStringList > ListProtocolsContextPtr;
70 typedef Tp::MethodInvocationContextPtr< QString, QDBusObjectPath > RequestConnectionContextPtr;
129 QStringList Interfaces()
const;
158 Tp::ParamSpecList GetParameters(
const QString& protocol,
const QDBusMessage& dbusMessage);
176 QStringList ListProtocols(
const QDBusMessage& dbusMessage);
253 QString RequestConnection(
const QString& protocol,
const QVariantMap& parameters,
const QDBusMessage& dbusMessage, QDBusObjectPath& objectPath);
274 void NewConnection(
const QString& busName,
const QDBusObjectPath& objectPath,
const QString& protocol);
287 Q_CLASSINFO(
"D-Bus Interface",
"org.freedesktop.Telepathy.Protocol")
288 Q_CLASSINFO(
"D-Bus Introspection",
""
289 " <interface name=\"org.freedesktop.Telepathy.Protocol\">\n"
290 " <property access=\"read\" type=\"as\" name=\"Interfaces\"/>\n"
291 " <property access=\"read\" type=\"a(susv)\" name=\"Parameters\">\n"
292 " <annotation value=\"Tp::ParamSpecList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
294 " <property access=\"read\" type=\"as\" name=\"ConnectionInterfaces\"/>\n"
295 " <property access=\"read\" type=\"a(a{sv}as)\" name=\"RequestableChannelClasses\">\n"
296 " <annotation value=\"Tp::RequestableChannelClassList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
298 " <property access=\"read\" type=\"s\" name=\"VCardField\"/>\n"
299 " <property access=\"read\" type=\"s\" name=\"EnglishName\"/>\n"
300 " <property access=\"read\" type=\"s\" name=\"Icon\"/>\n"
301 " <property access=\"read\" type=\"as\" name=\"AuthenticationTypes\"/>\n"
302 " <method name=\"IdentifyAccount\">\n"
303 " <arg direction=\"in\" type=\"a{sv}\" name=\"parameters\">\n"
304 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
306 " <arg direction=\"out\" type=\"s\" name=\"accountID\"/>\n"
308 " <method name=\"NormalizeContact\">\n"
309 " <arg direction=\"in\" type=\"s\" name=\"contactID\"/>\n"
310 " <arg direction=\"out\" type=\"s\" name=\"normalizedContactID\"/>\n"
314 Q_PROPERTY(QStringList Interfaces READ Interfaces )
316 Q_PROPERTY(QStringList ConnectionInterfaces READ ConnectionInterfaces )
318 Q_PROPERTY(QString VCardField READ VCardField )
319 Q_PROPERTY(QString EnglishName READ EnglishName )
320 Q_PROPERTY(QString Icon READ Icon )
321 Q_PROPERTY(QStringList AuthenticationTypes READ AuthenticationTypes )
324 ProtocolAdaptor(
const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
327 typedef Tp::MethodInvocationContextPtr< QString > IdentifyAccountContextPtr;
328 typedef Tp::MethodInvocationContextPtr< QString > NormalizeContactContextPtr;
356 QStringList Interfaces()
const;
412 QStringList ConnectionInterfaces()
const;
532 QString VCardField()
const;
573 QString EnglishName()
const;
605 QString Icon()
const;
653 QStringList AuthenticationTypes()
const;
694 QString IdentifyAccount(
const QVariantMap& parameters,
const QDBusMessage& dbusMessage);
750 QString NormalizeContact(
const QString& contactID,
const QDBusMessage& dbusMessage);
763 Q_CLASSINFO(
"D-Bus Interface",
"org.freedesktop.Telepathy.Protocol.Interface.Addressing")
764 Q_CLASSINFO(
"D-Bus Introspection",
""
765 " <interface name=\"org.freedesktop.Telepathy.Protocol.Interface.Addressing\">\n"
766 " <property access=\"read\" type=\"as\" name=\"AddressableVCardFields\"/>\n"
767 " <property access=\"read\" type=\"as\" name=\"AddressableURISchemes\"/>\n"
768 " <method name=\"NormalizeVCardAddress\">\n"
769 " <arg direction=\"in\" type=\"s\" name=\"VCardField\"/>\n"
770 " <arg direction=\"in\" type=\"s\" name=\"VCardAddress\"/>\n"
771 " <arg direction=\"out\" type=\"s\" name=\"normalizedVCardAddress\"/>\n"
773 " <method name=\"NormalizeContactURI\">\n"
774 " <arg direction=\"in\" type=\"s\" name=\"URI\"/>\n"
775 " <arg direction=\"out\" type=\"s\" name=\"normalizedURI\"/>\n"
779 Q_PROPERTY(QStringList AddressableVCardFields READ AddressableVCardFields )
780 Q_PROPERTY(QStringList AddressableURISchemes READ AddressableURISchemes )
786 typedef Tp::MethodInvocationContextPtr< QString > NormalizeVCardAddressContextPtr;
787 typedef Tp::MethodInvocationContextPtr< QString > NormalizeContactURIContextPtr;
854 QStringList AddressableVCardFields()
const;
936 QStringList AddressableURISchemes()
const;
981 QString NormalizeVCardAddress(
const QString& VCardField,
const QString& VCardAddress,
const QDBusMessage& dbusMessage);
1043 QString NormalizeContactURI(
const QString& URI,
const QDBusMessage& dbusMessage);
1056 Q_CLASSINFO(
"D-Bus Interface",
"org.freedesktop.Telepathy.Protocol.Interface.Avatars")
1057 Q_CLASSINFO(
"D-Bus Introspection",
""
1058 " <interface name=\"org.freedesktop.Telepathy.Protocol.Interface.Avatars\">\n"
1059 " <property access=\"read\" type=\"as\" name=\"SupportedAvatarMIMETypes\"/>\n"
1060 " <property access=\"read\" type=\"u\" name=\"MinimumAvatarHeight\"/>\n"
1061 " <property access=\"read\" type=\"u\" name=\"MinimumAvatarWidth\"/>\n"
1062 " <property access=\"read\" type=\"u\" name=\"RecommendedAvatarHeight\"/>\n"
1063 " <property access=\"read\" type=\"u\" name=\"RecommendedAvatarWidth\"/>\n"
1064 " <property access=\"read\" type=\"u\" name=\"MaximumAvatarHeight\"/>\n"
1065 " <property access=\"read\" type=\"u\" name=\"MaximumAvatarWidth\"/>\n"
1066 " <property access=\"read\" type=\"u\" name=\"MaximumAvatarBytes\"/>\n"
1069 Q_PROPERTY(QStringList SupportedAvatarMIMETypes READ SupportedAvatarMIMETypes )
1070 Q_PROPERTY(uint MinimumAvatarHeight READ MinimumAvatarHeight )
1071 Q_PROPERTY(uint MinimumAvatarWidth READ MinimumAvatarWidth )
1072 Q_PROPERTY(uint RecommendedAvatarHeight READ RecommendedAvatarHeight )
1073 Q_PROPERTY(uint RecommendedAvatarWidth READ RecommendedAvatarWidth )
1074 Q_PROPERTY(uint MaximumAvatarHeight READ MaximumAvatarHeight )
1075 Q_PROPERTY(uint MaximumAvatarWidth READ MaximumAvatarWidth )
1076 Q_PROPERTY(uint MaximumAvatarBytes READ MaximumAvatarBytes )
1097 QStringList SupportedAvatarMIMETypes()
const;
1111 uint MinimumAvatarHeight()
const;
1125 uint MinimumAvatarWidth()
const;
1139 uint RecommendedAvatarHeight()
const;
1153 uint RecommendedAvatarWidth()
const;
1167 uint MaximumAvatarHeight()
const;
1181 uint MaximumAvatarWidth()
const;
1195 uint MaximumAvatarBytes()
const;
1208 Q_CLASSINFO(
"D-Bus Interface",
"org.freedesktop.Telepathy.Protocol.Interface.Presence")
1209 Q_CLASSINFO(
"D-Bus Introspection",
""
1210 " <interface name=\"org.freedesktop.Telepathy.Protocol.Interface.Presence\">\n"
1211 " <property access=\"read\" type=\"a{s(ubb)}\" name=\"Statuses\">\n"
1212 " <annotation value=\"Tp::SimpleStatusSpecMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
QList< ParamSpec > ParamSpecList
Definition: buildqt4/TelepathyQt/_gen/types.h:2222
Definition: buildqt4/TelepathyQt/_gen/types.h:2376
Base class for all the low-level service-side adaptors.
Definition: abstract-adaptor.h:40
Definition: svc-connection-manager.h:27
Definition: svc-connection-manager.h:284
Definition: svc-connection-manager.h:760
Definition: buildqt4/TelepathyQt/_gen/types.h:3849
Definition: svc-connection-manager.h:1205
Definition: svc-connection-manager.h:1053
QList< RequestableChannelClass > RequestableChannelClassList
Definition: buildqt4/TelepathyQt/_gen/types.h:2621