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

svc-channel.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 ChannelAdaptor : public Tp::AbstractAdaptor
28 {
29 Q_OBJECT
30 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel")
31 Q_CLASSINFO("D-Bus Introspection", ""
32 " <interface name=\"org.freedesktop.Telepathy.Channel\">\n"
33 " <property access=\"read\" type=\"s\" name=\"ChannelType\"/>\n"
34 " <property access=\"read\" type=\"as\" name=\"Interfaces\"/>\n"
35 " <property access=\"read\" type=\"u\" name=\"TargetHandle\"/>\n"
36 " <property access=\"read\" type=\"s\" name=\"TargetID\"/>\n"
37 " <property access=\"read\" type=\"u\" name=\"TargetHandleType\"/>\n"
38 " <property access=\"read\" type=\"b\" name=\"Requested\"/>\n"
39 " <property access=\"read\" type=\"u\" name=\"InitiatorHandle\"/>\n"
40 " <property access=\"read\" type=\"s\" name=\"InitiatorID\"/>\n"
41 " <method name=\"Close\"/>\n"
42 " <method name=\"GetChannelType\">\n"
43 " <arg direction=\"out\" type=\"s\" name=\"channelType\"/>\n"
44 " </method>\n"
45 " <method name=\"GetHandle\">\n"
46 " <arg direction=\"out\" type=\"u\" name=\"targetHandleType\"/>\n"
47 " <arg direction=\"out\" type=\"u\" name=\"targetHandle\"/>\n"
48 " </method>\n"
49 " <method name=\"GetInterfaces\">\n"
50 " <arg direction=\"out\" type=\"as\" name=\"interfaces\"/>\n"
51 " </method>\n"
52 " <signal name=\"Closed\"/>\n"
53 " </interface>\n"
54 "")
55 Q_PROPERTY(QString ChannelType READ ChannelType )
56 Q_PROPERTY(QStringList Interfaces READ Interfaces )
57 Q_PROPERTY(uint TargetHandle READ TargetHandle )
58 Q_PROPERTY(QString TargetID READ TargetID )
59 Q_PROPERTY(uint TargetHandleType READ TargetHandleType )
60 Q_PROPERTY(bool Requested READ Requested )
61 Q_PROPERTY(uint InitiatorHandle READ InitiatorHandle )
62 Q_PROPERTY(QString InitiatorID READ InitiatorID )
63
64 public:
65 ChannelAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
66 virtual ~ChannelAdaptor();
67
68 typedef Tp::MethodInvocationContextPtr< > CloseContextPtr;
69 typedef Tp::MethodInvocationContextPtr< QString > GetChannelTypeContextPtr;
70 typedef Tp::MethodInvocationContextPtr< uint, uint > GetHandleContextPtr;
71 typedef Tp::MethodInvocationContextPtr< QStringList > GetInterfacesContextPtr;
72
73 public: // PROPERTIES
106 QString ChannelType() const;
142 QStringList Interfaces() const;
189 uint TargetHandle() const;
245 QString TargetID() const;
267 uint TargetHandleType() const;
338 bool Requested() const;
402 uint InitiatorHandle() const;
439 QString InitiatorID() const;
440
441 public Q_SLOTS: // METHODS
459 void Close(const QDBusMessage& dbusMessage);
479 QString GetChannelType(const QDBusMessage& dbusMessage);
504 uint GetHandle(const QDBusMessage& dbusMessage, uint& targetHandle);
524 QStringList GetInterfaces(const QDBusMessage& dbusMessage);
525
526 Q_SIGNALS: // SIGNALS
536 void Closed();
537 };
538
546 class TP_QT_EXPORT ChannelInterfaceAnonymityAdaptor : public Tp::AbstractAdaptor
547 {
548 Q_OBJECT
549 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Anonymity")
550 Q_CLASSINFO("D-Bus Introspection", ""
551 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Anonymity\">\n"
552 " <property access=\"read\" type=\"u\" name=\"AnonymityModes\"/>\n"
553 " <property access=\"read\" type=\"b\" name=\"AnonymityMandatory\"/>\n"
554 " <property access=\"read\" type=\"s\" name=\"AnonymousID\"/>\n"
555 " </interface>\n"
556 "")
557 Q_PROPERTY(uint AnonymityModes READ AnonymityModes )
558 Q_PROPERTY(bool AnonymityMandatory READ AnonymityMandatory )
559 Q_PROPERTY(QString AnonymousID READ AnonymousID )
560
561 public:
562 ChannelInterfaceAnonymityAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
563 virtual ~ChannelInterfaceAnonymityAdaptor();
564
565
566 public: // PROPERTIES
581 uint AnonymityModes() const;
594 bool AnonymityMandatory() const;
618 QString AnonymousID() const;
619 };
620
628 class TP_QT_EXPORT ChannelInterfaceCallStateAdaptor : public Tp::AbstractAdaptor
629 {
630 Q_OBJECT
631 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.CallState")
632 Q_CLASSINFO("D-Bus Introspection", ""
633 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.CallState\">\n"
634 " <method name=\"GetCallStates\">\n"
635 " <arg direction=\"out\" type=\"a{uu}\" name=\"states\">\n"
636 " <annotation value=\"Tp::ChannelCallStateMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
637 " </arg>\n"
638 " </method>\n"
639 " <signal name=\"CallStateChanged\">\n"
640 " <arg type=\"u\" name=\"contact\"/>\n"
641 " <arg type=\"u\" name=\"state\"/>\n"
642 " </signal>\n"
643 " </interface>\n"
644 "")
645
646 public:
647 ChannelInterfaceCallStateAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
648 virtual ~ChannelInterfaceCallStateAdaptor();
649
650 typedef Tp::MethodInvocationContextPtr< Tp::ChannelCallStateMap > GetCallStatesContextPtr;
651
652 public Q_SLOTS: // METHODS
670 Tp::ChannelCallStateMap GetCallStates(const QDBusMessage& dbusMessage);
671
672 Q_SIGNALS: // SIGNALS
688 void CallStateChanged(uint contact, uint state);
689 };
690
698 class TP_QT_EXPORT ChannelInterfaceCaptchaAuthenticationAdaptor : public Tp::AbstractAdaptor
699 {
700 Q_OBJECT
701 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.CaptchaAuthentication1")
702 Q_CLASSINFO("D-Bus Introspection", ""
703 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.CaptchaAuthentication1\">\n"
704 " <property access=\"read\" type=\"b\" name=\"CanRetryCaptcha\"/>\n"
705 " <property access=\"read\" type=\"u\" name=\"CaptchaStatus\"/>\n"
706 " <property access=\"read\" type=\"s\" name=\"CaptchaError\"/>\n"
707 " <property access=\"read\" type=\"a{sv}\" name=\"CaptchaErrorDetails\"/>\n"
708 " <method name=\"GetCaptchas\">\n"
709 " <arg direction=\"out\" type=\"a(ussuas)\" name=\"captchaInfo\">\n"
710 " <annotation value=\"Tp::CaptchaInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
711 " </arg>\n"
712 " <arg direction=\"out\" type=\"u\" name=\"numberRequired\"/>\n"
713 " <arg direction=\"out\" type=\"s\" name=\"language\"/>\n"
714 " </method>\n"
715 " <method name=\"GetCaptchaData\">\n"
716 " <arg direction=\"in\" type=\"u\" name=\"ID\"/>\n"
717 " <arg direction=\"in\" type=\"s\" name=\"mimeType\"/>\n"
718 " <arg direction=\"out\" type=\"ay\" name=\"captchaData\"/>\n"
719 " </method>\n"
720 " <method name=\"AnswerCaptchas\">\n"
721 " <arg direction=\"in\" type=\"a{us}\" name=\"answers\">\n"
722 " <annotation value=\"Tp::CaptchaAnswers\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
723 " </arg>\n"
724 " </method>\n"
725 " <method name=\"CancelCaptcha\">\n"
726 " <arg direction=\"in\" type=\"u\" name=\"reason\"/>\n"
727 " <arg direction=\"in\" type=\"s\" name=\"debugMessage\"/>\n"
728 " </method>\n"
729 " </interface>\n"
730 "")
731 Q_PROPERTY(bool CanRetryCaptcha READ CanRetryCaptcha )
732 Q_PROPERTY(uint CaptchaStatus READ CaptchaStatus )
733 Q_PROPERTY(QString CaptchaError READ CaptchaError )
734 Q_PROPERTY(QVariantMap CaptchaErrorDetails READ CaptchaErrorDetails )
735
736 public:
737 ChannelInterfaceCaptchaAuthenticationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
738 virtual ~ChannelInterfaceCaptchaAuthenticationAdaptor();
739
740 typedef Tp::MethodInvocationContextPtr< Tp::CaptchaInfoList, uint, QString > GetCaptchasContextPtr;
741 typedef Tp::MethodInvocationContextPtr< QByteArray > GetCaptchaDataContextPtr;
742 typedef Tp::MethodInvocationContextPtr< > AnswerCaptchasContextPtr;
743 typedef Tp::MethodInvocationContextPtr< > CancelCaptchaContextPtr;
744
745 public: // PROPERTIES
769 bool CanRetryCaptcha() const;
797 uint CaptchaStatus() const;
833 QString CaptchaError() const;
857 QVariantMap CaptchaErrorDetails() const;
858
859 public Q_SLOTS: // METHODS
913 Tp::CaptchaInfoList GetCaptchas(const QDBusMessage& dbusMessage, uint& numberRequired, QString& language);
951 QByteArray GetCaptchaData(uint ID, const QString& mimeType, const QDBusMessage& dbusMessage);
972 void AnswerCaptchas(const Tp::CaptchaAnswers& answers, const QDBusMessage& dbusMessage);
1001 void CancelCaptcha(uint reason, const QString& debugMessage, const QDBusMessage& dbusMessage);
1002 };
1003
1011 class TP_QT_EXPORT ChannelInterfaceChatStateAdaptor : public Tp::AbstractAdaptor
1012 {
1013 Q_OBJECT
1014 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.ChatState")
1015 Q_CLASSINFO("D-Bus Introspection", ""
1016 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.ChatState\">\n"
1017 " <property access=\"read\" type=\"a{uu}\" name=\"ChatStates\">\n"
1018 " <annotation value=\"Tp::ChatStateMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1019 " </property>\n"
1020 " <method name=\"SetChatState\">\n"
1021 " <arg direction=\"in\" type=\"u\" name=\"state\"/>\n"
1022 " </method>\n"
1023 " <signal name=\"ChatStateChanged\">\n"
1024 " <arg type=\"u\" name=\"contact\"/>\n"
1025 " <arg type=\"u\" name=\"state\"/>\n"
1026 " </signal>\n"
1027 " </interface>\n"
1028 "")
1029 Q_PROPERTY(Tp::ChatStateMap ChatStates READ ChatStates )
1030
1031 public:
1032 ChannelInterfaceChatStateAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1033 virtual ~ChannelInterfaceChatStateAdaptor();
1034
1035 typedef Tp::MethodInvocationContextPtr< > SetChatStateContextPtr;
1036
1037 public: // PROPERTIES
1075 Tp::ChatStateMap ChatStates() const;
1076
1077 public Q_SLOTS: // METHODS
1095 void SetChatState(uint state, const QDBusMessage& dbusMessage);
1096
1097 Q_SIGNALS: // SIGNALS
1113 void ChatStateChanged(uint contact, uint state);
1114 };
1115
1123 class TP_QT_EXPORT ChannelInterfaceConferenceAdaptor : public Tp::AbstractAdaptor
1124 {
1125 Q_OBJECT
1126 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Conference")
1127 Q_CLASSINFO("D-Bus Introspection", ""
1128 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Conference\">\n"
1129 " <property access=\"read\" type=\"ao\" name=\"Channels\"/>\n"
1130 " <property access=\"read\" type=\"ao\" name=\"InitialChannels\"/>\n"
1131 " <property access=\"read\" type=\"au\" name=\"InitialInviteeHandles\"/>\n"
1132 " <property access=\"read\" type=\"as\" name=\"InitialInviteeIDs\"/>\n"
1133 " <property access=\"read\" type=\"s\" name=\"InvitationMessage\"/>\n"
1134 " <property access=\"read\" type=\"a{uo}\" name=\"OriginalChannels\">\n"
1135 " <annotation value=\"Tp::ChannelOriginatorMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1136 " </property>\n"
1137 " <signal name=\"ChannelMerged\">\n"
1138 " <arg type=\"o\" name=\"channel\"/>\n"
1139 " <arg type=\"u\" name=\"channelSpecificHandle\"/>\n"
1140 " <arg type=\"a{sv}\" name=\"properties\"/>\n"
1141 " </signal>\n"
1142 " <signal name=\"ChannelRemoved\">\n"
1143 " <arg type=\"o\" name=\"channel\"/>\n"
1144 " <arg type=\"a{sv}\" name=\"details\"/>\n"
1145 " </signal>\n"
1146 " </interface>\n"
1147 "")
1148 Q_PROPERTY(Tp::ObjectPathList Channels READ Channels )
1149 Q_PROPERTY(Tp::ObjectPathList InitialChannels READ InitialChannels )
1150 Q_PROPERTY(Tp::UIntList InitialInviteeHandles READ InitialInviteeHandles )
1151 Q_PROPERTY(QStringList InitialInviteeIDs READ InitialInviteeIDs )
1152 Q_PROPERTY(QString InvitationMessage READ InvitationMessage )
1153 Q_PROPERTY(Tp::ChannelOriginatorMap OriginalChannels READ OriginalChannels )
1154
1155 public:
1156 ChannelInterfaceConferenceAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1157 virtual ~ChannelInterfaceConferenceAdaptor();
1158
1159
1160 public: // PROPERTIES
1191 Tp::ObjectPathList Channels() const;
1255 Tp::ObjectPathList InitialChannels() const;
1331 Tp::UIntList InitialInviteeHandles() const;
1358 QStringList InitialInviteeIDs() const;
1388 QString InvitationMessage() const;
1456 Tp::ChannelOriginatorMap OriginalChannels() const;
1457
1458 Q_SIGNALS: // SIGNALS
1480 void ChannelMerged(const QDBusObjectPath& channel, uint channelSpecificHandle, const QVariantMap& properties);
1500 void ChannelRemoved(const QDBusObjectPath& channel, const QVariantMap& details);
1501 };
1502
1510 class TP_QT_EXPORT ChannelInterfaceDTMFAdaptor : public Tp::AbstractAdaptor
1511 {
1512 Q_OBJECT
1513 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.DTMF")
1514 Q_CLASSINFO("D-Bus Introspection", ""
1515 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.DTMF\">\n"
1516 " <property access=\"read\" type=\"b\" name=\"CurrentlySendingTones\"/>\n"
1517 " <property access=\"read\" type=\"s\" name=\"InitialTones\"/>\n"
1518 " <property access=\"read\" type=\"s\" name=\"DeferredTones\"/>\n"
1519 " <method name=\"StartTone\">\n"
1520 " <arg direction=\"in\" type=\"u\" name=\"streamID\"/>\n"
1521 " <arg direction=\"in\" type=\"y\" name=\"event\"/>\n"
1522 " </method>\n"
1523 " <method name=\"StopTone\">\n"
1524 " <arg direction=\"in\" type=\"u\" name=\"streamID\"/>\n"
1525 " </method>\n"
1526 " <method name=\"MultipleTones\">\n"
1527 " <arg direction=\"in\" type=\"s\" name=\"tones\"/>\n"
1528 " </method>\n"
1529 " <signal name=\"TonesDeferred\">\n"
1530 " <arg type=\"s\" name=\"tones\"/>\n"
1531 " </signal>\n"
1532 " <signal name=\"SendingTones\">\n"
1533 " <arg type=\"s\" name=\"tones\"/>\n"
1534 " </signal>\n"
1535 " <signal name=\"StoppedTones\">\n"
1536 " <arg type=\"b\" name=\"cancelled\"/>\n"
1537 " </signal>\n"
1538 " </interface>\n"
1539 "")
1540 Q_PROPERTY(bool CurrentlySendingTones READ CurrentlySendingTones )
1541 Q_PROPERTY(QString InitialTones READ InitialTones )
1542 Q_PROPERTY(QString DeferredTones READ DeferredTones )
1543
1544 public:
1545 ChannelInterfaceDTMFAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1546 virtual ~ChannelInterfaceDTMFAdaptor();
1547
1548 typedef Tp::MethodInvocationContextPtr< > StartToneContextPtr;
1549 typedef Tp::MethodInvocationContextPtr< > StopToneContextPtr;
1550 typedef Tp::MethodInvocationContextPtr< > MultipleTonesContextPtr;
1551
1552 public: // PROPERTIES
1566 bool CurrentlySendingTones() const;
1582 QString InitialTones() const;
1602 QString DeferredTones() const;
1603
1604 public Q_SLOTS: // METHODS
1636 void StartTone(uint streamID, uchar event, const QDBusMessage& dbusMessage);
1661 void StopTone(uint streamID, const QDBusMessage& dbusMessage);
1709 void MultipleTones(const QString& tones, const QDBusMessage& dbusMessage);
1710
1711 Q_SIGNALS: // SIGNALS
1724 void TonesDeferred(const QString& tones);
1737 void SendingTones(const QString& tones);
1750 void StoppedTones(bool cancelled);
1751 };
1752
1760 class TP_QT_EXPORT ChannelInterfaceDestroyableAdaptor : public Tp::AbstractAdaptor
1761 {
1762 Q_OBJECT
1763 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Destroyable")
1764 Q_CLASSINFO("D-Bus Introspection", ""
1765 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Destroyable\">\n"
1766 " <method name=\"Destroy\"/>\n"
1767 " </interface>\n"
1768 "")
1769
1770 public:
1771 ChannelInterfaceDestroyableAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1772 virtual ~ChannelInterfaceDestroyableAdaptor();
1773
1774 typedef Tp::MethodInvocationContextPtr< > DestroyContextPtr;
1775
1776 public Q_SLOTS: // METHODS
1824 void Destroy(const QDBusMessage& dbusMessage);
1825 };
1826
1834 class TP_QT_EXPORT ChannelInterfaceFileTransferMetadataAdaptor : public Tp::AbstractAdaptor
1835 {
1836 Q_OBJECT
1837 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.FileTransfer.Metadata")
1838 Q_CLASSINFO("D-Bus Introspection", ""
1839 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.FileTransfer.Metadata\">\n"
1840 " <property access=\"readwrite\" type=\"s\" name=\"ServiceName\"/>\n"
1841 " <property access=\"readwrite\" type=\"a{sas}\" name=\"Metadata\">\n"
1842 " <annotation value=\"Tp::Metadata\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1843 " </property>\n"
1844 " </interface>\n"
1845 "")
1846 Q_PROPERTY(QString ServiceName READ ServiceName WRITE SetServiceName)
1847 Q_PROPERTY(Tp::Metadata Metadata READ Metadata WRITE SetMetadata)
1848
1849 public:
1850 ChannelInterfaceFileTransferMetadataAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1851 virtual ~ChannelInterfaceFileTransferMetadataAdaptor();
1852
1853
1854 public: // PROPERTIES
1873 QString ServiceName() const;
1890 void SetServiceName(const QString &newValue);
1906 Tp::Metadata Metadata() const;
1920 void SetMetadata(const Tp::Metadata &newValue);
1921 };
1922
1930 class TP_QT_EXPORT ChannelInterfaceGroupAdaptor : public Tp::AbstractAdaptor
1931 {
1932 Q_OBJECT
1933 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Group")
1934 Q_CLASSINFO("D-Bus Introspection", ""
1935 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Group\">\n"
1936 " <property access=\"read\" type=\"u\" name=\"GroupFlags\"/>\n"
1937 " <property access=\"read\" type=\"a{uu}\" name=\"HandleOwners\">\n"
1938 " <annotation value=\"Tp::HandleOwnerMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1939 " </property>\n"
1940 " <property access=\"read\" type=\"a(uuus)\" name=\"LocalPendingMembers\">\n"
1941 " <annotation value=\"Tp::LocalPendingInfoList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1942 " </property>\n"
1943 " <property access=\"read\" type=\"au\" name=\"Members\"/>\n"
1944 " <property access=\"read\" type=\"au\" name=\"RemotePendingMembers\"/>\n"
1945 " <property access=\"read\" type=\"u\" name=\"SelfHandle\"/>\n"
1946 " <property access=\"read\" type=\"a{us}\" name=\"MemberIdentifiers\">\n"
1947 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1948 " </property>\n"
1949 " <method name=\"AddMembers\">\n"
1950 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1951 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
1952 " </method>\n"
1953 " <method name=\"GetAllMembers\">\n"
1954 " <arg direction=\"out\" type=\"au\" name=\"members\"/>\n"
1955 " <arg direction=\"out\" type=\"au\" name=\"localPending\"/>\n"
1956 " <arg direction=\"out\" type=\"au\" name=\"remotePending\"/>\n"
1957 " </method>\n"
1958 " <method name=\"GetGroupFlags\">\n"
1959 " <arg direction=\"out\" type=\"u\" name=\"groupFlags\"/>\n"
1960 " </method>\n"
1961 " <method name=\"GetHandleOwners\">\n"
1962 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
1963 " <arg direction=\"out\" type=\"au\" name=\"owners\"/>\n"
1964 " </method>\n"
1965 " <method name=\"GetLocalPendingMembers\">\n"
1966 " <arg direction=\"out\" type=\"au\" name=\"handles\"/>\n"
1967 " </method>\n"
1968 " <method name=\"GetLocalPendingMembersWithInfo\">\n"
1969 " <arg direction=\"out\" type=\"a(uuus)\" name=\"info\">\n"
1970 " <annotation value=\"Tp::LocalPendingInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
1971 " </arg>\n"
1972 " </method>\n"
1973 " <method name=\"GetMembers\">\n"
1974 " <arg direction=\"out\" type=\"au\" name=\"handles\"/>\n"
1975 " </method>\n"
1976 " <method name=\"GetRemotePendingMembers\">\n"
1977 " <arg direction=\"out\" type=\"au\" name=\"handles\"/>\n"
1978 " </method>\n"
1979 " <method name=\"GetSelfHandle\">\n"
1980 " <arg direction=\"out\" type=\"u\" name=\"selfHandle\"/>\n"
1981 " </method>\n"
1982 " <method name=\"RemoveMembers\">\n"
1983 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1984 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
1985 " </method>\n"
1986 " <method name=\"RemoveMembersWithReason\">\n"
1987 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1988 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
1989 " <arg direction=\"in\" type=\"u\" name=\"reason\"/>\n"
1990 " </method>\n"
1991 " <signal name=\"HandleOwnersChanged\">\n"
1992 " <arg type=\"a{uu}\" name=\"added\">\n"
1993 " <annotation value=\"Tp::HandleOwnerMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
1994 " </arg>\n"
1995 " <arg type=\"au\" name=\"removed\"/>\n"
1996 " </signal>\n"
1997 " <signal name=\"HandleOwnersChangedDetailed\">\n"
1998 " <arg type=\"a{uu}\" name=\"added\">\n"
1999 " <annotation value=\"Tp::HandleOwnerMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2000 " </arg>\n"
2001 " <arg type=\"au\" name=\"removed\"/>\n"
2002 " <arg type=\"a{us}\" name=\"identifiers\">\n"
2003 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In2\"/>\n"
2004 " </arg>\n"
2005 " </signal>\n"
2006 " <signal name=\"SelfHandleChanged\">\n"
2007 " <arg type=\"u\" name=\"selfHandle\"/>\n"
2008 " </signal>\n"
2009 " <signal name=\"SelfContactChanged\">\n"
2010 " <arg type=\"u\" name=\"selfHandle\"/>\n"
2011 " <arg type=\"s\" name=\"selfID\"/>\n"
2012 " </signal>\n"
2013 " <signal name=\"GroupFlagsChanged\">\n"
2014 " <arg type=\"u\" name=\"added\"/>\n"
2015 " <arg type=\"u\" name=\"removed\"/>\n"
2016 " </signal>\n"
2017 " <signal name=\"MembersChanged\">\n"
2018 " <arg type=\"s\" name=\"message\"/>\n"
2019 " <arg type=\"au\" name=\"added\"/>\n"
2020 " <arg type=\"au\" name=\"removed\"/>\n"
2021 " <arg type=\"au\" name=\"localPending\"/>\n"
2022 " <arg type=\"au\" name=\"remotePending\"/>\n"
2023 " <arg type=\"u\" name=\"actor\"/>\n"
2024 " <arg type=\"u\" name=\"reason\"/>\n"
2025 " </signal>\n"
2026 " <signal name=\"MembersChangedDetailed\">\n"
2027 " <arg type=\"au\" name=\"added\"/>\n"
2028 " <arg type=\"au\" name=\"removed\"/>\n"
2029 " <arg type=\"au\" name=\"localPending\"/>\n"
2030 " <arg type=\"au\" name=\"remotePending\"/>\n"
2031 " <arg type=\"a{sv}\" name=\"details\"/>\n"
2032 " </signal>\n"
2033 " </interface>\n"
2034 "")
2035 Q_PROPERTY(uint GroupFlags READ GroupFlags )
2036 Q_PROPERTY(Tp::HandleOwnerMap HandleOwners READ HandleOwners )
2037 Q_PROPERTY(Tp::LocalPendingInfoList LocalPendingMembers READ LocalPendingMembers )
2038 Q_PROPERTY(Tp::UIntList Members READ Members )
2039 Q_PROPERTY(Tp::UIntList RemotePendingMembers READ RemotePendingMembers )
2040 Q_PROPERTY(uint SelfHandle READ SelfHandle )
2041 Q_PROPERTY(Tp::HandleIdentifierMap MemberIdentifiers READ MemberIdentifiers )
2042
2043 public:
2044 ChannelInterfaceGroupAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2045 virtual ~ChannelInterfaceGroupAdaptor();
2046
2047 typedef Tp::MethodInvocationContextPtr< > AddMembersContextPtr;
2048 typedef Tp::MethodInvocationContextPtr< Tp::UIntList, Tp::UIntList, Tp::UIntList > GetAllMembersContextPtr;
2049 typedef Tp::MethodInvocationContextPtr< uint > GetGroupFlagsContextPtr;
2050 typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetHandleOwnersContextPtr;
2051 typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetLocalPendingMembersContextPtr;
2052 typedef Tp::MethodInvocationContextPtr< Tp::LocalPendingInfoList > GetLocalPendingMembersWithInfoContextPtr;
2053 typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetMembersContextPtr;
2054 typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetRemotePendingMembersContextPtr;
2055 typedef Tp::MethodInvocationContextPtr< uint > GetSelfHandleContextPtr;
2056 typedef Tp::MethodInvocationContextPtr< > RemoveMembersContextPtr;
2057 typedef Tp::MethodInvocationContextPtr< > RemoveMembersWithReasonContextPtr;
2058
2059 public: // PROPERTIES
2074 uint GroupFlags() const;
2092 Tp::HandleOwnerMap HandleOwners() const;
2105 Tp::LocalPendingInfoList LocalPendingMembers() const;
2117 Tp::UIntList Members() const;
2130 Tp::UIntList RemotePendingMembers() const;
2147 uint SelfHandle() const;
2163 Tp::HandleIdentifierMap MemberIdentifiers() const;
2164
2165 public Q_SLOTS: // METHODS
2197 void AddMembers(const Tp::UIntList& contacts, const QString& message, const QDBusMessage& dbusMessage);
2220 Tp::UIntList GetAllMembers(const QDBusMessage& dbusMessage, Tp::UIntList& localPending, Tp::UIntList& remotePending);
2237 uint GetGroupFlags(const QDBusMessage& dbusMessage);
2264 Tp::UIntList GetHandleOwners(const Tp::UIntList& handles, const QDBusMessage& dbusMessage);
2280 Tp::UIntList GetLocalPendingMembers(const QDBusMessage& dbusMessage);
2301 Tp::LocalPendingInfoList GetLocalPendingMembersWithInfo(const QDBusMessage& dbusMessage);
2316 Tp::UIntList GetMembers(const QDBusMessage& dbusMessage);
2332 Tp::UIntList GetRemotePendingMembers(const QDBusMessage& dbusMessage);
2347 uint GetSelfHandle(const QDBusMessage& dbusMessage);
2404 void RemoveMembers(const Tp::UIntList& contacts, const QString& message, const QDBusMessage& dbusMessage);
2429 void RemoveMembersWithReason(const Tp::UIntList& contacts, const QString& message, uint reason, const QDBusMessage& dbusMessage);
2430
2431 Q_SIGNALS: // SIGNALS
2452 void HandleOwnersChanged(const Tp::HandleOwnerMap& added, const Tp::UIntList& removed);
2480 void HandleOwnersChangedDetailed(const Tp::HandleOwnerMap& added, const Tp::UIntList& removed, const Tp::HandleIdentifierMap& identifiers);
2493 void SelfHandleChanged(uint selfHandle);
2509 void SelfContactChanged(uint selfHandle, const QString& selfID);
2525 void GroupFlagsChanged(uint added, uint removed);
2557 void MembersChanged(const QString& message, const Tp::UIntList& added, const Tp::UIntList& removed, const Tp::UIntList& localPending, const Tp::UIntList& remotePending, uint actor, uint reason);
2643 void MembersChangedDetailed(const Tp::UIntList& added, const Tp::UIntList& removed, const Tp::UIntList& localPending, const Tp::UIntList& remotePending, const QVariantMap& details);
2644 };
2645
2653 class TP_QT_EXPORT ChannelInterfaceHoldAdaptor : public Tp::AbstractAdaptor
2654 {
2655 Q_OBJECT
2656 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Hold")
2657 Q_CLASSINFO("D-Bus Introspection", ""
2658 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Hold\">\n"
2659 " <method name=\"GetHoldState\">\n"
2660 " <arg direction=\"out\" type=\"u\" name=\"holdState\"/>\n"
2661 " <arg direction=\"out\" type=\"u\" name=\"reason\"/>\n"
2662 " </method>\n"
2663 " <method name=\"RequestHold\">\n"
2664 " <arg direction=\"in\" type=\"b\" name=\"hold\"/>\n"
2665 " </method>\n"
2666 " <signal name=\"HoldStateChanged\">\n"
2667 " <arg type=\"u\" name=\"holdState\"/>\n"
2668 " <arg type=\"u\" name=\"reason\"/>\n"
2669 " </signal>\n"
2670 " </interface>\n"
2671 "")
2672
2673 public:
2674 ChannelInterfaceHoldAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2675 virtual ~ChannelInterfaceHoldAdaptor();
2676
2677 typedef Tp::MethodInvocationContextPtr< uint, uint > GetHoldStateContextPtr;
2678 typedef Tp::MethodInvocationContextPtr< > RequestHoldContextPtr;
2679
2680 public Q_SLOTS: // METHODS
2700 uint GetHoldState(const QDBusMessage& dbusMessage, uint& reason);
2766 void RequestHold(bool hold, const QDBusMessage& dbusMessage);
2767
2768 Q_SIGNALS: // SIGNALS
2784 void HoldStateChanged(uint holdState, uint reason);
2785 };
2786
2794 class TP_QT_EXPORT ChannelInterfaceMediaSignallingAdaptor : public Tp::AbstractAdaptor
2795 {
2796 Q_OBJECT
2797 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.MediaSignalling")
2798 Q_CLASSINFO("D-Bus Introspection", ""
2799 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.MediaSignalling\">\n"
2800 " <method name=\"GetSessionHandlers\">\n"
2801 " <arg direction=\"out\" type=\"a(os)\" name=\"sessionHandlers\">\n"
2802 " <annotation value=\"Tp::MediaSessionHandlerInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
2803 " </arg>\n"
2804 " </method>\n"
2805 " <signal name=\"NewSessionHandler\">\n"
2806 " <arg type=\"o\" name=\"sessionHandler\"/>\n"
2807 " <arg type=\"s\" name=\"sessionType\"/>\n"
2808 " </signal>\n"
2809 " </interface>\n"
2810 "")
2811
2812 public:
2813 ChannelInterfaceMediaSignallingAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2814 virtual ~ChannelInterfaceMediaSignallingAdaptor();
2815
2816 typedef Tp::MethodInvocationContextPtr< Tp::MediaSessionHandlerInfoList > GetSessionHandlersContextPtr;
2817
2818 public Q_SLOTS: // METHODS
2834 Tp::MediaSessionHandlerInfoList GetSessionHandlers(const QDBusMessage& dbusMessage);
2835
2836 Q_SIGNALS: // SIGNALS
2852 void NewSessionHandler(const QDBusObjectPath& sessionHandler, const QString& sessionType);
2853 };
2854
2862 class TP_QT_EXPORT ChannelInterfaceMergeableConferenceAdaptor : public Tp::AbstractAdaptor
2863 {
2864 Q_OBJECT
2865 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.MergeableConference.DRAFT")
2866 Q_CLASSINFO("D-Bus Introspection", ""
2867 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.MergeableConference.DRAFT\">\n"
2868 " <method name=\"Merge\">\n"
2869 " <arg direction=\"in\" type=\"o\" name=\"channel\"/>\n"
2870 " </method>\n"
2871 " </interface>\n"
2872 "")
2873
2874 public:
2875 ChannelInterfaceMergeableConferenceAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2876 virtual ~ChannelInterfaceMergeableConferenceAdaptor();
2877
2878 typedef Tp::MethodInvocationContextPtr< > MergeContextPtr;
2879
2880 public Q_SLOTS: // METHODS
2920 void Merge(const QDBusObjectPath& channel, const QDBusMessage& dbusMessage);
2921 };
2922
2930 class TP_QT_EXPORT ChannelInterfaceMessagesAdaptor : public Tp::AbstractAdaptor
2931 {
2932 Q_OBJECT
2933 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Messages")
2934 Q_CLASSINFO("D-Bus Introspection", ""
2935 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Messages\">\n"
2936 " <property access=\"read\" type=\"as\" name=\"SupportedContentTypes\"/>\n"
2937 " <property access=\"read\" type=\"au\" name=\"MessageTypes\"/>\n"
2938 " <property access=\"read\" type=\"u\" name=\"MessagePartSupportFlags\"/>\n"
2939 " <property access=\"read\" type=\"aaa{sv}\" name=\"PendingMessages\">\n"
2940 " <annotation value=\"Tp::MessagePartListList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
2941 " </property>\n"
2942 " <property access=\"read\" type=\"u\" name=\"DeliveryReportingSupport\"/>\n"
2943 " <method name=\"SendMessage\">\n"
2944 " <arg direction=\"in\" type=\"aa{sv}\" name=\"message\">\n"
2945 " <annotation value=\"Tp::MessagePartList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2946 " </arg>\n"
2947 " <arg direction=\"in\" type=\"u\" name=\"flags\"/>\n"
2948 " <arg direction=\"out\" type=\"s\" name=\"token\"/>\n"
2949 " </method>\n"
2950 " <method name=\"GetPendingMessageContent\">\n"
2951 " <arg direction=\"in\" type=\"u\" name=\"messageID\"/>\n"
2952 " <arg direction=\"in\" type=\"au\" name=\"parts\"/>\n"
2953 " <arg direction=\"out\" type=\"a{uv}\" name=\"content\">\n"
2954 " <annotation value=\"Tp::MessagePartContentMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
2955 " </arg>\n"
2956 " </method>\n"
2957 " <signal name=\"MessageSent\">\n"
2958 " <arg type=\"aa{sv}\" name=\"content\">\n"
2959 " <annotation value=\"Tp::MessagePartList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2960 " </arg>\n"
2961 " <arg type=\"u\" name=\"flags\"/>\n"
2962 " <arg type=\"s\" name=\"messageToken\"/>\n"
2963 " </signal>\n"
2964 " <signal name=\"PendingMessagesRemoved\">\n"
2965 " <arg type=\"au\" name=\"messageIDs\"/>\n"
2966 " </signal>\n"
2967 " <signal name=\"MessageReceived\">\n"
2968 " <arg type=\"aa{sv}\" name=\"message\">\n"
2969 " <annotation value=\"Tp::MessagePartList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2970 " </arg>\n"
2971 " </signal>\n"
2972 " </interface>\n"
2973 "")
2974 Q_PROPERTY(QStringList SupportedContentTypes READ SupportedContentTypes )
2975 Q_PROPERTY(Tp::UIntList MessageTypes READ MessageTypes )
2976 Q_PROPERTY(uint MessagePartSupportFlags READ MessagePartSupportFlags )
2977 Q_PROPERTY(Tp::MessagePartListList PendingMessages READ PendingMessages )
2978 Q_PROPERTY(uint DeliveryReportingSupport READ DeliveryReportingSupport )
2979
2980 public:
2981 ChannelInterfaceMessagesAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2982 virtual ~ChannelInterfaceMessagesAdaptor();
2983
2984 typedef Tp::MethodInvocationContextPtr< QString > SendMessageContextPtr;
2985 typedef Tp::MethodInvocationContextPtr< Tp::MessagePartContentMap > GetPendingMessageContentContextPtr;
2986
2987 public: // PROPERTIES
3043 QStringList SupportedContentTypes() const;
3057 Tp::UIntList MessageTypes() const;
3069 uint MessagePartSupportFlags() const;
3092 Tp::MessagePartListList PendingMessages() const;
3104 uint DeliveryReportingSupport() const;
3105
3106 public Q_SLOTS: // METHODS
3169 QString SendMessage(const Tp::MessagePartList& message, uint flags, const QDBusMessage& dbusMessage);
3210 Tp::MessagePartContentMap GetPendingMessageContent(uint messageID, const Tp::UIntList& parts, const QDBusMessage& dbusMessage);
3211
3212 Q_SIGNALS: // SIGNALS
3258 void MessageSent(const Tp::MessagePartList& content, uint flags, const QString& messageToken);
3271 void PendingMessagesRemoved(const Tp::UIntList& messageIDs);
3291 void MessageReceived(const Tp::MessagePartList& message);
3292 };
3293
3301 class TP_QT_EXPORT ChannelInterfacePasswordAdaptor : public Tp::AbstractAdaptor
3302 {
3303 Q_OBJECT
3304 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Password")
3305 Q_CLASSINFO("D-Bus Introspection", ""
3306 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Password\">\n"
3307 " <method name=\"GetPasswordFlags\">\n"
3308 " <arg direction=\"out\" type=\"u\" name=\"passwordFlags\"/>\n"
3309 " </method>\n"
3310 " <method name=\"ProvidePassword\">\n"
3311 " <arg direction=\"in\" type=\"s\" name=\"password\"/>\n"
3312 " <arg direction=\"out\" type=\"b\" name=\"correct\"/>\n"
3313 " </method>\n"
3314 " <signal name=\"PasswordFlagsChanged\">\n"
3315 " <arg type=\"u\" name=\"added\"/>\n"
3316 " <arg type=\"u\" name=\"removed\"/>\n"
3317 " </signal>\n"
3318 " </interface>\n"
3319 "")
3320
3321 public:
3322 ChannelInterfacePasswordAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
3323 virtual ~ChannelInterfacePasswordAdaptor();
3324
3325 typedef Tp::MethodInvocationContextPtr< uint > GetPasswordFlagsContextPtr;
3326 typedef Tp::MethodInvocationContextPtr< bool > ProvidePasswordContextPtr;
3327
3328 public Q_SLOTS: // METHODS
3348 uint GetPasswordFlags(const QDBusMessage& dbusMessage);
3370 bool ProvidePassword(const QString& password, const QDBusMessage& dbusMessage);
3371
3372 Q_SIGNALS: // SIGNALS
3388 void PasswordFlagsChanged(uint added, uint removed);
3389 };
3390
3398 class TP_QT_EXPORT ChannelInterfaceRoomAdaptor : public Tp::AbstractAdaptor
3399 {
3400 Q_OBJECT
3401 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Room2")
3402 Q_CLASSINFO("D-Bus Introspection", ""
3403 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Room2\">\n"
3404 " <property access=\"read\" type=\"s\" name=\"RoomName\"/>\n"
3405 " <property access=\"read\" type=\"s\" name=\"Server\"/>\n"
3406 " <property access=\"read\" type=\"s\" name=\"Creator\"/>\n"
3407 " <property access=\"read\" type=\"u\" name=\"CreatorHandle\"/>\n"
3408 " <property access=\"read\" type=\"x\" name=\"CreationTimestamp\"/>\n"
3409 " </interface>\n"
3410 "")
3411 Q_PROPERTY(QString RoomName READ RoomName )
3412 Q_PROPERTY(QString Server READ Server )
3413 Q_PROPERTY(QString Creator READ Creator )
3414 Q_PROPERTY(uint CreatorHandle READ CreatorHandle )
3415 Q_PROPERTY(qlonglong CreationTimestamp READ CreationTimestamp )
3416
3417 public:
3418 ChannelInterfaceRoomAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
3419 virtual ~ChannelInterfaceRoomAdaptor();
3420
3421
3422 public: // PROPERTIES
3450 QString RoomName() const;
3473 QString Server() const;
3488 QString Creator() const;
3503 uint CreatorHandle() const;
3518 qlonglong CreationTimestamp() const;
3519 };
3520
3528 class TP_QT_EXPORT ChannelInterfaceRoomConfigAdaptor : public Tp::AbstractAdaptor
3529 {
3530 Q_OBJECT
3531 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.RoomConfig1")
3532 Q_CLASSINFO("D-Bus Introspection", ""
3533 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.RoomConfig1\">\n"
3534 " <property access=\"read\" type=\"b\" name=\"Anonymous\"/>\n"
3535 " <property access=\"read\" type=\"b\" name=\"InviteOnly\"/>\n"
3536 " <property access=\"read\" type=\"u\" name=\"Limit\"/>\n"
3537 " <property access=\"read\" type=\"b\" name=\"Moderated\"/>\n"
3538 " <property access=\"read\" type=\"s\" name=\"Title\"/>\n"
3539 " <property access=\"read\" type=\"s\" name=\"Description\"/>\n"
3540 " <property access=\"read\" type=\"b\" name=\"Persistent\"/>\n"
3541 " <property access=\"read\" type=\"b\" name=\"Private\"/>\n"
3542 " <property access=\"read\" type=\"b\" name=\"PasswordProtected\"/>\n"
3543 " <property access=\"read\" type=\"s\" name=\"Password\"/>\n"
3544 " <property access=\"read\" type=\"s\" name=\"PasswordHint\"/>\n"
3545 " <property access=\"read\" type=\"b\" name=\"CanUpdateConfiguration\"/>\n"
3546 " <property access=\"read\" type=\"as\" name=\"MutableProperties\"/>\n"
3547 " <property access=\"read\" type=\"b\" name=\"ConfigurationRetrieved\"/>\n"
3548 " <method name=\"UpdateConfiguration\">\n"
3549 " <arg direction=\"in\" type=\"a{sv}\" name=\"properties\">\n"
3550 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
3551 " </arg>\n"
3552 " </method>\n"
3553 " </interface>\n"
3554 "")
3555 Q_PROPERTY(bool Anonymous READ Anonymous )
3556 Q_PROPERTY(bool InviteOnly READ InviteOnly )
3557 Q_PROPERTY(uint Limit READ Limit )
3558 Q_PROPERTY(bool Moderated READ Moderated )
3559 Q_PROPERTY(QString Title READ Title )
3560 Q_PROPERTY(QString Description READ Description )
3561 Q_PROPERTY(bool Persistent READ Persistent )
3562 Q_PROPERTY(bool Private READ Private )
3563 Q_PROPERTY(bool PasswordProtected READ PasswordProtected )
3564 Q_PROPERTY(QString Password READ Password )
3565 Q_PROPERTY(QString PasswordHint READ PasswordHint )
3566 Q_PROPERTY(bool CanUpdateConfiguration READ CanUpdateConfiguration )
3567 Q_PROPERTY(QStringList MutableProperties READ MutableProperties )
3568 Q_PROPERTY(bool ConfigurationRetrieved READ ConfigurationRetrieved )
3569
3570 public:
3571 ChannelInterfaceRoomConfigAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
3572 virtual ~ChannelInterfaceRoomConfigAdaptor();
3573
3574 typedef Tp::MethodInvocationContextPtr< > UpdateConfigurationContextPtr;
3575
3576 public: // PROPERTIES
3589 bool Anonymous() const;
3601 bool InviteOnly() const;
3613 uint Limit() const;
3625 bool Moderated() const;
3657 QString Title() const;
3670 QString Description() const;
3685 bool Persistent() const;
3699 bool Private() const;
3717 bool PasswordProtected() const;
3741 QString Password() const;
3766 QString PasswordHint() const;
3783 bool CanUpdateConfiguration() const;
3808 QStringList MutableProperties() const;
3835 bool ConfigurationRetrieved() const;
3836
3837 public Q_SLOTS: // METHODS
3882 void UpdateConfiguration(const QVariantMap& properties, const QDBusMessage& dbusMessage);
3883 };
3884
3892 class TP_QT_EXPORT ChannelInterfaceSASLAuthenticationAdaptor : public Tp::AbstractAdaptor
3893 {
3894 Q_OBJECT
3895 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication")
3896 Q_CLASSINFO("D-Bus Introspection", ""
3897 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication\">\n"
3898 " <property access=\"read\" type=\"as\" name=\"AvailableMechanisms\"/>\n"
3899 " <property access=\"read\" type=\"b\" name=\"HasInitialData\"/>\n"
3900 " <property access=\"read\" type=\"b\" name=\"CanTryAgain\"/>\n"
3901 " <property access=\"read\" type=\"u\" name=\"SASLStatus\"/>\n"
3902 " <property access=\"read\" type=\"s\" name=\"SASLError\"/>\n"
3903 " <property access=\"read\" type=\"a{sv}\" name=\"SASLErrorDetails\"/>\n"
3904 " <property access=\"read\" type=\"s\" name=\"AuthorizationIdentity\"/>\n"
3905 " <property access=\"read\" type=\"s\" name=\"DefaultUsername\"/>\n"
3906 " <property access=\"read\" type=\"s\" name=\"DefaultRealm\"/>\n"
3907 " <property access=\"read\" type=\"b\" name=\"MaySaveResponse\"/>\n"
3908 " <method name=\"StartMechanism\">\n"
3909 " <arg direction=\"in\" type=\"s\" name=\"mechanism\"/>\n"
3910 " </method>\n"
3911 " <method name=\"StartMechanismWithData\">\n"
3912 " <arg direction=\"in\" type=\"s\" name=\"mechanism\"/>\n"
3913 " <arg direction=\"in\" type=\"ay\" name=\"initialData\"/>\n"
3914 " </method>\n"
3915 " <method name=\"Respond\">\n"
3916 " <arg direction=\"in\" type=\"ay\" name=\"responseData\"/>\n"
3917 " </method>\n"
3918 " <method name=\"AcceptSASL\"/>\n"
3919 " <method name=\"AbortSASL\">\n"
3920 " <arg direction=\"in\" type=\"u\" name=\"reason\"/>\n"
3921 " <arg direction=\"in\" type=\"s\" name=\"debugMessage\"/>\n"
3922 " </method>\n"
3923 " <signal name=\"SASLStatusChanged\">\n"
3924 " <arg type=\"u\" name=\"status\"/>\n"
3925 " <arg type=\"s\" name=\"reason\"/>\n"
3926 " <arg type=\"a{sv}\" name=\"details\"/>\n"
3927 " </signal>\n"
3928 " <signal name=\"NewChallenge\">\n"
3929 " <arg type=\"ay\" name=\"challengeData\"/>\n"
3930 " </signal>\n"
3931 " </interface>\n"
3932 "")
3933 Q_PROPERTY(QStringList AvailableMechanisms READ AvailableMechanisms )
3934 Q_PROPERTY(bool HasInitialData READ HasInitialData )
3935 Q_PROPERTY(bool CanTryAgain READ CanTryAgain )
3936 Q_PROPERTY(uint SASLStatus READ SASLStatus )
3937 Q_PROPERTY(QString SASLError READ SASLError )
3938 Q_PROPERTY(QVariantMap SASLErrorDetails READ SASLErrorDetails )
3939 Q_PROPERTY(QString AuthorizationIdentity READ AuthorizationIdentity )
3940 Q_PROPERTY(QString DefaultUsername READ DefaultUsername )
3941 Q_PROPERTY(QString DefaultRealm READ DefaultRealm )
3942 Q_PROPERTY(bool MaySaveResponse READ MaySaveResponse )
3943
3944 public:
3945 ChannelInterfaceSASLAuthenticationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
3946 virtual ~ChannelInterfaceSASLAuthenticationAdaptor();
3947
3948 typedef Tp::MethodInvocationContextPtr< > StartMechanismContextPtr;
3949 typedef Tp::MethodInvocationContextPtr< > StartMechanismWithDataContextPtr;
3950 typedef Tp::MethodInvocationContextPtr< > RespondContextPtr;
3951 typedef Tp::MethodInvocationContextPtr< > AcceptSASLContextPtr;
3952 typedef Tp::MethodInvocationContextPtr< > AbortSASLContextPtr;
3953
3954 public: // PROPERTIES
3979 QStringList AvailableMechanisms() const;
4003 bool HasInitialData() const;
4026 bool CanTryAgain() const;
4042 uint SASLStatus() const;
4073 QString SASLError() const;
4097 QVariantMap SASLErrorDetails() const;
4164 QString AuthorizationIdentity() const;
4228 QString DefaultUsername() const;
4258 QString DefaultRealm() const;
4282 bool MaySaveResponse() const;
4283
4284 public Q_SLOTS: // METHODS
4313 void StartMechanism(const QString& mechanism, const QDBusMessage& dbusMessage);
4369 void StartMechanismWithData(const QString& mechanism, const QByteArray& initialData, const QDBusMessage& dbusMessage);
4389 void Respond(const QByteArray& responseData, const QDBusMessage& dbusMessage);
4421 void AcceptSASL(const QDBusMessage& dbusMessage);
4451 void AbortSASL(uint reason, const QString& debugMessage, const QDBusMessage& dbusMessage);
4452
4453 Q_SIGNALS: // SIGNALS
4472 void SASLStatusChanged(uint status, const QString& reason, const QVariantMap& details);
4485 void NewChallenge(const QByteArray& challengeData);
4486 };
4487
4495 class TP_QT_EXPORT ChannelInterfaceSMSAdaptor : public Tp::AbstractAdaptor
4496 {
4497 Q_OBJECT
4498 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.SMS")
4499 Q_CLASSINFO("D-Bus Introspection", ""
4500 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.SMS\">\n"
4501 " <property access=\"read\" type=\"b\" name=\"Flash\"/>\n"
4502 " <property access=\"read\" type=\"b\" name=\"SMSChannel\"/>\n"
4503 " <method name=\"GetSMSLength\">\n"
4504 " <arg direction=\"in\" type=\"aa{sv}\" name=\"message\">\n"
4505 " <annotation value=\"Tp::MessagePartList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4506 " </arg>\n"
4507 " <arg direction=\"out\" type=\"u\" name=\"chunksRequired\"/>\n"
4508 " <arg direction=\"out\" type=\"i\" name=\"remainingCharacters\"/>\n"
4509 " <arg direction=\"out\" type=\"i\" name=\"estimatedCost\"/>\n"
4510 " </method>\n"
4511 " <signal name=\"SMSChannelChanged\">\n"
4512 " <arg type=\"b\" name=\"SMSChannel\"/>\n"
4513 " </signal>\n"
4514 " </interface>\n"
4515 "")
4516 Q_PROPERTY(bool Flash READ Flash )
4517 Q_PROPERTY(bool SMSChannel READ SMSChannel )
4518
4519 public:
4520 ChannelInterfaceSMSAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4521 virtual ~ChannelInterfaceSMSAdaptor();
4522
4523 typedef Tp::MethodInvocationContextPtr< uint, int, int > GetSMSLengthContextPtr;
4524
4525 public: // PROPERTIES
4567 bool Flash() const;
4632 bool SMSChannel() const;
4633
4634 public Q_SLOTS: // METHODS
4698 uint GetSMSLength(const Tp::MessagePartList& message, const QDBusMessage& dbusMessage, int& remainingCharacters, int& estimatedCost);
4699
4700 Q_SIGNALS: // SIGNALS
4713 void SMSChannelChanged(bool SMSChannel);
4714 };
4715
4723 class TP_QT_EXPORT ChannelInterfaceSecurableAdaptor : public Tp::AbstractAdaptor
4724 {
4725 Q_OBJECT
4726 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Securable")
4727 Q_CLASSINFO("D-Bus Introspection", ""
4728 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Securable\">\n"
4729 " <property access=\"read\" type=\"b\" name=\"Encrypted\"/>\n"
4730 " <property access=\"read\" type=\"b\" name=\"Verified\"/>\n"
4731 " </interface>\n"
4732 "")
4733 Q_PROPERTY(bool Encrypted READ Encrypted )
4734 Q_PROPERTY(bool Verified READ Verified )
4735
4736 public:
4737 ChannelInterfaceSecurableAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4738 virtual ~ChannelInterfaceSecurableAdaptor();
4739
4740
4741 public: // PROPERTIES
4765 bool Encrypted() const;
4784 bool Verified() const;
4785 };
4786
4794 class TP_QT_EXPORT ChannelInterfaceServicePointAdaptor : public Tp::AbstractAdaptor
4795 {
4796 Q_OBJECT
4797 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.ServicePoint")
4798 Q_CLASSINFO("D-Bus Introspection", ""
4799 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.ServicePoint\">\n"
4800 " <property access=\"read\" type=\"(us)\" name=\"InitialServicePoint\">\n"
4801 " <annotation value=\"Tp::ServicePoint\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
4802 " </property>\n"
4803 " <property access=\"read\" type=\"(us)\" name=\"CurrentServicePoint\">\n"
4804 " <annotation value=\"Tp::ServicePoint\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
4805 " </property>\n"
4806 " <signal name=\"ServicePointChanged\">\n"
4807 " <arg type=\"(us)\" name=\"servicePoint\">\n"
4808 " <annotation value=\"Tp::ServicePoint\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4809 " </arg>\n"
4810 " </signal>\n"
4811 " </interface>\n"
4812 "")
4813 Q_PROPERTY(Tp::ServicePoint InitialServicePoint READ InitialServicePoint )
4814 Q_PROPERTY(Tp::ServicePoint CurrentServicePoint READ CurrentServicePoint )
4815
4816 public:
4817 ChannelInterfaceServicePointAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4818 virtual ~ChannelInterfaceServicePointAdaptor();
4819
4820
4821 public: // PROPERTIES
4843 Tp::ServicePoint InitialServicePoint() const;
4858 Tp::ServicePoint CurrentServicePoint() const;
4859
4860 Q_SIGNALS: // SIGNALS
4873 void ServicePointChanged(const Tp::ServicePoint& servicePoint);
4874 };
4875
4883 class TP_QT_EXPORT ChannelInterfaceSplittableAdaptor : public Tp::AbstractAdaptor
4884 {
4885 Q_OBJECT
4886 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Splittable.DRAFT")
4887 Q_CLASSINFO("D-Bus Introspection", ""
4888 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Splittable.DRAFT\">\n"
4889 " <method name=\"Split\"/>\n"
4890 " </interface>\n"
4891 "")
4892
4893 public:
4894 ChannelInterfaceSplittableAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4895 virtual ~ChannelInterfaceSplittableAdaptor();
4896
4897 typedef Tp::MethodInvocationContextPtr< > SplitContextPtr;
4898
4899 public Q_SLOTS: // METHODS
4920 void Split(const QDBusMessage& dbusMessage);
4921 };
4922
4930 class TP_QT_EXPORT ChannelInterfaceSubjectAdaptor : public Tp::AbstractAdaptor
4931 {
4932 Q_OBJECT
4933 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Subject2")
4934 Q_CLASSINFO("D-Bus Introspection", ""
4935 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Subject2\">\n"
4936 " <property access=\"read\" type=\"s\" name=\"Subject\"/>\n"
4937 " <property access=\"read\" type=\"s\" name=\"Actor\"/>\n"
4938 " <property access=\"read\" type=\"u\" name=\"ActorHandle\"/>\n"
4939 " <property access=\"read\" type=\"x\" name=\"Timestamp\"/>\n"
4940 " <property access=\"read\" type=\"b\" name=\"CanSet\"/>\n"
4941 " <method name=\"SetSubject\">\n"
4942 " <arg direction=\"in\" type=\"s\" name=\"subject\"/>\n"
4943 " </method>\n"
4944 " </interface>\n"
4945 "")
4946 Q_PROPERTY(QString Subject READ Subject )
4947 Q_PROPERTY(QString Actor READ Actor )
4948 Q_PROPERTY(uint ActorHandle READ ActorHandle )
4949 Q_PROPERTY(qlonglong Timestamp READ Timestamp )
4950 Q_PROPERTY(bool CanSet READ CanSet )
4951
4952 public:
4953 ChannelInterfaceSubjectAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4954 virtual ~ChannelInterfaceSubjectAdaptor();
4955
4956 typedef Tp::MethodInvocationContextPtr< > SetSubjectContextPtr;
4957
4958 public: // PROPERTIES
4980 QString Subject() const;
4999 QString Actor() const;
5014 uint ActorHandle() const;
5033 qlonglong Timestamp() const;
5060 bool CanSet() const;
5061
5062 public Q_SLOTS: // METHODS
5088 void SetSubject(const QString& subject, const QDBusMessage& dbusMessage);
5089 };
5090
5098 class TP_QT_EXPORT ChannelTypeCallAdaptor : public Tp::AbstractAdaptor
5099 {
5100 Q_OBJECT
5101 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.Call1")
5102 Q_CLASSINFO("D-Bus Introspection", ""
5103 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.Call1\">\n"
5104 " <property access=\"read\" type=\"ao\" name=\"Contents\"/>\n"
5105 " <property access=\"read\" type=\"a{sv}\" name=\"CallStateDetails\"/>\n"
5106 " <property access=\"read\" type=\"u\" name=\"CallState\"/>\n"
5107 " <property access=\"read\" type=\"u\" name=\"CallFlags\"/>\n"
5108 " <property access=\"read\" type=\"(uuss)\" name=\"CallStateReason\">\n"
5109 " <annotation value=\"Tp::CallStateReason\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
5110 " </property>\n"
5111 " <property access=\"read\" type=\"b\" name=\"HardwareStreaming\"/>\n"
5112 " <property access=\"read\" type=\"a{uu}\" name=\"CallMembers\">\n"
5113 " <annotation value=\"Tp::CallMemberMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
5114 " </property>\n"
5115 " <property access=\"read\" type=\"a{us}\" name=\"MemberIdentifiers\">\n"
5116 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
5117 " </property>\n"
5118 " <property access=\"read\" type=\"u\" name=\"InitialTransport\"/>\n"
5119 " <property access=\"read\" type=\"b\" name=\"InitialAudio\"/>\n"
5120 " <property access=\"read\" type=\"b\" name=\"InitialVideo\"/>\n"
5121 " <property access=\"read\" type=\"s\" name=\"InitialAudioName\"/>\n"
5122 " <property access=\"read\" type=\"s\" name=\"InitialVideoName\"/>\n"
5123 " <property access=\"read\" type=\"b\" name=\"MutableContents\"/>\n"
5124 " <method name=\"SetRinging\"/>\n"
5125 " <method name=\"SetQueued\"/>\n"
5126 " <method name=\"Accept\"/>\n"
5127 " <method name=\"Hangup\">\n"
5128 " <arg direction=\"in\" type=\"u\" name=\"reason\"/>\n"
5129 " <arg direction=\"in\" type=\"s\" name=\"detailedHangupReason\"/>\n"
5130 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
5131 " </method>\n"
5132 " <method name=\"AddContent\">\n"
5133 " <arg direction=\"in\" type=\"s\" name=\"contentName\"/>\n"
5134 " <arg direction=\"in\" type=\"u\" name=\"contentType\"/>\n"
5135 " <arg direction=\"in\" type=\"u\" name=\"initialDirection\"/>\n"
5136 " <arg direction=\"out\" type=\"o\" name=\"content\"/>\n"
5137 " </method>\n"
5138 " <signal name=\"ContentAdded\">\n"
5139 " <arg type=\"o\" name=\"content\"/>\n"
5140 " </signal>\n"
5141 " <signal name=\"ContentRemoved\">\n"
5142 " <arg type=\"o\" name=\"content\"/>\n"
5143 " <arg type=\"(uuss)\" name=\"reason\">\n"
5144 " <annotation value=\"Tp::CallStateReason\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
5145 " </arg>\n"
5146 " </signal>\n"
5147 " <signal name=\"CallStateChanged\">\n"
5148 " <arg type=\"u\" name=\"callState\"/>\n"
5149 " <arg type=\"u\" name=\"callFlags\"/>\n"
5150 " <arg type=\"(uuss)\" name=\"callStateReason\">\n"
5151 " <annotation value=\"Tp::CallStateReason\" name=\"com.trolltech.QtDBus.QtTypeName.In2\"/>\n"
5152 " </arg>\n"
5153 " <arg type=\"a{sv}\" name=\"callStateDetails\"/>\n"
5154 " </signal>\n"
5155 " <signal name=\"CallMembersChanged\">\n"
5156 " <arg type=\"a{uu}\" name=\"flagsChanged\">\n"
5157 " <annotation value=\"Tp::CallMemberMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
5158 " </arg>\n"
5159 " <arg type=\"a{us}\" name=\"identifiers\">\n"
5160 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
5161 " </arg>\n"
5162 " <arg type=\"au\" name=\"removed\"/>\n"
5163 " <arg type=\"(uuss)\" name=\"reason\">\n"
5164 " <annotation value=\"Tp::CallStateReason\" name=\"com.trolltech.QtDBus.QtTypeName.In3\"/>\n"
5165 " </arg>\n"
5166 " </signal>\n"
5167 " </interface>\n"
5168 "")
5169 Q_PROPERTY(Tp::ObjectPathList Contents READ Contents )
5170 Q_PROPERTY(QVariantMap CallStateDetails READ CallStateDetails )
5171 Q_PROPERTY(uint CallState READ CallState )
5172 Q_PROPERTY(uint CallFlags READ CallFlags )
5173 Q_PROPERTY(Tp::CallStateReason CallStateReason READ CallStateReason )
5174 Q_PROPERTY(bool HardwareStreaming READ HardwareStreaming )
5175 Q_PROPERTY(Tp::CallMemberMap CallMembers READ CallMembers )
5176 Q_PROPERTY(Tp::HandleIdentifierMap MemberIdentifiers READ MemberIdentifiers )
5177 Q_PROPERTY(uint InitialTransport READ InitialTransport )
5178 Q_PROPERTY(bool InitialAudio READ InitialAudio )
5179 Q_PROPERTY(bool InitialVideo READ InitialVideo )
5180 Q_PROPERTY(QString InitialAudioName READ InitialAudioName )
5181 Q_PROPERTY(QString InitialVideoName READ InitialVideoName )
5182 Q_PROPERTY(bool MutableContents READ MutableContents )
5183
5184 public:
5185 ChannelTypeCallAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
5186 virtual ~ChannelTypeCallAdaptor();
5187
5188 typedef Tp::MethodInvocationContextPtr< > SetRingingContextPtr;
5189 typedef Tp::MethodInvocationContextPtr< > SetQueuedContextPtr;
5190 typedef Tp::MethodInvocationContextPtr< > AcceptContextPtr;
5191 typedef Tp::MethodInvocationContextPtr< > HangupContextPtr;
5192 typedef Tp::MethodInvocationContextPtr< QDBusObjectPath > AddContentContextPtr;
5193
5194 public: // PROPERTIES
5212 Tp::ObjectPathList Contents() const;
5278 QVariantMap CallStateDetails() const;
5305 uint CallState() const;
5327 uint CallFlags() const;
5345 Tp::CallStateReason CallStateReason() const;
5381 bool HardwareStreaming() const;
5409 Tp::CallMemberMap CallMembers() const;
5423 Tp::HandleIdentifierMap MemberIdentifiers() const;
5447 uint InitialTransport() const;
5519 bool InitialAudio() const;
5542 bool InitialVideo() const;
5572 QString InitialAudioName() const;
5590 QString InitialVideoName() const;
5624 bool MutableContents() const;
5625
5626 public Q_SLOTS: // METHODS
5658 void SetRinging(const QDBusMessage& dbusMessage);
5692 void SetQueued(const QDBusMessage& dbusMessage);
5730 void Accept(const QDBusMessage& dbusMessage);
5756 void Hangup(uint reason, const QString& detailedHangupReason, const QString& message, const QDBusMessage& dbusMessage);
5794 QDBusObjectPath AddContent(const QString& contentName, uint contentType, uint initialDirection, const QDBusMessage& dbusMessage);
5795
5796 Q_SIGNALS: // SIGNALS
5809 void ContentAdded(const QDBusObjectPath& content);
5825 void ContentRemoved(const QDBusObjectPath& content, const Tp::CallStateReason& reason);
5847 void CallStateChanged(uint callState, uint callFlags, const Tp::CallStateReason& callStateReason, const QVariantMap& callStateDetails);
5874 void CallMembersChanged(const Tp::CallMemberMap& flagsChanged, const Tp::HandleIdentifierMap& identifiers, const Tp::UIntList& removed, const Tp::CallStateReason& reason);
5875 };
5876
5884 class TP_QT_EXPORT ChannelTypeContactSearchAdaptor : public Tp::AbstractAdaptor
5885 {
5886 Q_OBJECT
5887 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.ContactSearch")
5888 Q_CLASSINFO("D-Bus Introspection", ""
5889 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.ContactSearch\">\n"
5890 " <property access=\"read\" type=\"u\" name=\"SearchState\"/>\n"
5891 " <property access=\"read\" type=\"u\" name=\"Limit\"/>\n"
5892 " <property access=\"read\" type=\"as\" name=\"AvailableSearchKeys\"/>\n"
5893 " <property access=\"read\" type=\"s\" name=\"Server\"/>\n"
5894 " <method name=\"Search\">\n"
5895 " <arg direction=\"in\" type=\"a{ss}\" name=\"terms\">\n"
5896 " <annotation value=\"Tp::ContactSearchMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
5897 " </arg>\n"
5898 " </method>\n"
5899 " <method name=\"More\"/>\n"
5900 " <method name=\"Stop\"/>\n"
5901 " <signal name=\"SearchStateChanged\">\n"
5902 " <arg type=\"u\" name=\"state\"/>\n"
5903 " <arg type=\"s\" name=\"error\"/>\n"
5904 " <arg type=\"a{sv}\" name=\"details\"/>\n"
5905 " </signal>\n"
5906 " <signal name=\"SearchResultReceived\">\n"
5907 " <arg type=\"a{sa(sasas)}\" name=\"result\">\n"
5908 " <annotation value=\"Tp::ContactSearchResultMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
5909 " </arg>\n"
5910 " </signal>\n"
5911 " </interface>\n"
5912 "")
5913 Q_PROPERTY(uint SearchState READ SearchState )
5914 Q_PROPERTY(uint Limit READ Limit )
5915 Q_PROPERTY(QStringList AvailableSearchKeys READ AvailableSearchKeys )
5916 Q_PROPERTY(QString Server READ Server )
5917
5918 public:
5919 ChannelTypeContactSearchAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
5920 virtual ~ChannelTypeContactSearchAdaptor();
5921
5922 typedef Tp::MethodInvocationContextPtr< > SearchContextPtr;
5923 typedef Tp::MethodInvocationContextPtr< > MoreContextPtr;
5924 typedef Tp::MethodInvocationContextPtr< > StopContextPtr;
5925
5926 public: // PROPERTIES
5939 uint SearchState() const;
5967 uint Limit() const;
5984 QStringList AvailableSearchKeys() const;
6007 QString Server() const;
6008
6009 public Q_SLOTS: // METHODS
6029 void Search(const Tp::ContactSearchMap& terms, const QDBusMessage& dbusMessage);
6047 void More(const QDBusMessage& dbusMessage);
6083 void Stop(const QDBusMessage& dbusMessage);
6084
6085 Q_SIGNALS: // SIGNALS
6124 void SearchStateChanged(uint state, const QString& error, const QVariantMap& details);
6138 void SearchResultReceived(const Tp::ContactSearchResultMap& result);
6139 };
6140
6148 class TP_QT_EXPORT ChannelTypeDBusTubeAdaptor : public Tp::AbstractAdaptor
6149 {
6150 Q_OBJECT
6151 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.DBusTube")
6152 Q_CLASSINFO("D-Bus Introspection", ""
6153 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.DBusTube\">\n"
6154 " <property access=\"read\" type=\"s\" name=\"ServiceName\"/>\n"
6155 " <property access=\"read\" type=\"a{us}\" name=\"DBusNames\">\n"
6156 " <annotation value=\"Tp::DBusTubeParticipants\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
6157 " </property>\n"
6158 " <property access=\"read\" type=\"au\" name=\"SupportedAccessControls\"/>\n"
6159 " <method name=\"Offer\">\n"
6160 " <arg direction=\"in\" type=\"a{sv}\" name=\"parameters\">\n"
6161 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
6162 " </arg>\n"
6163 " <arg direction=\"in\" type=\"u\" name=\"accesscontrol\"/>\n"
6164 " <arg direction=\"out\" type=\"s\" name=\"address\"/>\n"
6165 " </method>\n"
6166 " <method name=\"Accept\">\n"
6167 " <arg direction=\"in\" type=\"u\" name=\"accesscontrol\"/>\n"
6168 " <arg direction=\"out\" type=\"s\" name=\"address\"/>\n"
6169 " </method>\n"
6170 " <signal name=\"DBusNamesChanged\">\n"
6171 " <arg type=\"a{us}\" name=\"added\">\n"
6172 " <annotation value=\"Tp::DBusTubeParticipants\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
6173 " </arg>\n"
6174 " <arg type=\"au\" name=\"removed\"/>\n"
6175 " </signal>\n"
6176 " </interface>\n"
6177 "")
6178 Q_PROPERTY(QString ServiceName READ ServiceName )
6179 Q_PROPERTY(Tp::DBusTubeParticipants DBusNames READ DBusNames )
6180 Q_PROPERTY(Tp::UIntList SupportedAccessControls READ SupportedAccessControls )
6181
6182 public:
6183 ChannelTypeDBusTubeAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
6184 virtual ~ChannelTypeDBusTubeAdaptor();
6185
6186 typedef Tp::MethodInvocationContextPtr< QString > OfferContextPtr;
6187 typedef Tp::MethodInvocationContextPtr< QString > AcceptContextPtr;
6188
6189 public: // PROPERTIES
6210 QString ServiceName() const;
6225 Tp::DBusTubeParticipants DBusNames() const;
6255 Tp::UIntList SupportedAccessControls() const;
6256
6257 public Q_SLOTS: // METHODS
6282 QString Offer(const QVariantMap& parameters, uint accesscontrol, const QDBusMessage& dbusMessage);
6307 QString Accept(uint accesscontrol, const QDBusMessage& dbusMessage);
6308
6309 Q_SIGNALS: // SIGNALS
6325 void DBusNamesChanged(const Tp::DBusTubeParticipants& added, const Tp::UIntList& removed);
6326 };
6327
6335 class TP_QT_EXPORT ChannelTypeFileTransferAdaptor : public Tp::AbstractAdaptor
6336 {
6337 Q_OBJECT
6338 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.FileTransfer")
6339 Q_CLASSINFO("D-Bus Introspection", ""
6340 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.FileTransfer\">\n"
6341 " <property access=\"read\" type=\"u\" name=\"State\"/>\n"
6342 " <property access=\"read\" type=\"s\" name=\"ContentType\"/>\n"
6343 " <property access=\"read\" type=\"s\" name=\"Filename\"/>\n"
6344 " <property access=\"read\" type=\"t\" name=\"Size\"/>\n"
6345 " <property access=\"read\" type=\"u\" name=\"ContentHashType\"/>\n"
6346 " <property access=\"read\" type=\"s\" name=\"ContentHash\"/>\n"
6347 " <property access=\"read\" type=\"s\" name=\"Description\"/>\n"
6348 " <property access=\"read\" type=\"x\" name=\"Date\"/>\n"
6349 " <property access=\"read\" type=\"a{uau}\" name=\"AvailableSocketTypes\">\n"
6350 " <annotation value=\"Tp::SupportedSocketMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
6351 " </property>\n"
6352 " <property access=\"read\" type=\"t\" name=\"TransferredBytes\"/>\n"
6353 " <property access=\"read\" type=\"t\" name=\"InitialOffset\"/>\n"
6354 " <property access=\"readwrite\" type=\"s\" name=\"URI\"/>\n"
6355 " <property access=\"read\" type=\"s\" name=\"FileCollection\"/>\n"
6356 " <method name=\"AcceptFile\">\n"
6357 " <arg direction=\"in\" type=\"u\" name=\"addressType\"/>\n"
6358 " <arg direction=\"in\" type=\"u\" name=\"accessControl\"/>\n"
6359 " <arg direction=\"in\" type=\"v\" name=\"accessControlParam\"/>\n"
6360 " <arg direction=\"in\" type=\"t\" name=\"offset\"/>\n"
6361 " <arg direction=\"out\" type=\"v\" name=\"address\"/>\n"
6362 " </method>\n"
6363 " <method name=\"ProvideFile\">\n"
6364 " <arg direction=\"in\" type=\"u\" name=\"addressType\"/>\n"
6365 " <arg direction=\"in\" type=\"u\" name=\"accessControl\"/>\n"
6366 " <arg direction=\"in\" type=\"v\" name=\"accessControlParam\"/>\n"
6367 " <arg direction=\"out\" type=\"v\" name=\"address\"/>\n"
6368 " </method>\n"
6369 " <signal name=\"FileTransferStateChanged\">\n"
6370 " <arg type=\"u\" name=\"state\"/>\n"
6371 " <arg type=\"u\" name=\"reason\"/>\n"
6372 " </signal>\n"
6373 " <signal name=\"TransferredBytesChanged\">\n"
6374 " <arg type=\"t\" name=\"count\"/>\n"
6375 " </signal>\n"
6376 " <signal name=\"InitialOffsetDefined\">\n"
6377 " <arg type=\"t\" name=\"initialOffset\"/>\n"
6378 " </signal>\n"
6379 " <signal name=\"URIDefined\">\n"
6380 " <arg type=\"s\" name=\"URI\"/>\n"
6381 " </signal>\n"
6382 " </interface>\n"
6383 "")
6384 Q_PROPERTY(uint State READ State )
6385 Q_PROPERTY(QString ContentType READ ContentType )
6386 Q_PROPERTY(QString Filename READ Filename )
6387 Q_PROPERTY(qulonglong Size READ Size )
6388 Q_PROPERTY(uint ContentHashType READ ContentHashType )
6389 Q_PROPERTY(QString ContentHash READ ContentHash )
6390 Q_PROPERTY(QString Description READ Description )
6391 Q_PROPERTY(qlonglong Date READ Date )
6392 Q_PROPERTY(Tp::SupportedSocketMap AvailableSocketTypes READ AvailableSocketTypes )
6393 Q_PROPERTY(qulonglong TransferredBytes READ TransferredBytes )
6394 Q_PROPERTY(qulonglong InitialOffset READ InitialOffset )
6395 Q_PROPERTY(QString URI READ URI WRITE SetURI)
6396 Q_PROPERTY(QString FileCollection READ FileCollection )
6397
6398 public:
6399 ChannelTypeFileTransferAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
6400 virtual ~ChannelTypeFileTransferAdaptor();
6401
6402 typedef Tp::MethodInvocationContextPtr< QDBusVariant > AcceptFileContextPtr;
6403 typedef Tp::MethodInvocationContextPtr< QDBusVariant > ProvideFileContextPtr;
6404
6405 public: // PROPERTIES
6420 uint State() const;
6440 QString ContentType() const;
6464 QString Filename() const;
6490 qulonglong Size() const;
6519 uint ContentHashType() const;
6542 QString ContentHash() const;
6562 QString Description() const;
6581 qlonglong Date() const;
6612 Tp::SupportedSocketMap AvailableSocketTypes() const;
6628 qulonglong TransferredBytes() const;
6653 qulonglong InitialOffset() const;
6691 QString URI() const;
6727 void SetURI(const QString &newValue);
6762 QString FileCollection() const;
6763
6764 public Q_SLOTS: // METHODS
6807 QDBusVariant AcceptFile(uint addressType, uint accessControl, const QDBusVariant& accessControlParam, qulonglong offset, const QDBusMessage& dbusMessage);
6840 QDBusVariant ProvideFile(uint addressType, uint accessControl, const QDBusVariant& accessControlParam, const QDBusMessage& dbusMessage);
6841
6842 Q_SIGNALS: // SIGNALS
6862 void FileTransferStateChanged(uint state, uint reason);
6875 void TransferredBytesChanged(qulonglong count);
6888 void InitialOffsetDefined(qulonglong initialOffset);
6901 void URIDefined(const QString& URI);
6902 };
6903
6911 class TP_QT_EXPORT ChannelTypeRoomListAdaptor : public Tp::AbstractAdaptor
6912 {
6913 Q_OBJECT
6914 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.RoomList")
6915 Q_CLASSINFO("D-Bus Introspection", ""
6916 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.RoomList\">\n"
6917 " <property access=\"read\" type=\"s\" name=\"Server\"/>\n"
6918 " <method name=\"GetListingRooms\">\n"
6919 " <arg direction=\"out\" type=\"b\" name=\"inProgress\"/>\n"
6920 " </method>\n"
6921 " <method name=\"ListRooms\"/>\n"
6922 " <method name=\"StopListing\"/>\n"
6923 " <signal name=\"GotRooms\">\n"
6924 " <arg type=\"a(usa{sv})\" name=\"rooms\">\n"
6925 " <annotation value=\"Tp::RoomInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
6926 " </arg>\n"
6927 " </signal>\n"
6928 " <signal name=\"ListingRooms\">\n"
6929 " <arg type=\"b\" name=\"listing\"/>\n"
6930 " </signal>\n"
6931 " </interface>\n"
6932 "")
6933 Q_PROPERTY(QString Server READ Server )
6934
6935 public:
6936 ChannelTypeRoomListAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
6937 virtual ~ChannelTypeRoomListAdaptor();
6938
6939 typedef Tp::MethodInvocationContextPtr< bool > GetListingRoomsContextPtr;
6940 typedef Tp::MethodInvocationContextPtr< > ListRoomsContextPtr;
6941 typedef Tp::MethodInvocationContextPtr< > StopListingContextPtr;
6942
6943 public: // PROPERTIES
6959 QString Server() const;
6960
6961 public Q_SLOTS: // METHODS
6979 bool GetListingRooms(const QDBusMessage& dbusMessage);
6996 void ListRooms(const QDBusMessage& dbusMessage);
7012 void StopListing(const QDBusMessage& dbusMessage);
7013
7014 Q_SIGNALS: // SIGNALS
7034 void GotRooms(const Tp::RoomInfoList& rooms);
7047 void ListingRooms(bool listing);
7048 };
7049
7057 class TP_QT_EXPORT ChannelTypeServerAuthenticationAdaptor : public Tp::AbstractAdaptor
7058 {
7059 Q_OBJECT
7060 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.ServerAuthentication")
7061 Q_CLASSINFO("D-Bus Introspection", ""
7062 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.ServerAuthentication\">\n"
7063 " <property access=\"read\" type=\"s\" name=\"AuthenticationMethod\"/>\n"
7064 " </interface>\n"
7065 "")
7066 Q_PROPERTY(QString AuthenticationMethod READ AuthenticationMethod )
7067
7068 public:
7069 ChannelTypeServerAuthenticationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
7070 virtual ~ChannelTypeServerAuthenticationAdaptor();
7071
7072
7073 public: // PROPERTIES
7092 QString AuthenticationMethod() const;
7093 };
7094
7102 class TP_QT_EXPORT ChannelTypeServerTLSConnectionAdaptor : public Tp::AbstractAdaptor
7103 {
7104 Q_OBJECT
7105 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection")
7106 Q_CLASSINFO("D-Bus Introspection", ""
7107 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection\">\n"
7108 " <property access=\"read\" type=\"o\" name=\"ServerCertificate\"/>\n"
7109 " <property access=\"read\" type=\"s\" name=\"Hostname\"/>\n"
7110 " <property access=\"read\" type=\"as\" name=\"ReferenceIdentities\"/>\n"
7111 " </interface>\n"
7112 "")
7113 Q_PROPERTY(QDBusObjectPath ServerCertificate READ ServerCertificate )
7114 Q_PROPERTY(QString Hostname READ Hostname )
7115 Q_PROPERTY(QStringList ReferenceIdentities READ ReferenceIdentities )
7116
7117 public:
7118 ChannelTypeServerTLSConnectionAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
7119 virtual ~ChannelTypeServerTLSConnectionAdaptor();
7120
7121
7122 public: // PROPERTIES
7135 QDBusObjectPath ServerCertificate() const;
7151 QString Hostname() const;
7180 QStringList ReferenceIdentities() const;
7181 };
7182
7190 class TP_QT_EXPORT ChannelTypeStreamTubeAdaptor : public Tp::AbstractAdaptor
7191 {
7192 Q_OBJECT
7193 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.StreamTube")
7194 Q_CLASSINFO("D-Bus Introspection", ""
7195 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.StreamTube\">\n"
7196 " <property access=\"read\" type=\"s\" name=\"Service\"/>\n"
7197 " <property access=\"read\" type=\"a{uau}\" name=\"SupportedSocketTypes\">\n"
7198 " <annotation value=\"Tp::SupportedSocketMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
7199 " </property>\n"
7200 " <method name=\"Offer\">\n"
7201 " <arg direction=\"in\" type=\"u\" name=\"addresstype\"/>\n"
7202 " <arg direction=\"in\" type=\"v\" name=\"address\"/>\n"
7203 " <arg direction=\"in\" type=\"u\" name=\"accesscontrol\"/>\n"
7204 " <arg direction=\"in\" type=\"a{sv}\" name=\"parameters\">\n"
7205 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In3\"/>\n"
7206 " </arg>\n"
7207 " </method>\n"
7208 " <method name=\"Accept\">\n"
7209 " <arg direction=\"in\" type=\"u\" name=\"addresstype\"/>\n"
7210 " <arg direction=\"in\" type=\"u\" name=\"accesscontrol\"/>\n"
7211 " <arg direction=\"in\" type=\"v\" name=\"accesscontrolparam\"/>\n"
7212 " <arg direction=\"out\" type=\"v\" name=\"address\"/>\n"
7213 " </method>\n"
7214 " <signal name=\"NewRemoteConnection\">\n"
7215 " <arg type=\"u\" name=\"handle\"/>\n"
7216 " <arg type=\"v\" name=\"connectionParam\"/>\n"
7217 " <arg type=\"u\" name=\"connectionID\"/>\n"
7218 " </signal>\n"
7219 " <signal name=\"NewLocalConnection\">\n"
7220 " <arg type=\"u\" name=\"connectionID\"/>\n"
7221 " </signal>\n"
7222 " <signal name=\"ConnectionClosed\">\n"
7223 " <arg type=\"u\" name=\"connectionID\"/>\n"
7224 " <arg type=\"s\" name=\"error\"/>\n"
7225 " <arg type=\"s\" name=\"message\"/>\n"
7226 " </signal>\n"
7227 " </interface>\n"
7228 "")
7229 Q_PROPERTY(QString Service READ Service )
7230 Q_PROPERTY(Tp::SupportedSocketMap SupportedSocketTypes READ SupportedSocketTypes )
7231
7232 public:
7233 ChannelTypeStreamTubeAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
7234 virtual ~ChannelTypeStreamTubeAdaptor();
7235
7236 typedef Tp::MethodInvocationContextPtr< > OfferContextPtr;
7237 typedef Tp::MethodInvocationContextPtr< QDBusVariant > AcceptContextPtr;
7238
7239 public: // PROPERTIES
7264 QString Service() const;
7301 Tp::SupportedSocketMap SupportedSocketTypes() const;
7302
7303 public Q_SLOTS: // METHODS
7333 void Offer(uint addresstype, const QDBusVariant& address, uint accesscontrol, const QVariantMap& parameters, const QDBusMessage& dbusMessage);
7373 QDBusVariant Accept(uint addresstype, uint accesscontrol, const QDBusVariant& accesscontrolparam, const QDBusMessage& dbusMessage);
7374
7375 Q_SIGNALS: // SIGNALS
7412 void NewRemoteConnection(uint handle, const QDBusVariant& connectionParam, uint connectionID);
7427 void NewLocalConnection(uint connectionID);
7458 void ConnectionClosed(uint connectionID, const QString& error, const QString& message);
7459 };
7460
7468 class TP_QT_EXPORT ChannelTypeStreamedMediaAdaptor : public Tp::AbstractAdaptor
7469 {
7470 Q_OBJECT
7471 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.StreamedMedia")
7472 Q_CLASSINFO("D-Bus Introspection", ""
7473 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.StreamedMedia\">\n"
7474 " <property access=\"read\" type=\"b\" name=\"InitialAudio\"/>\n"
7475 " <property access=\"read\" type=\"b\" name=\"InitialVideo\"/>\n"
7476 " <property access=\"read\" type=\"b\" name=\"ImmutableStreams\"/>\n"
7477 " <method name=\"ListStreams\">\n"
7478 " <arg direction=\"out\" type=\"a(uuuuuu)\" name=\"streams\">\n"
7479 " <annotation value=\"Tp::MediaStreamInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
7480 " </arg>\n"
7481 " </method>\n"
7482 " <method name=\"RemoveStreams\">\n"
7483 " <arg direction=\"in\" type=\"au\" name=\"streams\"/>\n"
7484 " </method>\n"
7485 " <method name=\"RequestStreamDirection\">\n"
7486 " <arg direction=\"in\" type=\"u\" name=\"streamID\"/>\n"
7487 " <arg direction=\"in\" type=\"u\" name=\"streamDirection\"/>\n"
7488 " </method>\n"
7489 " <method name=\"RequestStreams\">\n"
7490 " <arg direction=\"in\" type=\"u\" name=\"contactHandle\"/>\n"
7491 " <arg direction=\"in\" type=\"au\" name=\"types\"/>\n"
7492 " <arg direction=\"out\" type=\"a(uuuuuu)\" name=\"streams\">\n"
7493 " <annotation value=\"Tp::MediaStreamInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
7494 " </arg>\n"
7495 " </method>\n"
7496 " <signal name=\"StreamAdded\">\n"
7497 " <arg type=\"u\" name=\"streamID\"/>\n"
7498 " <arg type=\"u\" name=\"contactHandle\"/>\n"
7499 " <arg type=\"u\" name=\"streamType\"/>\n"
7500 " </signal>\n"
7501 " <signal name=\"StreamDirectionChanged\">\n"
7502 " <arg type=\"u\" name=\"streamID\"/>\n"
7503 " <arg type=\"u\" name=\"streamDirection\"/>\n"
7504 " <arg type=\"u\" name=\"pendingFlags\"/>\n"
7505 " </signal>\n"
7506 " <signal name=\"StreamError\">\n"
7507 " <arg type=\"u\" name=\"streamID\"/>\n"
7508 " <arg type=\"u\" name=\"errorCode\"/>\n"
7509 " <arg type=\"s\" name=\"message\"/>\n"
7510 " </signal>\n"
7511 " <signal name=\"StreamRemoved\">\n"
7512 " <arg type=\"u\" name=\"streamID\"/>\n"
7513 " </signal>\n"
7514 " <signal name=\"StreamStateChanged\">\n"
7515 " <arg type=\"u\" name=\"streamID\"/>\n"
7516 " <arg type=\"u\" name=\"streamState\"/>\n"
7517 " </signal>\n"
7518 " </interface>\n"
7519 "")
7520 Q_PROPERTY(bool InitialAudio READ InitialAudio )
7521 Q_PROPERTY(bool InitialVideo READ InitialVideo )
7522 Q_PROPERTY(bool ImmutableStreams READ ImmutableStreams )
7523
7524 public:
7525 ChannelTypeStreamedMediaAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
7526 virtual ~ChannelTypeStreamedMediaAdaptor();
7527
7528 typedef Tp::MethodInvocationContextPtr< Tp::MediaStreamInfoList > ListStreamsContextPtr;
7529 typedef Tp::MethodInvocationContextPtr< > RemoveStreamsContextPtr;
7530 typedef Tp::MethodInvocationContextPtr< > RequestStreamDirectionContextPtr;
7531 typedef Tp::MethodInvocationContextPtr< Tp::MediaStreamInfoList > RequestStreamsContextPtr;
7532
7533 public: // PROPERTIES
7624 bool InitialAudio() const;
7647 bool InitialVideo() const;
7692 bool ImmutableStreams() const;
7693
7694 public Q_SLOTS: // METHODS
7724 Tp::MediaStreamInfoList ListStreams(const QDBusMessage& dbusMessage);
7753 void RemoveStreams(const Tp::UIntList& streams, const QDBusMessage& dbusMessage);
7791 void RequestStreamDirection(uint streamID, uint streamDirection, const QDBusMessage& dbusMessage);
7844 Tp::MediaStreamInfoList RequestStreams(uint contactHandle, const Tp::UIntList& types, const QDBusMessage& dbusMessage);
7845
7846 Q_SIGNALS: // SIGNALS
7866 void StreamAdded(uint streamID, uint contactHandle, uint streamType);
7885 void StreamDirectionChanged(uint streamID, uint streamDirection, uint pendingFlags);
7904 void StreamError(uint streamID, uint errorCode, const QString& message);
7917 void StreamRemoved(uint streamID);
7933 void StreamStateChanged(uint streamID, uint streamState);
7934 };
7935
7943 class TP_QT_EXPORT ChannelTypeTextAdaptor : public Tp::AbstractAdaptor
7944 {
7945 Q_OBJECT
7946 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.Text")
7947 Q_CLASSINFO("D-Bus Introspection", ""
7948 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.Text\">\n"
7949 " <method name=\"AcknowledgePendingMessages\">\n"
7950 " <arg direction=\"in\" type=\"au\" name=\"IDs\"/>\n"
7951 " </method>\n"
7952 " <method name=\"GetMessageTypes\">\n"
7953 " <arg direction=\"out\" type=\"au\" name=\"availableTypes\"/>\n"
7954 " </method>\n"
7955 " <method name=\"ListPendingMessages\">\n"
7956 " <arg direction=\"in\" type=\"b\" name=\"clear\"/>\n"
7957 " <arg direction=\"out\" type=\"a(uuuuus)\" name=\"pendingMessages\">\n"
7958 " <annotation value=\"Tp::PendingTextMessageList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
7959 " </arg>\n"
7960 " </method>\n"
7961 " <method name=\"Send\">\n"
7962 " <arg direction=\"in\" type=\"u\" name=\"type\"/>\n"
7963 " <arg direction=\"in\" type=\"s\" name=\"text\"/>\n"
7964 " </method>\n"
7965 " <signal name=\"LostMessage\"/>\n"
7966 " <signal name=\"Received\">\n"
7967 " <arg type=\"u\" name=\"ID\"/>\n"
7968 " <arg type=\"u\" name=\"timestamp\"/>\n"
7969 " <arg type=\"u\" name=\"sender\"/>\n"
7970 " <arg type=\"u\" name=\"type\"/>\n"
7971 " <arg type=\"u\" name=\"flags\"/>\n"
7972 " <arg type=\"s\" name=\"text\"/>\n"
7973 " </signal>\n"
7974 " <signal name=\"SendError\">\n"
7975 " <arg type=\"u\" name=\"error\"/>\n"
7976 " <arg type=\"u\" name=\"timestamp\"/>\n"
7977 " <arg type=\"u\" name=\"type\"/>\n"
7978 " <arg type=\"s\" name=\"text\"/>\n"
7979 " </signal>\n"
7980 " <signal name=\"Sent\">\n"
7981 " <arg type=\"u\" name=\"timestamp\"/>\n"
7982 " <arg type=\"u\" name=\"type\"/>\n"
7983 " <arg type=\"s\" name=\"text\"/>\n"
7984 " </signal>\n"
7985 " </interface>\n"
7986 "")
7987
7988 public:
7989 ChannelTypeTextAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
7990 virtual ~ChannelTypeTextAdaptor();
7991
7992 typedef Tp::MethodInvocationContextPtr< > AcknowledgePendingMessagesContextPtr;
7993 typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetMessageTypesContextPtr;
7994 typedef Tp::MethodInvocationContextPtr< Tp::PendingTextMessageList > ListPendingMessagesContextPtr;
7995 typedef Tp::MethodInvocationContextPtr< > SendContextPtr;
7996
7997 public Q_SLOTS: // METHODS
8015 void AcknowledgePendingMessages(const Tp::UIntList& IDs, const QDBusMessage& dbusMessage);
8033 Tp::UIntList GetMessageTypes(const QDBusMessage& dbusMessage);
8065 Tp::PendingTextMessageList ListPendingMessages(bool clear, const QDBusMessage& dbusMessage);
8099 void Send(uint type, const QString& text, const QDBusMessage& dbusMessage);
8100
8101 Q_SIGNALS: // SIGNALS
8111 void LostMessage();
8139 void Received(uint ID, uint timestamp, uint sender, uint type, uint flags, const QString& text);
8161 void SendError(uint error, uint timestamp, uint type, const QString& text);
8184 void Sent(uint timestamp, uint type, const QString& text);
8185 };
8186
8187 }
8188 }
Tp::CallFlags
QFlags< CallFlag > CallFlags
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/constants.h:574
Tp::ChannelOriginatorMap
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:885
Tp::SASLStatus
SASLStatus
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/constants.h:3660
Tp::Service::ChannelInterfaceDTMFAdaptor
Definition: svc-channel.h:1510
Tp::Service::ChannelAdaptor
Definition: svc-channel.h:27
Tp::Service::ChannelTypeServerAuthenticationAdaptor
Definition: svc-channel.h:7057
Tp::Service::ChannelInterfaceDestroyableAdaptor
Definition: svc-channel.h:1760
Tp
Definition: abstract-adaptor.cpp:31
QByteArray
Tp::Service::ChannelInterfaceMergeableConferenceAdaptor
Definition: svc-channel.h:2862
Tp::Service::ChannelInterfaceMediaSignallingAdaptor
Definition: svc-channel.h:2794
Tp::AbstractAdaptor
Base class for all the low-level service-side adaptors.
Definition: abstract-adaptor.h:40
Tp::Service::ChannelTypeTextAdaptor
Definition: svc-channel.h:7943
Tp::CaptchaAnswers
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:568
Tp::Service::ChannelTypeFileTransferAdaptor
Definition: svc-channel.h:6335
QDBusConnection
Tp::ChatStateMap
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:907
Tp::CallMemberMap
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:287
Tp::Service::ChannelInterfaceSubjectAdaptor
Definition: svc-channel.h:4930
Tp::Service::ChannelTypeStreamedMediaAdaptor
Definition: svc-channel.h:7468
Tp::Service::ChannelInterfaceSMSAdaptor
Definition: svc-channel.h:4495
Tp::Service::ChannelTypeServerTLSConnectionAdaptor
Definition: svc-channel.h:7102
Tp::Service::ChannelInterfacePasswordAdaptor
Definition: svc-channel.h:3301
QDBusObjectPath
Tp::Service::ChannelInterfaceHoldAdaptor
Definition: svc-channel.h:2653
QFlags
Tp::Service::ChannelInterfaceChatStateAdaptor
Definition: svc-channel.h:1011
Tp::CallState
CallState
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/constants.h:2286
Tp::Service::ChannelInterfaceRoomConfigAdaptor
Definition: svc-channel.h:3528
QObject
Tp::ContactSearchResultMap
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:3482
Tp::Service::ChannelInterfaceSecurableAdaptor
Definition: svc-channel.h:4723
Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor
Definition: svc-channel.h:3892
Tp::Service::ChannelInterfaceFileTransferMetadataAdaptor
Definition: svc-channel.h:1834
Tp::ServicePoint
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:2701
Tp::Service::ChannelInterfaceCallStateAdaptor
Definition: svc-channel.h:628
Tp::SupportedSocketMap
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:3100
Tp::Service::ChannelInterfaceAnonymityAdaptor
Definition: svc-channel.h:546
QString
QList
Tp::Metadata
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:2083
QStringList
Tp::Service::ChannelInterfaceSplittableAdaptor
Definition: svc-channel.h:4883
Tp::HandleOwnerMap
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:1668
Tp::Service::ChannelTypeRoomListAdaptor
Definition: svc-channel.h:6911
Tp::UIntList
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:101
Tp::ContactSearchMap
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:1262
Tp::ObjectPathList
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:81
Tp::CaptchaStatus
CaptchaStatus
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/constants.h:3025
Tp::DBusTubeParticipants
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:1443
Tp::ChannelCallStateMap
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:685
QDBusMessage
QDBusVariant
Tp::Service::ChannelTypeStreamTubeAdaptor
Definition: svc-channel.h:7190
Tp::Service::ChannelTypeDBusTubeAdaptor
Definition: svc-channel.h:6148
Tp::Service::ChannelInterfaceRoomAdaptor
Definition: svc-channel.h:3398
Tp::Service::ChannelTypeContactSearchAdaptor
Definition: svc-channel.h:5884
Tp::Service::ChannelInterfaceConferenceAdaptor
Definition: svc-channel.h:1123
Tp::HandleIdentifierMap
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:1646
Tp::Service::ChannelTypeCallAdaptor
Definition: svc-channel.h:5098
Tp::CallStateReason
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:320
Tp::Service::ChannelInterfaceServicePointAdaptor
Definition: svc-channel.h:4794
Tp::MessagePartSupportFlags
QFlags< MessagePartSupportFlag > MessagePartSupportFlags
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/constants.h:1106
Tp::MessagePartContentMap
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:2052
Tp::Service::ChannelInterfaceMessagesAdaptor
Definition: svc-channel.h:2930
Tp::Service::ChannelInterfaceGroupAdaptor
Definition: svc-channel.h:1930
Tp::Service::ChannelInterfaceCaptchaAuthenticationAdaptor
Definition: svc-channel.h:698