00001
00002
00003
00004
00005
00006
00007
00008 #include <TelepathyQt/AbstractAdaptor>
00009 #include <TelepathyQt/Global>
00010 #include <TelepathyQt/Types>
00011
00012 #include <QObject>
00013 #include <QtDBus>
00014
00015 namespace Tp
00016 {
00017 namespace Service
00018 {
00019
00027 class TP_QT_EXPORT ChannelAdaptor : public Tp::AbstractAdaptor
00028 {
00029 Q_OBJECT
00030 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel")
00031 Q_CLASSINFO("D-Bus Introspection", ""
00032 " <interface name=\"org.freedesktop.Telepathy.Channel\">\n"
00033 " <property access=\"read\" type=\"s\" name=\"ChannelType\"/>\n"
00034 " <property access=\"read\" type=\"as\" name=\"Interfaces\"/>\n"
00035 " <property access=\"read\" type=\"u\" name=\"TargetHandle\"/>\n"
00036 " <property access=\"read\" type=\"s\" name=\"TargetID\"/>\n"
00037 " <property access=\"read\" type=\"u\" name=\"TargetHandleType\"/>\n"
00038 " <property access=\"read\" type=\"b\" name=\"Requested\"/>\n"
00039 " <property access=\"read\" type=\"u\" name=\"InitiatorHandle\"/>\n"
00040 " <property access=\"read\" type=\"s\" name=\"InitiatorID\"/>\n"
00041 " <method name=\"Close\"/>\n"
00042 " <method name=\"GetChannelType\">\n"
00043 " <arg direction=\"out\" type=\"s\" name=\"channelType\"/>\n"
00044 " </method>\n"
00045 " <method name=\"GetHandle\">\n"
00046 " <arg direction=\"out\" type=\"u\" name=\"targetHandleType\"/>\n"
00047 " <arg direction=\"out\" type=\"u\" name=\"targetHandle\"/>\n"
00048 " </method>\n"
00049 " <method name=\"GetInterfaces\">\n"
00050 " <arg direction=\"out\" type=\"as\" name=\"interfaces\"/>\n"
00051 " </method>\n"
00052 " <signal name=\"Closed\"/>\n"
00053 " </interface>\n"
00054 "")
00055 Q_PROPERTY(QString ChannelType READ ChannelType )
00056 Q_PROPERTY(QStringList Interfaces READ Interfaces )
00057 Q_PROPERTY(uint TargetHandle READ TargetHandle )
00058 Q_PROPERTY(QString TargetID READ TargetID )
00059 Q_PROPERTY(uint TargetHandleType READ TargetHandleType )
00060 Q_PROPERTY(bool Requested READ Requested )
00061 Q_PROPERTY(uint InitiatorHandle READ InitiatorHandle )
00062 Q_PROPERTY(QString InitiatorID READ InitiatorID )
00063
00064 public:
00065 ChannelAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
00066 virtual ~ChannelAdaptor();
00067
00068 typedef Tp::MethodInvocationContextPtr< > CloseContextPtr;
00069 typedef Tp::MethodInvocationContextPtr< QString > GetChannelTypeContextPtr;
00070 typedef Tp::MethodInvocationContextPtr< uint, uint > GetHandleContextPtr;
00071 typedef Tp::MethodInvocationContextPtr< QStringList > GetInterfacesContextPtr;
00072
00073 public:
00106 QString ChannelType() const;
00142 QStringList Interfaces() const;
00189 uint TargetHandle() const;
00245 QString TargetID() const;
00267 uint TargetHandleType() const;
00338 bool Requested() const;
00402 uint InitiatorHandle() const;
00439 QString InitiatorID() const;
00440
00441 public Q_SLOTS:
00459 void Close(const QDBusMessage& dbusMessage);
00479 QString GetChannelType(const QDBusMessage& dbusMessage);
00504 uint GetHandle(const QDBusMessage& dbusMessage, uint& targetHandle);
00524 QStringList GetInterfaces(const QDBusMessage& dbusMessage);
00525
00526 Q_SIGNALS:
00536 void Closed();
00537 };
00538
00546 class TP_QT_EXPORT ChannelInterfaceAnonymityAdaptor : public Tp::AbstractAdaptor
00547 {
00548 Q_OBJECT
00549 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Anonymity")
00550 Q_CLASSINFO("D-Bus Introspection", ""
00551 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Anonymity\">\n"
00552 " <property access=\"read\" type=\"u\" name=\"AnonymityModes\"/>\n"
00553 " <property access=\"read\" type=\"b\" name=\"AnonymityMandatory\"/>\n"
00554 " <property access=\"read\" type=\"s\" name=\"AnonymousID\"/>\n"
00555 " </interface>\n"
00556 "")
00557 Q_PROPERTY(uint AnonymityModes READ AnonymityModes )
00558 Q_PROPERTY(bool AnonymityMandatory READ AnonymityMandatory )
00559 Q_PROPERTY(QString AnonymousID READ AnonymousID )
00560
00561 public:
00562 ChannelInterfaceAnonymityAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
00563 virtual ~ChannelInterfaceAnonymityAdaptor();
00564
00565
00566 public:
00581 uint AnonymityModes() const;
00594 bool AnonymityMandatory() const;
00618 QString AnonymousID() const;
00619 };
00620
00628 class TP_QT_EXPORT ChannelInterfaceCallStateAdaptor : public Tp::AbstractAdaptor
00629 {
00630 Q_OBJECT
00631 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.CallState")
00632 Q_CLASSINFO("D-Bus Introspection", ""
00633 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.CallState\">\n"
00634 " <method name=\"GetCallStates\">\n"
00635 " <arg direction=\"out\" type=\"a{uu}\" name=\"states\">\n"
00636 " <annotation value=\"Tp::ChannelCallStateMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
00637 " </arg>\n"
00638 " </method>\n"
00639 " <signal name=\"CallStateChanged\">\n"
00640 " <arg type=\"u\" name=\"contact\"/>\n"
00641 " <arg type=\"u\" name=\"state\"/>\n"
00642 " </signal>\n"
00643 " </interface>\n"
00644 "")
00645
00646 public:
00647 ChannelInterfaceCallStateAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
00648 virtual ~ChannelInterfaceCallStateAdaptor();
00649
00650 typedef Tp::MethodInvocationContextPtr< Tp::ChannelCallStateMap > GetCallStatesContextPtr;
00651
00652 public Q_SLOTS:
00670 Tp::ChannelCallStateMap GetCallStates(const QDBusMessage& dbusMessage);
00671
00672 Q_SIGNALS:
00688 void CallStateChanged(uint contact, uint state);
00689 };
00690
00698 class TP_QT_EXPORT ChannelInterfaceCaptchaAuthenticationAdaptor : public Tp::AbstractAdaptor
00699 {
00700 Q_OBJECT
00701 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.CaptchaAuthentication1")
00702 Q_CLASSINFO("D-Bus Introspection", ""
00703 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.CaptchaAuthentication1\">\n"
00704 " <property access=\"read\" type=\"b\" name=\"CanRetryCaptcha\"/>\n"
00705 " <property access=\"read\" type=\"u\" name=\"CaptchaStatus\"/>\n"
00706 " <property access=\"read\" type=\"s\" name=\"CaptchaError\"/>\n"
00707 " <property access=\"read\" type=\"a{sv}\" name=\"CaptchaErrorDetails\"/>\n"
00708 " <method name=\"GetCaptchas\">\n"
00709 " <arg direction=\"out\" type=\"a(ussuas)\" name=\"captchaInfo\">\n"
00710 " <annotation value=\"Tp::CaptchaInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
00711 " </arg>\n"
00712 " <arg direction=\"out\" type=\"u\" name=\"numberRequired\"/>\n"
00713 " <arg direction=\"out\" type=\"s\" name=\"language\"/>\n"
00714 " </method>\n"
00715 " <method name=\"GetCaptchaData\">\n"
00716 " <arg direction=\"in\" type=\"u\" name=\"ID\"/>\n"
00717 " <arg direction=\"in\" type=\"s\" name=\"mimeType\"/>\n"
00718 " <arg direction=\"out\" type=\"ay\" name=\"captchaData\"/>\n"
00719 " </method>\n"
00720 " <method name=\"AnswerCaptchas\">\n"
00721 " <arg direction=\"in\" type=\"a{us}\" name=\"answers\">\n"
00722 " <annotation value=\"Tp::CaptchaAnswers\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
00723 " </arg>\n"
00724 " </method>\n"
00725 " <method name=\"CancelCaptcha\">\n"
00726 " <arg direction=\"in\" type=\"u\" name=\"reason\"/>\n"
00727 " <arg direction=\"in\" type=\"s\" name=\"debugMessage\"/>\n"
00728 " </method>\n"
00729 " </interface>\n"
00730 "")
00731 Q_PROPERTY(bool CanRetryCaptcha READ CanRetryCaptcha )
00732 Q_PROPERTY(uint CaptchaStatus READ CaptchaStatus )
00733 Q_PROPERTY(QString CaptchaError READ CaptchaError )
00734 Q_PROPERTY(QVariantMap CaptchaErrorDetails READ CaptchaErrorDetails )
00735
00736 public:
00737 ChannelInterfaceCaptchaAuthenticationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
00738 virtual ~ChannelInterfaceCaptchaAuthenticationAdaptor();
00739
00740 typedef Tp::MethodInvocationContextPtr< Tp::CaptchaInfoList, uint, QString > GetCaptchasContextPtr;
00741 typedef Tp::MethodInvocationContextPtr< QByteArray > GetCaptchaDataContextPtr;
00742 typedef Tp::MethodInvocationContextPtr< > AnswerCaptchasContextPtr;
00743 typedef Tp::MethodInvocationContextPtr< > CancelCaptchaContextPtr;
00744
00745 public:
00769 bool CanRetryCaptcha() const;
00797 uint CaptchaStatus() const;
00833 QString CaptchaError() const;
00857 QVariantMap CaptchaErrorDetails() const;
00858
00859 public Q_SLOTS:
00913 Tp::CaptchaInfoList GetCaptchas(const QDBusMessage& dbusMessage, uint& numberRequired, QString& language);
00951 QByteArray GetCaptchaData(uint ID, const QString& mimeType, const QDBusMessage& dbusMessage);
00972 void AnswerCaptchas(const Tp::CaptchaAnswers& answers, const QDBusMessage& dbusMessage);
01001 void CancelCaptcha(uint reason, const QString& debugMessage, const QDBusMessage& dbusMessage);
01002 };
01003
01011 class TP_QT_EXPORT ChannelInterfaceChatStateAdaptor : public Tp::AbstractAdaptor
01012 {
01013 Q_OBJECT
01014 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.ChatState")
01015 Q_CLASSINFO("D-Bus Introspection", ""
01016 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.ChatState\">\n"
01017 " <property access=\"read\" type=\"a{uu}\" name=\"ChatStates\">\n"
01018 " <annotation value=\"Tp::ChatStateMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
01019 " </property>\n"
01020 " <method name=\"SetChatState\">\n"
01021 " <arg direction=\"in\" type=\"u\" name=\"state\"/>\n"
01022 " </method>\n"
01023 " <signal name=\"ChatStateChanged\">\n"
01024 " <arg type=\"u\" name=\"contact\"/>\n"
01025 " <arg type=\"u\" name=\"state\"/>\n"
01026 " </signal>\n"
01027 " </interface>\n"
01028 "")
01029 Q_PROPERTY(Tp::ChatStateMap ChatStates READ ChatStates )
01030
01031 public:
01032 ChannelInterfaceChatStateAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
01033 virtual ~ChannelInterfaceChatStateAdaptor();
01034
01035 typedef Tp::MethodInvocationContextPtr< > SetChatStateContextPtr;
01036
01037 public:
01075 Tp::ChatStateMap ChatStates() const;
01076
01077 public Q_SLOTS:
01095 void SetChatState(uint state, const QDBusMessage& dbusMessage);
01096
01097 Q_SIGNALS:
01113 void ChatStateChanged(uint contact, uint state);
01114 };
01115
01123 class TP_QT_EXPORT ChannelInterfaceConferenceAdaptor : public Tp::AbstractAdaptor
01124 {
01125 Q_OBJECT
01126 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Conference")
01127 Q_CLASSINFO("D-Bus Introspection", ""
01128 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Conference\">\n"
01129 " <property access=\"read\" type=\"ao\" name=\"Channels\"/>\n"
01130 " <property access=\"read\" type=\"ao\" name=\"InitialChannels\"/>\n"
01131 " <property access=\"read\" type=\"au\" name=\"InitialInviteeHandles\"/>\n"
01132 " <property access=\"read\" type=\"as\" name=\"InitialInviteeIDs\"/>\n"
01133 " <property access=\"read\" type=\"s\" name=\"InvitationMessage\"/>\n"
01134 " <property access=\"read\" type=\"a{uo}\" name=\"OriginalChannels\">\n"
01135 " <annotation value=\"Tp::ChannelOriginatorMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
01136 " </property>\n"
01137 " <signal name=\"ChannelMerged\">\n"
01138 " <arg type=\"o\" name=\"channel\"/>\n"
01139 " <arg type=\"u\" name=\"channelSpecificHandle\"/>\n"
01140 " <arg type=\"a{sv}\" name=\"properties\"/>\n"
01141 " </signal>\n"
01142 " <signal name=\"ChannelRemoved\">\n"
01143 " <arg type=\"o\" name=\"channel\"/>\n"
01144 " <arg type=\"a{sv}\" name=\"details\"/>\n"
01145 " </signal>\n"
01146 " </interface>\n"
01147 "")
01148 Q_PROPERTY(Tp::ObjectPathList Channels READ Channels )
01149 Q_PROPERTY(Tp::ObjectPathList InitialChannels READ InitialChannels )
01150 Q_PROPERTY(Tp::UIntList InitialInviteeHandles READ InitialInviteeHandles )
01151 Q_PROPERTY(QStringList InitialInviteeIDs READ InitialInviteeIDs )
01152 Q_PROPERTY(QString InvitationMessage READ InvitationMessage )
01153 Q_PROPERTY(Tp::ChannelOriginatorMap OriginalChannels READ OriginalChannels )
01154
01155 public:
01156 ChannelInterfaceConferenceAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
01157 virtual ~ChannelInterfaceConferenceAdaptor();
01158
01159
01160 public:
01191 Tp::ObjectPathList Channels() const;
01255 Tp::ObjectPathList InitialChannels() const;
01331 Tp::UIntList InitialInviteeHandles() const;
01358 QStringList InitialInviteeIDs() const;
01388 QString InvitationMessage() const;
01456 Tp::ChannelOriginatorMap OriginalChannels() const;
01457
01458 Q_SIGNALS:
01480 void ChannelMerged(const QDBusObjectPath& channel, uint channelSpecificHandle, const QVariantMap& properties);
01500 void ChannelRemoved(const QDBusObjectPath& channel, const QVariantMap& details);
01501 };
01502
01510 class TP_QT_EXPORT ChannelInterfaceDTMFAdaptor : public Tp::AbstractAdaptor
01511 {
01512 Q_OBJECT
01513 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.DTMF")
01514 Q_CLASSINFO("D-Bus Introspection", ""
01515 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.DTMF\">\n"
01516 " <property access=\"read\" type=\"b\" name=\"CurrentlySendingTones\"/>\n"
01517 " <property access=\"read\" type=\"s\" name=\"InitialTones\"/>\n"
01518 " <property access=\"read\" type=\"s\" name=\"DeferredTones\"/>\n"
01519 " <method name=\"StartTone\">\n"
01520 " <arg direction=\"in\" type=\"u\" name=\"streamID\"/>\n"
01521 " <arg direction=\"in\" type=\"y\" name=\"event\"/>\n"
01522 " </method>\n"
01523 " <method name=\"StopTone\">\n"
01524 " <arg direction=\"in\" type=\"u\" name=\"streamID\"/>\n"
01525 " </method>\n"
01526 " <method name=\"MultipleTones\">\n"
01527 " <arg direction=\"in\" type=\"s\" name=\"tones\"/>\n"
01528 " </method>\n"
01529 " <signal name=\"TonesDeferred\">\n"
01530 " <arg type=\"s\" name=\"tones\"/>\n"
01531 " </signal>\n"
01532 " <signal name=\"SendingTones\">\n"
01533 " <arg type=\"s\" name=\"tones\"/>\n"
01534 " </signal>\n"
01535 " <signal name=\"StoppedTones\">\n"
01536 " <arg type=\"b\" name=\"cancelled\"/>\n"
01537 " </signal>\n"
01538 " </interface>\n"
01539 "")
01540 Q_PROPERTY(bool CurrentlySendingTones READ CurrentlySendingTones )
01541 Q_PROPERTY(QString InitialTones READ InitialTones )
01542 Q_PROPERTY(QString DeferredTones READ DeferredTones )
01543
01544 public:
01545 ChannelInterfaceDTMFAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
01546 virtual ~ChannelInterfaceDTMFAdaptor();
01547
01548 typedef Tp::MethodInvocationContextPtr< > StartToneContextPtr;
01549 typedef Tp::MethodInvocationContextPtr< > StopToneContextPtr;
01550 typedef Tp::MethodInvocationContextPtr< > MultipleTonesContextPtr;
01551
01552 public:
01566 bool CurrentlySendingTones() const;
01582 QString InitialTones() const;
01602 QString DeferredTones() const;
01603
01604 public Q_SLOTS:
01636 void StartTone(uint streamID, uchar event, const QDBusMessage& dbusMessage);
01661 void StopTone(uint streamID, const QDBusMessage& dbusMessage);
01709 void MultipleTones(const QString& tones, const QDBusMessage& dbusMessage);
01710
01711 Q_SIGNALS:
01724 void TonesDeferred(const QString& tones);
01737 void SendingTones(const QString& tones);
01750 void StoppedTones(bool cancelled);
01751 };
01752
01760 class TP_QT_EXPORT ChannelInterfaceDestroyableAdaptor : public Tp::AbstractAdaptor
01761 {
01762 Q_OBJECT
01763 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Destroyable")
01764 Q_CLASSINFO("D-Bus Introspection", ""
01765 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Destroyable\">\n"
01766 " <method name=\"Destroy\"/>\n"
01767 " </interface>\n"
01768 "")
01769
01770 public:
01771 ChannelInterfaceDestroyableAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
01772 virtual ~ChannelInterfaceDestroyableAdaptor();
01773
01774 typedef Tp::MethodInvocationContextPtr< > DestroyContextPtr;
01775
01776 public Q_SLOTS:
01824 void Destroy(const QDBusMessage& dbusMessage);
01825 };
01826
01834 class TP_QT_EXPORT ChannelInterfaceFileTransferMetadataAdaptor : public Tp::AbstractAdaptor
01835 {
01836 Q_OBJECT
01837 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.FileTransfer.Metadata")
01838 Q_CLASSINFO("D-Bus Introspection", ""
01839 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.FileTransfer.Metadata\">\n"
01840 " <property access=\"readwrite\" type=\"s\" name=\"ServiceName\"/>\n"
01841 " <property access=\"readwrite\" type=\"a{sas}\" name=\"Metadata\">\n"
01842 " <annotation value=\"Tp::Metadata\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
01843 " </property>\n"
01844 " </interface>\n"
01845 "")
01846 Q_PROPERTY(QString ServiceName READ ServiceName WRITE SetServiceName)
01847 Q_PROPERTY(Tp::Metadata Metadata READ Metadata WRITE SetMetadata)
01848
01849 public:
01850 ChannelInterfaceFileTransferMetadataAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
01851 virtual ~ChannelInterfaceFileTransferMetadataAdaptor();
01852
01853
01854 public:
01873 QString ServiceName() const;
01890 void SetServiceName(const QString &newValue);
01906 Tp::Metadata Metadata() const;
01920 void SetMetadata(const Tp::Metadata &newValue);
01921 };
01922
01930 class TP_QT_EXPORT ChannelInterfaceGroupAdaptor : public Tp::AbstractAdaptor
01931 {
01932 Q_OBJECT
01933 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Group")
01934 Q_CLASSINFO("D-Bus Introspection", ""
01935 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Group\">\n"
01936 " <property access=\"read\" type=\"u\" name=\"GroupFlags\"/>\n"
01937 " <property access=\"read\" type=\"a{uu}\" name=\"HandleOwners\">\n"
01938 " <annotation value=\"Tp::HandleOwnerMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
01939 " </property>\n"
01940 " <property access=\"read\" type=\"a(uuus)\" name=\"LocalPendingMembers\">\n"
01941 " <annotation value=\"Tp::LocalPendingInfoList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
01942 " </property>\n"
01943 " <property access=\"read\" type=\"au\" name=\"Members\"/>\n"
01944 " <property access=\"read\" type=\"au\" name=\"RemotePendingMembers\"/>\n"
01945 " <property access=\"read\" type=\"u\" name=\"SelfHandle\"/>\n"
01946 " <property access=\"read\" type=\"a{us}\" name=\"MemberIdentifiers\">\n"
01947 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
01948 " </property>\n"
01949 " <method name=\"AddMembers\">\n"
01950 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
01951 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
01952 " </method>\n"
01953 " <method name=\"GetAllMembers\">\n"
01954 " <arg direction=\"out\" type=\"au\" name=\"members\"/>\n"
01955 " <arg direction=\"out\" type=\"au\" name=\"localPending\"/>\n"
01956 " <arg direction=\"out\" type=\"au\" name=\"remotePending\"/>\n"
01957 " </method>\n"
01958 " <method name=\"GetGroupFlags\">\n"
01959 " <arg direction=\"out\" type=\"u\" name=\"groupFlags\"/>\n"
01960 " </method>\n"
01961 " <method name=\"GetHandleOwners\">\n"
01962 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
01963 " <arg direction=\"out\" type=\"au\" name=\"owners\"/>\n"
01964 " </method>\n"
01965 " <method name=\"GetLocalPendingMembers\">\n"
01966 " <arg direction=\"out\" type=\"au\" name=\"handles\"/>\n"
01967 " </method>\n"
01968 " <method name=\"GetLocalPendingMembersWithInfo\">\n"
01969 " <arg direction=\"out\" type=\"a(uuus)\" name=\"info\">\n"
01970 " <annotation value=\"Tp::LocalPendingInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
01971 " </arg>\n"
01972 " </method>\n"
01973 " <method name=\"GetMembers\">\n"
01974 " <arg direction=\"out\" type=\"au\" name=\"handles\"/>\n"
01975 " </method>\n"
01976 " <method name=\"GetRemotePendingMembers\">\n"
01977 " <arg direction=\"out\" type=\"au\" name=\"handles\"/>\n"
01978 " </method>\n"
01979 " <method name=\"GetSelfHandle\">\n"
01980 " <arg direction=\"out\" type=\"u\" name=\"selfHandle\"/>\n"
01981 " </method>\n"
01982 " <method name=\"RemoveMembers\">\n"
01983 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
01984 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
01985 " </method>\n"
01986 " <method name=\"RemoveMembersWithReason\">\n"
01987 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
01988 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
01989 " <arg direction=\"in\" type=\"u\" name=\"reason\"/>\n"
01990 " </method>\n"
01991 " <signal name=\"HandleOwnersChanged\">\n"
01992 " <arg type=\"a{uu}\" name=\"added\">\n"
01993 " <annotation value=\"Tp::HandleOwnerMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
01994 " </arg>\n"
01995 " <arg type=\"au\" name=\"removed\"/>\n"
01996 " </signal>\n"
01997 " <signal name=\"HandleOwnersChangedDetailed\">\n"
01998 " <arg type=\"a{uu}\" name=\"added\">\n"
01999 " <annotation value=\"Tp::HandleOwnerMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
02000 " </arg>\n"
02001 " <arg type=\"au\" name=\"removed\"/>\n"
02002 " <arg type=\"a{us}\" name=\"identifiers\">\n"
02003 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In2\"/>\n"
02004 " </arg>\n"
02005 " </signal>\n"
02006 " <signal name=\"SelfHandleChanged\">\n"
02007 " <arg type=\"u\" name=\"selfHandle\"/>\n"
02008 " </signal>\n"
02009 " <signal name=\"SelfContactChanged\">\n"
02010 " <arg type=\"u\" name=\"selfHandle\"/>\n"
02011 " <arg type=\"s\" name=\"selfID\"/>\n"
02012 " </signal>\n"
02013 " <signal name=\"GroupFlagsChanged\">\n"
02014 " <arg type=\"u\" name=\"added\"/>\n"
02015 " <arg type=\"u\" name=\"removed\"/>\n"
02016 " </signal>\n"
02017 " <signal name=\"MembersChanged\">\n"
02018 " <arg type=\"s\" name=\"message\"/>\n"
02019 " <arg type=\"au\" name=\"added\"/>\n"
02020 " <arg type=\"au\" name=\"removed\"/>\n"
02021 " <arg type=\"au\" name=\"localPending\"/>\n"
02022 " <arg type=\"au\" name=\"remotePending\"/>\n"
02023 " <arg type=\"u\" name=\"actor\"/>\n"
02024 " <arg type=\"u\" name=\"reason\"/>\n"
02025 " </signal>\n"
02026 " <signal name=\"MembersChangedDetailed\">\n"
02027 " <arg type=\"au\" name=\"added\"/>\n"
02028 " <arg type=\"au\" name=\"removed\"/>\n"
02029 " <arg type=\"au\" name=\"localPending\"/>\n"
02030 " <arg type=\"au\" name=\"remotePending\"/>\n"
02031 " <arg type=\"a{sv}\" name=\"details\"/>\n"
02032 " </signal>\n"
02033 " </interface>\n"
02034 "")
02035 Q_PROPERTY(uint GroupFlags READ GroupFlags )
02036 Q_PROPERTY(Tp::HandleOwnerMap HandleOwners READ HandleOwners )
02037 Q_PROPERTY(Tp::LocalPendingInfoList LocalPendingMembers READ LocalPendingMembers )
02038 Q_PROPERTY(Tp::UIntList Members READ Members )
02039 Q_PROPERTY(Tp::UIntList RemotePendingMembers READ RemotePendingMembers )
02040 Q_PROPERTY(uint SelfHandle READ SelfHandle )
02041 Q_PROPERTY(Tp::HandleIdentifierMap MemberIdentifiers READ MemberIdentifiers )
02042
02043 public:
02044 ChannelInterfaceGroupAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
02045 virtual ~ChannelInterfaceGroupAdaptor();
02046
02047 typedef Tp::MethodInvocationContextPtr< > AddMembersContextPtr;
02048 typedef Tp::MethodInvocationContextPtr< Tp::UIntList, Tp::UIntList, Tp::UIntList > GetAllMembersContextPtr;
02049 typedef Tp::MethodInvocationContextPtr< uint > GetGroupFlagsContextPtr;
02050 typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetHandleOwnersContextPtr;
02051 typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetLocalPendingMembersContextPtr;
02052 typedef Tp::MethodInvocationContextPtr< Tp::LocalPendingInfoList > GetLocalPendingMembersWithInfoContextPtr;
02053 typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetMembersContextPtr;
02054 typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetRemotePendingMembersContextPtr;
02055 typedef Tp::MethodInvocationContextPtr< uint > GetSelfHandleContextPtr;
02056 typedef Tp::MethodInvocationContextPtr< > RemoveMembersContextPtr;
02057 typedef Tp::MethodInvocationContextPtr< > RemoveMembersWithReasonContextPtr;
02058
02059 public:
02074 uint GroupFlags() const;
02092 Tp::HandleOwnerMap HandleOwners() const;
02105 Tp::LocalPendingInfoList LocalPendingMembers() const;
02117 Tp::UIntList Members() const;
02130 Tp::UIntList RemotePendingMembers() const;
02147 uint SelfHandle() const;
02163 Tp::HandleIdentifierMap MemberIdentifiers() const;
02164
02165 public Q_SLOTS:
02197 void AddMembers(const Tp::UIntList& contacts, const QString& message, const QDBusMessage& dbusMessage);
02220 Tp::UIntList GetAllMembers(const QDBusMessage& dbusMessage, Tp::UIntList& localPending, Tp::UIntList& remotePending);
02237 uint GetGroupFlags(const QDBusMessage& dbusMessage);
02264 Tp::UIntList GetHandleOwners(const Tp::UIntList& handles, const QDBusMessage& dbusMessage);
02280 Tp::UIntList GetLocalPendingMembers(const QDBusMessage& dbusMessage);
02301 Tp::LocalPendingInfoList GetLocalPendingMembersWithInfo(const QDBusMessage& dbusMessage);
02316 Tp::UIntList GetMembers(const QDBusMessage& dbusMessage);
02332 Tp::UIntList GetRemotePendingMembers(const QDBusMessage& dbusMessage);
02347 uint GetSelfHandle(const QDBusMessage& dbusMessage);
02404 void RemoveMembers(const Tp::UIntList& contacts, const QString& message, const QDBusMessage& dbusMessage);
02429 void RemoveMembersWithReason(const Tp::UIntList& contacts, const QString& message, uint reason, const QDBusMessage& dbusMessage);
02430
02431 Q_SIGNALS:
02452 void HandleOwnersChanged(const Tp::HandleOwnerMap& added, const Tp::UIntList& removed);
02480 void HandleOwnersChangedDetailed(const Tp::HandleOwnerMap& added, const Tp::UIntList& removed, const Tp::HandleIdentifierMap& identifiers);
02493 void SelfHandleChanged(uint selfHandle);
02509 void SelfContactChanged(uint selfHandle, const QString& selfID);
02525 void GroupFlagsChanged(uint added, uint removed);
02557 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);
02643 void MembersChangedDetailed(const Tp::UIntList& added, const Tp::UIntList& removed, const Tp::UIntList& localPending, const Tp::UIntList& remotePending, const QVariantMap& details);
02644 };
02645
02653 class TP_QT_EXPORT ChannelInterfaceHoldAdaptor : public Tp::AbstractAdaptor
02654 {
02655 Q_OBJECT
02656 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Hold")
02657 Q_CLASSINFO("D-Bus Introspection", ""
02658 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Hold\">\n"
02659 " <method name=\"GetHoldState\">\n"
02660 " <arg direction=\"out\" type=\"u\" name=\"holdState\"/>\n"
02661 " <arg direction=\"out\" type=\"u\" name=\"reason\"/>\n"
02662 " </method>\n"
02663 " <method name=\"RequestHold\">\n"
02664 " <arg direction=\"in\" type=\"b\" name=\"hold\"/>\n"
02665 " </method>\n"
02666 " <signal name=\"HoldStateChanged\">\n"
02667 " <arg type=\"u\" name=\"holdState\"/>\n"
02668 " <arg type=\"u\" name=\"reason\"/>\n"
02669 " </signal>\n"
02670 " </interface>\n"
02671 "")
02672
02673 public:
02674 ChannelInterfaceHoldAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
02675 virtual ~ChannelInterfaceHoldAdaptor();
02676
02677 typedef Tp::MethodInvocationContextPtr< uint, uint > GetHoldStateContextPtr;
02678 typedef Tp::MethodInvocationContextPtr< > RequestHoldContextPtr;
02679
02680 public Q_SLOTS:
02700 uint GetHoldState(const QDBusMessage& dbusMessage, uint& reason);
02766 void RequestHold(bool hold, const QDBusMessage& dbusMessage);
02767
02768 Q_SIGNALS:
02784 void HoldStateChanged(uint holdState, uint reason);
02785 };
02786
02794 class TP_QT_EXPORT ChannelInterfaceMediaSignallingAdaptor : public Tp::AbstractAdaptor
02795 {
02796 Q_OBJECT
02797 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.MediaSignalling")
02798 Q_CLASSINFO("D-Bus Introspection", ""
02799 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.MediaSignalling\">\n"
02800 " <method name=\"GetSessionHandlers\">\n"
02801 " <arg direction=\"out\" type=\"a(os)\" name=\"sessionHandlers\">\n"
02802 " <annotation value=\"Tp::MediaSessionHandlerInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
02803 " </arg>\n"
02804 " </method>\n"
02805 " <signal name=\"NewSessionHandler\">\n"
02806 " <arg type=\"o\" name=\"sessionHandler\"/>\n"
02807 " <arg type=\"s\" name=\"sessionType\"/>\n"
02808 " </signal>\n"
02809 " </interface>\n"
02810 "")
02811
02812 public:
02813 ChannelInterfaceMediaSignallingAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
02814 virtual ~ChannelInterfaceMediaSignallingAdaptor();
02815
02816 typedef Tp::MethodInvocationContextPtr< Tp::MediaSessionHandlerInfoList > GetSessionHandlersContextPtr;
02817
02818 public Q_SLOTS:
02834 Tp::MediaSessionHandlerInfoList GetSessionHandlers(const QDBusMessage& dbusMessage);
02835
02836 Q_SIGNALS:
02852 void NewSessionHandler(const QDBusObjectPath& sessionHandler, const QString& sessionType);
02853 };
02854
02862 class TP_QT_EXPORT ChannelInterfaceMergeableConferenceAdaptor : public Tp::AbstractAdaptor
02863 {
02864 Q_OBJECT
02865 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.MergeableConference.DRAFT")
02866 Q_CLASSINFO("D-Bus Introspection", ""
02867 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.MergeableConference.DRAFT\">\n"
02868 " <method name=\"Merge\">\n"
02869 " <arg direction=\"in\" type=\"o\" name=\"channel\"/>\n"
02870 " </method>\n"
02871 " </interface>\n"
02872 "")
02873
02874 public:
02875 ChannelInterfaceMergeableConferenceAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
02876 virtual ~ChannelInterfaceMergeableConferenceAdaptor();
02877
02878 typedef Tp::MethodInvocationContextPtr< > MergeContextPtr;
02879
02880 public Q_SLOTS:
02920 void Merge(const QDBusObjectPath& channel, const QDBusMessage& dbusMessage);
02921 };
02922
02930 class TP_QT_EXPORT ChannelInterfaceMessagesAdaptor : public Tp::AbstractAdaptor
02931 {
02932 Q_OBJECT
02933 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Messages")
02934 Q_CLASSINFO("D-Bus Introspection", ""
02935 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Messages\">\n"
02936 " <property access=\"read\" type=\"as\" name=\"SupportedContentTypes\"/>\n"
02937 " <property access=\"read\" type=\"au\" name=\"MessageTypes\"/>\n"
02938 " <property access=\"read\" type=\"u\" name=\"MessagePartSupportFlags\"/>\n"
02939 " <property access=\"read\" type=\"aaa{sv}\" name=\"PendingMessages\">\n"
02940 " <annotation value=\"Tp::MessagePartListList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
02941 " </property>\n"
02942 " <property access=\"read\" type=\"u\" name=\"DeliveryReportingSupport\"/>\n"
02943 " <method name=\"SendMessage\">\n"
02944 " <arg direction=\"in\" type=\"aa{sv}\" name=\"message\">\n"
02945 " <annotation value=\"Tp::MessagePartList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
02946 " </arg>\n"
02947 " <arg direction=\"in\" type=\"u\" name=\"flags\"/>\n"
02948 " <arg direction=\"out\" type=\"s\" name=\"token\"/>\n"
02949 " </method>\n"
02950 " <method name=\"GetPendingMessageContent\">\n"
02951 " <arg direction=\"in\" type=\"u\" name=\"messageID\"/>\n"
02952 " <arg direction=\"in\" type=\"au\" name=\"parts\"/>\n"
02953 " <arg direction=\"out\" type=\"a{uv}\" name=\"content\">\n"
02954 " <annotation value=\"Tp::MessagePartContentMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
02955 " </arg>\n"
02956 " </method>\n"
02957 " <signal name=\"MessageSent\">\n"
02958 " <arg type=\"aa{sv}\" name=\"content\">\n"
02959 " <annotation value=\"Tp::MessagePartList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
02960 " </arg>\n"
02961 " <arg type=\"u\" name=\"flags\"/>\n"
02962 " <arg type=\"s\" name=\"messageToken\"/>\n"
02963 " </signal>\n"
02964 " <signal name=\"PendingMessagesRemoved\">\n"
02965 " <arg type=\"au\" name=\"messageIDs\"/>\n"
02966 " </signal>\n"
02967 " <signal name=\"MessageReceived\">\n"
02968 " <arg type=\"aa{sv}\" name=\"message\">\n"
02969 " <annotation value=\"Tp::MessagePartList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
02970 " </arg>\n"
02971 " </signal>\n"
02972 " </interface>\n"
02973 "")
02974 Q_PROPERTY(QStringList SupportedContentTypes READ SupportedContentTypes )
02975 Q_PROPERTY(Tp::UIntList MessageTypes READ MessageTypes )
02976 Q_PROPERTY(uint MessagePartSupportFlags READ MessagePartSupportFlags )
02977 Q_PROPERTY(Tp::MessagePartListList PendingMessages READ PendingMessages )
02978 Q_PROPERTY(uint DeliveryReportingSupport READ DeliveryReportingSupport )
02979
02980 public:
02981 ChannelInterfaceMessagesAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
02982 virtual ~ChannelInterfaceMessagesAdaptor();
02983
02984 typedef Tp::MethodInvocationContextPtr< QString > SendMessageContextPtr;
02985 typedef Tp::MethodInvocationContextPtr< Tp::MessagePartContentMap > GetPendingMessageContentContextPtr;
02986
02987 public:
03043 QStringList SupportedContentTypes() const;
03057 Tp::UIntList MessageTypes() const;
03069 uint MessagePartSupportFlags() const;
03092 Tp::MessagePartListList PendingMessages() const;
03104 uint DeliveryReportingSupport() const;
03105
03106 public Q_SLOTS:
03169 QString SendMessage(const Tp::MessagePartList& message, uint flags, const QDBusMessage& dbusMessage);
03210 Tp::MessagePartContentMap GetPendingMessageContent(uint messageID, const Tp::UIntList& parts, const QDBusMessage& dbusMessage);
03211
03212 Q_SIGNALS:
03258 void MessageSent(const Tp::MessagePartList& content, uint flags, const QString& messageToken);
03271 void PendingMessagesRemoved(const Tp::UIntList& messageIDs);
03291 void MessageReceived(const Tp::MessagePartList& message);
03292 };
03293
03301 class TP_QT_EXPORT ChannelInterfacePasswordAdaptor : public Tp::AbstractAdaptor
03302 {
03303 Q_OBJECT
03304 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Password")
03305 Q_CLASSINFO("D-Bus Introspection", ""
03306 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Password\">\n"
03307 " <method name=\"GetPasswordFlags\">\n"
03308 " <arg direction=\"out\" type=\"u\" name=\"passwordFlags\"/>\n"
03309 " </method>\n"
03310 " <method name=\"ProvidePassword\">\n"
03311 " <arg direction=\"in\" type=\"s\" name=\"password\"/>\n"
03312 " <arg direction=\"out\" type=\"b\" name=\"correct\"/>\n"
03313 " </method>\n"
03314 " <signal name=\"PasswordFlagsChanged\">\n"
03315 " <arg type=\"u\" name=\"added\"/>\n"
03316 " <arg type=\"u\" name=\"removed\"/>\n"
03317 " </signal>\n"
03318 " </interface>\n"
03319 "")
03320
03321 public:
03322 ChannelInterfacePasswordAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
03323 virtual ~ChannelInterfacePasswordAdaptor();
03324
03325 typedef Tp::MethodInvocationContextPtr< uint > GetPasswordFlagsContextPtr;
03326 typedef Tp::MethodInvocationContextPtr< bool > ProvidePasswordContextPtr;
03327
03328 public Q_SLOTS:
03348 uint GetPasswordFlags(const QDBusMessage& dbusMessage);
03370 bool ProvidePassword(const QString& password, const QDBusMessage& dbusMessage);
03371
03372 Q_SIGNALS:
03388 void PasswordFlagsChanged(uint added, uint removed);
03389 };
03390
03398 class TP_QT_EXPORT ChannelInterfaceRoomAdaptor : public Tp::AbstractAdaptor
03399 {
03400 Q_OBJECT
03401 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Room2")
03402 Q_CLASSINFO("D-Bus Introspection", ""
03403 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Room2\">\n"
03404 " <property access=\"read\" type=\"s\" name=\"RoomName\"/>\n"
03405 " <property access=\"read\" type=\"s\" name=\"Server\"/>\n"
03406 " <property access=\"read\" type=\"s\" name=\"Creator\"/>\n"
03407 " <property access=\"read\" type=\"u\" name=\"CreatorHandle\"/>\n"
03408 " <property access=\"read\" type=\"x\" name=\"CreationTimestamp\"/>\n"
03409 " </interface>\n"
03410 "")
03411 Q_PROPERTY(QString RoomName READ RoomName )
03412 Q_PROPERTY(QString Server READ Server )
03413 Q_PROPERTY(QString Creator READ Creator )
03414 Q_PROPERTY(uint CreatorHandle READ CreatorHandle )
03415 Q_PROPERTY(qlonglong CreationTimestamp READ CreationTimestamp )
03416
03417 public:
03418 ChannelInterfaceRoomAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
03419 virtual ~ChannelInterfaceRoomAdaptor();
03420
03421
03422 public:
03450 QString RoomName() const;
03473 QString Server() const;
03488 QString Creator() const;
03503 uint CreatorHandle() const;
03518 qlonglong CreationTimestamp() const;
03519 };
03520
03528 class TP_QT_EXPORT ChannelInterfaceRoomConfigAdaptor : public Tp::AbstractAdaptor
03529 {
03530 Q_OBJECT
03531 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.RoomConfig1")
03532 Q_CLASSINFO("D-Bus Introspection", ""
03533 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.RoomConfig1\">\n"
03534 " <property access=\"read\" type=\"b\" name=\"Anonymous\"/>\n"
03535 " <property access=\"read\" type=\"b\" name=\"InviteOnly\"/>\n"
03536 " <property access=\"read\" type=\"u\" name=\"Limit\"/>\n"
03537 " <property access=\"read\" type=\"b\" name=\"Moderated\"/>\n"
03538 " <property access=\"read\" type=\"s\" name=\"Title\"/>\n"
03539 " <property access=\"read\" type=\"s\" name=\"Description\"/>\n"
03540 " <property access=\"read\" type=\"b\" name=\"Persistent\"/>\n"
03541 " <property access=\"read\" type=\"b\" name=\"Private\"/>\n"
03542 " <property access=\"read\" type=\"b\" name=\"PasswordProtected\"/>\n"
03543 " <property access=\"read\" type=\"s\" name=\"Password\"/>\n"
03544 " <property access=\"read\" type=\"s\" name=\"PasswordHint\"/>\n"
03545 " <property access=\"read\" type=\"b\" name=\"CanUpdateConfiguration\"/>\n"
03546 " <property access=\"read\" type=\"as\" name=\"MutableProperties\"/>\n"
03547 " <property access=\"read\" type=\"b\" name=\"ConfigurationRetrieved\"/>\n"
03548 " <method name=\"UpdateConfiguration\">\n"
03549 " <arg direction=\"in\" type=\"a{sv}\" name=\"properties\">\n"
03550 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
03551 " </arg>\n"
03552 " </method>\n"
03553 " </interface>\n"
03554 "")
03555 Q_PROPERTY(bool Anonymous READ Anonymous )
03556 Q_PROPERTY(bool InviteOnly READ InviteOnly )
03557 Q_PROPERTY(uint Limit READ Limit )
03558 Q_PROPERTY(bool Moderated READ Moderated )
03559 Q_PROPERTY(QString Title READ Title )
03560 Q_PROPERTY(QString Description READ Description )
03561 Q_PROPERTY(bool Persistent READ Persistent )
03562 Q_PROPERTY(bool Private READ Private )
03563 Q_PROPERTY(bool PasswordProtected READ PasswordProtected )
03564 Q_PROPERTY(QString Password READ Password )
03565 Q_PROPERTY(QString PasswordHint READ PasswordHint )
03566 Q_PROPERTY(bool CanUpdateConfiguration READ CanUpdateConfiguration )
03567 Q_PROPERTY(QStringList MutableProperties READ MutableProperties )
03568 Q_PROPERTY(bool ConfigurationRetrieved READ ConfigurationRetrieved )
03569
03570 public:
03571 ChannelInterfaceRoomConfigAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
03572 virtual ~ChannelInterfaceRoomConfigAdaptor();
03573
03574 typedef Tp::MethodInvocationContextPtr< > UpdateConfigurationContextPtr;
03575
03576 public:
03589 bool Anonymous() const;
03601 bool InviteOnly() const;
03613 uint Limit() const;
03625 bool Moderated() const;
03657 QString Title() const;
03670 QString Description() const;
03685 bool Persistent() const;
03699 bool Private() const;
03717 bool PasswordProtected() const;
03741 QString Password() const;
03766 QString PasswordHint() const;
03783 bool CanUpdateConfiguration() const;
03808 QStringList MutableProperties() const;
03835 bool ConfigurationRetrieved() const;
03836
03837 public Q_SLOTS:
03882 void UpdateConfiguration(const QVariantMap& properties, const QDBusMessage& dbusMessage);
03883 };
03884
03892 class TP_QT_EXPORT ChannelInterfaceSASLAuthenticationAdaptor : public Tp::AbstractAdaptor
03893 {
03894 Q_OBJECT
03895 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication")
03896 Q_CLASSINFO("D-Bus Introspection", ""
03897 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication\">\n"
03898 " <property access=\"read\" type=\"as\" name=\"AvailableMechanisms\"/>\n"
03899 " <property access=\"read\" type=\"b\" name=\"HasInitialData\"/>\n"
03900 " <property access=\"read\" type=\"b\" name=\"CanTryAgain\"/>\n"
03901 " <property access=\"read\" type=\"u\" name=\"SASLStatus\"/>\n"
03902 " <property access=\"read\" type=\"s\" name=\"SASLError\"/>\n"
03903 " <property access=\"read\" type=\"a{sv}\" name=\"SASLErrorDetails\"/>\n"
03904 " <property access=\"read\" type=\"s\" name=\"AuthorizationIdentity\"/>\n"
03905 " <property access=\"read\" type=\"s\" name=\"DefaultUsername\"/>\n"
03906 " <property access=\"read\" type=\"s\" name=\"DefaultRealm\"/>\n"
03907 " <property access=\"read\" type=\"b\" name=\"MaySaveResponse\"/>\n"
03908 " <method name=\"StartMechanism\">\n"
03909 " <arg direction=\"in\" type=\"s\" name=\"mechanism\"/>\n"
03910 " </method>\n"
03911 " <method name=\"StartMechanismWithData\">\n"
03912 " <arg direction=\"in\" type=\"s\" name=\"mechanism\"/>\n"
03913 " <arg direction=\"in\" type=\"ay\" name=\"initialData\"/>\n"
03914 " </method>\n"
03915 " <method name=\"Respond\">\n"
03916 " <arg direction=\"in\" type=\"ay\" name=\"responseData\"/>\n"
03917 " </method>\n"
03918 " <method name=\"AcceptSASL\"/>\n"
03919 " <method name=\"AbortSASL\">\n"
03920 " <arg direction=\"in\" type=\"u\" name=\"reason\"/>\n"
03921 " <arg direction=\"in\" type=\"s\" name=\"debugMessage\"/>\n"
03922 " </method>\n"
03923 " <signal name=\"SASLStatusChanged\">\n"
03924 " <arg type=\"u\" name=\"status\"/>\n"
03925 " <arg type=\"s\" name=\"reason\"/>\n"
03926 " <arg type=\"a{sv}\" name=\"details\"/>\n"
03927 " </signal>\n"
03928 " <signal name=\"NewChallenge\">\n"
03929 " <arg type=\"ay\" name=\"challengeData\"/>\n"
03930 " </signal>\n"
03931 " </interface>\n"
03932 "")
03933 Q_PROPERTY(QStringList AvailableMechanisms READ AvailableMechanisms )
03934 Q_PROPERTY(bool HasInitialData READ HasInitialData )
03935 Q_PROPERTY(bool CanTryAgain READ CanTryAgain )
03936 Q_PROPERTY(uint SASLStatus READ SASLStatus )
03937 Q_PROPERTY(QString SASLError READ SASLError )
03938 Q_PROPERTY(QVariantMap SASLErrorDetails READ SASLErrorDetails )
03939 Q_PROPERTY(QString AuthorizationIdentity READ AuthorizationIdentity )
03940 Q_PROPERTY(QString DefaultUsername READ DefaultUsername )
03941 Q_PROPERTY(QString DefaultRealm READ DefaultRealm )
03942 Q_PROPERTY(bool MaySaveResponse READ MaySaveResponse )
03943
03944 public:
03945 ChannelInterfaceSASLAuthenticationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
03946 virtual ~ChannelInterfaceSASLAuthenticationAdaptor();
03947
03948 typedef Tp::MethodInvocationContextPtr< > StartMechanismContextPtr;
03949 typedef Tp::MethodInvocationContextPtr< > StartMechanismWithDataContextPtr;
03950 typedef Tp::MethodInvocationContextPtr< > RespondContextPtr;
03951 typedef Tp::MethodInvocationContextPtr< > AcceptSASLContextPtr;
03952 typedef Tp::MethodInvocationContextPtr< > AbortSASLContextPtr;
03953
03954 public:
03979 QStringList AvailableMechanisms() const;
04003 bool HasInitialData() const;
04026 bool CanTryAgain() const;
04042 uint SASLStatus() const;
04073 QString SASLError() const;
04097 QVariantMap SASLErrorDetails() const;
04164 QString AuthorizationIdentity() const;
04228 QString DefaultUsername() const;
04258 QString DefaultRealm() const;
04282 bool MaySaveResponse() const;
04283
04284 public Q_SLOTS:
04313 void StartMechanism(const QString& mechanism, const QDBusMessage& dbusMessage);
04369 void StartMechanismWithData(const QString& mechanism, const QByteArray& initialData, const QDBusMessage& dbusMessage);
04389 void Respond(const QByteArray& responseData, const QDBusMessage& dbusMessage);
04421 void AcceptSASL(const QDBusMessage& dbusMessage);
04451 void AbortSASL(uint reason, const QString& debugMessage, const QDBusMessage& dbusMessage);
04452
04453 Q_SIGNALS:
04472 void SASLStatusChanged(uint status, const QString& reason, const QVariantMap& details);
04485 void NewChallenge(const QByteArray& challengeData);
04486 };
04487
04495 class TP_QT_EXPORT ChannelInterfaceSMSAdaptor : public Tp::AbstractAdaptor
04496 {
04497 Q_OBJECT
04498 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.SMS")
04499 Q_CLASSINFO("D-Bus Introspection", ""
04500 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.SMS\">\n"
04501 " <property access=\"read\" type=\"b\" name=\"Flash\"/>\n"
04502 " <property access=\"read\" type=\"b\" name=\"SMSChannel\"/>\n"
04503 " <method name=\"GetSMSLength\">\n"
04504 " <arg direction=\"in\" type=\"aa{sv}\" name=\"message\">\n"
04505 " <annotation value=\"Tp::MessagePartList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
04506 " </arg>\n"
04507 " <arg direction=\"out\" type=\"u\" name=\"chunksRequired\"/>\n"
04508 " <arg direction=\"out\" type=\"i\" name=\"remainingCharacters\"/>\n"
04509 " <arg direction=\"out\" type=\"i\" name=\"estimatedCost\"/>\n"
04510 " </method>\n"
04511 " <signal name=\"SMSChannelChanged\">\n"
04512 " <arg type=\"b\" name=\"SMSChannel\"/>\n"
04513 " </signal>\n"
04514 " </interface>\n"
04515 "")
04516 Q_PROPERTY(bool Flash READ Flash )
04517 Q_PROPERTY(bool SMSChannel READ SMSChannel )
04518
04519 public:
04520 ChannelInterfaceSMSAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
04521 virtual ~ChannelInterfaceSMSAdaptor();
04522
04523 typedef Tp::MethodInvocationContextPtr< uint, int, int > GetSMSLengthContextPtr;
04524
04525 public:
04567 bool Flash() const;
04632 bool SMSChannel() const;
04633
04634 public Q_SLOTS:
04698 uint GetSMSLength(const Tp::MessagePartList& message, const QDBusMessage& dbusMessage, int& remainingCharacters, int& estimatedCost);
04699
04700 Q_SIGNALS:
04713 void SMSChannelChanged(bool SMSChannel);
04714 };
04715
04723 class TP_QT_EXPORT ChannelInterfaceSecurableAdaptor : public Tp::AbstractAdaptor
04724 {
04725 Q_OBJECT
04726 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Securable")
04727 Q_CLASSINFO("D-Bus Introspection", ""
04728 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Securable\">\n"
04729 " <property access=\"read\" type=\"b\" name=\"Encrypted\"/>\n"
04730 " <property access=\"read\" type=\"b\" name=\"Verified\"/>\n"
04731 " </interface>\n"
04732 "")
04733 Q_PROPERTY(bool Encrypted READ Encrypted )
04734 Q_PROPERTY(bool Verified READ Verified )
04735
04736 public:
04737 ChannelInterfaceSecurableAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
04738 virtual ~ChannelInterfaceSecurableAdaptor();
04739
04740
04741 public:
04765 bool Encrypted() const;
04784 bool Verified() const;
04785 };
04786
04794 class TP_QT_EXPORT ChannelInterfaceServicePointAdaptor : public Tp::AbstractAdaptor
04795 {
04796 Q_OBJECT
04797 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.ServicePoint")
04798 Q_CLASSINFO("D-Bus Introspection", ""
04799 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.ServicePoint\">\n"
04800 " <property access=\"read\" type=\"(us)\" name=\"InitialServicePoint\">\n"
04801 " <annotation value=\"Tp::ServicePoint\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
04802 " </property>\n"
04803 " <property access=\"read\" type=\"(us)\" name=\"CurrentServicePoint\">\n"
04804 " <annotation value=\"Tp::ServicePoint\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
04805 " </property>\n"
04806 " <signal name=\"ServicePointChanged\">\n"
04807 " <arg type=\"(us)\" name=\"servicePoint\">\n"
04808 " <annotation value=\"Tp::ServicePoint\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
04809 " </arg>\n"
04810 " </signal>\n"
04811 " </interface>\n"
04812 "")
04813 Q_PROPERTY(Tp::ServicePoint InitialServicePoint READ InitialServicePoint )
04814 Q_PROPERTY(Tp::ServicePoint CurrentServicePoint READ CurrentServicePoint )
04815
04816 public:
04817 ChannelInterfaceServicePointAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
04818 virtual ~ChannelInterfaceServicePointAdaptor();
04819
04820
04821 public:
04843 Tp::ServicePoint InitialServicePoint() const;
04858 Tp::ServicePoint CurrentServicePoint() const;
04859
04860 Q_SIGNALS:
04873 void ServicePointChanged(const Tp::ServicePoint& servicePoint);
04874 };
04875
04883 class TP_QT_EXPORT ChannelInterfaceSplittableAdaptor : public Tp::AbstractAdaptor
04884 {
04885 Q_OBJECT
04886 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Splittable.DRAFT")
04887 Q_CLASSINFO("D-Bus Introspection", ""
04888 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Splittable.DRAFT\">\n"
04889 " <method name=\"Split\"/>\n"
04890 " </interface>\n"
04891 "")
04892
04893 public:
04894 ChannelInterfaceSplittableAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
04895 virtual ~ChannelInterfaceSplittableAdaptor();
04896
04897 typedef Tp::MethodInvocationContextPtr< > SplitContextPtr;
04898
04899 public Q_SLOTS:
04920 void Split(const QDBusMessage& dbusMessage);
04921 };
04922
04930 class TP_QT_EXPORT ChannelInterfaceSubjectAdaptor : public Tp::AbstractAdaptor
04931 {
04932 Q_OBJECT
04933 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Subject2")
04934 Q_CLASSINFO("D-Bus Introspection", ""
04935 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Subject2\">\n"
04936 " <property access=\"read\" type=\"s\" name=\"Subject\"/>\n"
04937 " <property access=\"read\" type=\"s\" name=\"Actor\"/>\n"
04938 " <property access=\"read\" type=\"u\" name=\"ActorHandle\"/>\n"
04939 " <property access=\"read\" type=\"x\" name=\"Timestamp\"/>\n"
04940 " <property access=\"read\" type=\"b\" name=\"CanSet\"/>\n"
04941 " <method name=\"SetSubject\">\n"
04942 " <arg direction=\"in\" type=\"s\" name=\"subject\"/>\n"
04943 " </method>\n"
04944 " </interface>\n"
04945 "")
04946 Q_PROPERTY(QString Subject READ Subject )
04947 Q_PROPERTY(QString Actor READ Actor )
04948 Q_PROPERTY(uint ActorHandle READ ActorHandle )
04949 Q_PROPERTY(qlonglong Timestamp READ Timestamp )
04950 Q_PROPERTY(bool CanSet READ CanSet )
04951
04952 public:
04953 ChannelInterfaceSubjectAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
04954 virtual ~ChannelInterfaceSubjectAdaptor();
04955
04956 typedef Tp::MethodInvocationContextPtr< > SetSubjectContextPtr;
04957
04958 public:
04980 QString Subject() const;
04999 QString Actor() const;
05014 uint ActorHandle() const;
05033 qlonglong Timestamp() const;
05060 bool CanSet() const;
05061
05062 public Q_SLOTS:
05088 void SetSubject(const QString& subject, const QDBusMessage& dbusMessage);
05089 };
05090
05098 class TP_QT_EXPORT ChannelTypeCallAdaptor : public Tp::AbstractAdaptor
05099 {
05100 Q_OBJECT
05101 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.Call1")
05102 Q_CLASSINFO("D-Bus Introspection", ""
05103 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.Call1\">\n"
05104 " <property access=\"read\" type=\"ao\" name=\"Contents\"/>\n"
05105 " <property access=\"read\" type=\"a{sv}\" name=\"CallStateDetails\"/>\n"
05106 " <property access=\"read\" type=\"u\" name=\"CallState\"/>\n"
05107 " <property access=\"read\" type=\"u\" name=\"CallFlags\"/>\n"
05108 " <property access=\"read\" type=\"(uuss)\" name=\"CallStateReason\">\n"
05109 " <annotation value=\"Tp::CallStateReason\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
05110 " </property>\n"
05111 " <property access=\"read\" type=\"b\" name=\"HardwareStreaming\"/>\n"
05112 " <property access=\"read\" type=\"a{uu}\" name=\"CallMembers\">\n"
05113 " <annotation value=\"Tp::CallMemberMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
05114 " </property>\n"
05115 " <property access=\"read\" type=\"a{us}\" name=\"MemberIdentifiers\">\n"
05116 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
05117 " </property>\n"
05118 " <property access=\"read\" type=\"u\" name=\"InitialTransport\"/>\n"
05119 " <property access=\"read\" type=\"b\" name=\"InitialAudio\"/>\n"
05120 " <property access=\"read\" type=\"b\" name=\"InitialVideo\"/>\n"
05121 " <property access=\"read\" type=\"s\" name=\"InitialAudioName\"/>\n"
05122 " <property access=\"read\" type=\"s\" name=\"InitialVideoName\"/>\n"
05123 " <property access=\"read\" type=\"b\" name=\"MutableContents\"/>\n"
05124 " <method name=\"SetRinging\"/>\n"
05125 " <method name=\"SetQueued\"/>\n"
05126 " <method name=\"Accept\"/>\n"
05127 " <method name=\"Hangup\">\n"
05128 " <arg direction=\"in\" type=\"u\" name=\"reason\"/>\n"
05129 " <arg direction=\"in\" type=\"s\" name=\"detailedHangupReason\"/>\n"
05130 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
05131 " </method>\n"
05132 " <method name=\"AddContent\">\n"
05133 " <arg direction=\"in\" type=\"s\" name=\"contentName\"/>\n"
05134 " <arg direction=\"in\" type=\"u\" name=\"contentType\"/>\n"
05135 " <arg direction=\"in\" type=\"u\" name=\"initialDirection\"/>\n"
05136 " <arg direction=\"out\" type=\"o\" name=\"content\"/>\n"
05137 " </method>\n"
05138 " <signal name=\"ContentAdded\">\n"
05139 " <arg type=\"o\" name=\"content\"/>\n"
05140 " </signal>\n"
05141 " <signal name=\"ContentRemoved\">\n"
05142 " <arg type=\"o\" name=\"content\"/>\n"
05143 " <arg type=\"(uuss)\" name=\"reason\">\n"
05144 " <annotation value=\"Tp::CallStateReason\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
05145 " </arg>\n"
05146 " </signal>\n"
05147 " <signal name=\"CallStateChanged\">\n"
05148 " <arg type=\"u\" name=\"callState\"/>\n"
05149 " <arg type=\"u\" name=\"callFlags\"/>\n"
05150 " <arg type=\"(uuss)\" name=\"callStateReason\">\n"
05151 " <annotation value=\"Tp::CallStateReason\" name=\"com.trolltech.QtDBus.QtTypeName.In2\"/>\n"
05152 " </arg>\n"
05153 " <arg type=\"a{sv}\" name=\"callStateDetails\"/>\n"
05154 " </signal>\n"
05155 " <signal name=\"CallMembersChanged\">\n"
05156 " <arg type=\"a{uu}\" name=\"flagsChanged\">\n"
05157 " <annotation value=\"Tp::CallMemberMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
05158 " </arg>\n"
05159 " <arg type=\"a{us}\" name=\"identifiers\">\n"
05160 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
05161 " </arg>\n"
05162 " <arg type=\"au\" name=\"removed\"/>\n"
05163 " <arg type=\"(uuss)\" name=\"reason\">\n"
05164 " <annotation value=\"Tp::CallStateReason\" name=\"com.trolltech.QtDBus.QtTypeName.In3\"/>\n"
05165 " </arg>\n"
05166 " </signal>\n"
05167 " </interface>\n"
05168 "")
05169 Q_PROPERTY(Tp::ObjectPathList Contents READ Contents )
05170 Q_PROPERTY(QVariantMap CallStateDetails READ CallStateDetails )
05171 Q_PROPERTY(uint CallState READ CallState )
05172 Q_PROPERTY(uint CallFlags READ CallFlags )
05173 Q_PROPERTY(Tp::CallStateReason CallStateReason READ CallStateReason )
05174 Q_PROPERTY(bool HardwareStreaming READ HardwareStreaming )
05175 Q_PROPERTY(Tp::CallMemberMap CallMembers READ CallMembers )
05176 Q_PROPERTY(Tp::HandleIdentifierMap MemberIdentifiers READ MemberIdentifiers )
05177 Q_PROPERTY(uint InitialTransport READ InitialTransport )
05178 Q_PROPERTY(bool InitialAudio READ InitialAudio )
05179 Q_PROPERTY(bool InitialVideo READ InitialVideo )
05180 Q_PROPERTY(QString InitialAudioName READ InitialAudioName )
05181 Q_PROPERTY(QString InitialVideoName READ InitialVideoName )
05182 Q_PROPERTY(bool MutableContents READ MutableContents )
05183
05184 public:
05185 ChannelTypeCallAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
05186 virtual ~ChannelTypeCallAdaptor();
05187
05188 typedef Tp::MethodInvocationContextPtr< > SetRingingContextPtr;
05189 typedef Tp::MethodInvocationContextPtr< > SetQueuedContextPtr;
05190 typedef Tp::MethodInvocationContextPtr< > AcceptContextPtr;
05191 typedef Tp::MethodInvocationContextPtr< > HangupContextPtr;
05192 typedef Tp::MethodInvocationContextPtr< QDBusObjectPath > AddContentContextPtr;
05193
05194 public:
05212 Tp::ObjectPathList Contents() const;
05278 QVariantMap CallStateDetails() const;
05305 uint CallState() const;
05327 uint CallFlags() const;
05345 Tp::CallStateReason CallStateReason() const;
05381 bool HardwareStreaming() const;
05409 Tp::CallMemberMap CallMembers() const;
05423 Tp::HandleIdentifierMap MemberIdentifiers() const;
05447 uint InitialTransport() const;
05519 bool InitialAudio() const;
05542 bool InitialVideo() const;
05572 QString InitialAudioName() const;
05590 QString InitialVideoName() const;
05624 bool MutableContents() const;
05625
05626 public Q_SLOTS:
05658 void SetRinging(const QDBusMessage& dbusMessage);
05692 void SetQueued(const QDBusMessage& dbusMessage);
05730 void Accept(const QDBusMessage& dbusMessage);
05756 void Hangup(uint reason, const QString& detailedHangupReason, const QString& message, const QDBusMessage& dbusMessage);
05794 QDBusObjectPath AddContent(const QString& contentName, uint contentType, uint initialDirection, const QDBusMessage& dbusMessage);
05795
05796 Q_SIGNALS:
05809 void ContentAdded(const QDBusObjectPath& content);
05825 void ContentRemoved(const QDBusObjectPath& content, const Tp::CallStateReason& reason);
05847 void CallStateChanged(uint callState, uint callFlags, const Tp::CallStateReason& callStateReason, const QVariantMap& callStateDetails);
05874 void CallMembersChanged(const Tp::CallMemberMap& flagsChanged, const Tp::HandleIdentifierMap& identifiers, const Tp::UIntList& removed, const Tp::CallStateReason& reason);
05875 };
05876
05884 class TP_QT_EXPORT ChannelTypeContactSearchAdaptor : public Tp::AbstractAdaptor
05885 {
05886 Q_OBJECT
05887 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.ContactSearch")
05888 Q_CLASSINFO("D-Bus Introspection", ""
05889 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.ContactSearch\">\n"
05890 " <property access=\"read\" type=\"u\" name=\"SearchState\"/>\n"
05891 " <property access=\"read\" type=\"u\" name=\"Limit\"/>\n"
05892 " <property access=\"read\" type=\"as\" name=\"AvailableSearchKeys\"/>\n"
05893 " <property access=\"read\" type=\"s\" name=\"Server\"/>\n"
05894 " <method name=\"Search\">\n"
05895 " <arg direction=\"in\" type=\"a{ss}\" name=\"terms\">\n"
05896 " <annotation value=\"Tp::ContactSearchMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
05897 " </arg>\n"
05898 " </method>\n"
05899 " <method name=\"More\"/>\n"
05900 " <method name=\"Stop\"/>\n"
05901 " <signal name=\"SearchStateChanged\">\n"
05902 " <arg type=\"u\" name=\"state\"/>\n"
05903 " <arg type=\"s\" name=\"error\"/>\n"
05904 " <arg type=\"a{sv}\" name=\"details\"/>\n"
05905 " </signal>\n"
05906 " <signal name=\"SearchResultReceived\">\n"
05907 " <arg type=\"a{sa(sasas)}\" name=\"result\">\n"
05908 " <annotation value=\"Tp::ContactSearchResultMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
05909 " </arg>\n"
05910 " </signal>\n"
05911 " </interface>\n"
05912 "")
05913 Q_PROPERTY(uint SearchState READ SearchState )
05914 Q_PROPERTY(uint Limit READ Limit )
05915 Q_PROPERTY(QStringList AvailableSearchKeys READ AvailableSearchKeys )
05916 Q_PROPERTY(QString Server READ Server )
05917
05918 public:
05919 ChannelTypeContactSearchAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
05920 virtual ~ChannelTypeContactSearchAdaptor();
05921
05922 typedef Tp::MethodInvocationContextPtr< > SearchContextPtr;
05923 typedef Tp::MethodInvocationContextPtr< > MoreContextPtr;
05924 typedef Tp::MethodInvocationContextPtr< > StopContextPtr;
05925
05926 public:
05939 uint SearchState() const;
05967 uint Limit() const;
05984 QStringList AvailableSearchKeys() const;
06007 QString Server() const;
06008
06009 public Q_SLOTS:
06029 void Search(const Tp::ContactSearchMap& terms, const QDBusMessage& dbusMessage);
06047 void More(const QDBusMessage& dbusMessage);
06083 void Stop(const QDBusMessage& dbusMessage);
06084
06085 Q_SIGNALS:
06124 void SearchStateChanged(uint state, const QString& error, const QVariantMap& details);
06138 void SearchResultReceived(const Tp::ContactSearchResultMap& result);
06139 };
06140
06148 class TP_QT_EXPORT ChannelTypeDBusTubeAdaptor : public Tp::AbstractAdaptor
06149 {
06150 Q_OBJECT
06151 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.DBusTube")
06152 Q_CLASSINFO("D-Bus Introspection", ""
06153 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.DBusTube\">\n"
06154 " <property access=\"read\" type=\"s\" name=\"ServiceName\"/>\n"
06155 " <property access=\"read\" type=\"a{us}\" name=\"DBusNames\">\n"
06156 " <annotation value=\"Tp::DBusTubeParticipants\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
06157 " </property>\n"
06158 " <property access=\"read\" type=\"au\" name=\"SupportedAccessControls\"/>\n"
06159 " <method name=\"Offer\">\n"
06160 " <arg direction=\"in\" type=\"a{sv}\" name=\"parameters\">\n"
06161 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
06162 " </arg>\n"
06163 " <arg direction=\"in\" type=\"u\" name=\"accesscontrol\"/>\n"
06164 " <arg direction=\"out\" type=\"s\" name=\"address\"/>\n"
06165 " </method>\n"
06166 " <method name=\"Accept\">\n"
06167 " <arg direction=\"in\" type=\"u\" name=\"accesscontrol\"/>\n"
06168 " <arg direction=\"out\" type=\"s\" name=\"address\"/>\n"
06169 " </method>\n"
06170 " <signal name=\"DBusNamesChanged\">\n"
06171 " <arg type=\"a{us}\" name=\"added\">\n"
06172 " <annotation value=\"Tp::DBusTubeParticipants\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
06173 " </arg>\n"
06174 " <arg type=\"au\" name=\"removed\"/>\n"
06175 " </signal>\n"
06176 " </interface>\n"
06177 "")
06178 Q_PROPERTY(QString ServiceName READ ServiceName )
06179 Q_PROPERTY(Tp::DBusTubeParticipants DBusNames READ DBusNames )
06180 Q_PROPERTY(Tp::UIntList SupportedAccessControls READ SupportedAccessControls )
06181
06182 public:
06183 ChannelTypeDBusTubeAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
06184 virtual ~ChannelTypeDBusTubeAdaptor();
06185
06186 typedef Tp::MethodInvocationContextPtr< QString > OfferContextPtr;
06187 typedef Tp::MethodInvocationContextPtr< QString > AcceptContextPtr;
06188
06189 public:
06210 QString ServiceName() const;
06225 Tp::DBusTubeParticipants DBusNames() const;
06255 Tp::UIntList SupportedAccessControls() const;
06256
06257 public Q_SLOTS:
06282 QString Offer(const QVariantMap& parameters, uint accesscontrol, const QDBusMessage& dbusMessage);
06307 QString Accept(uint accesscontrol, const QDBusMessage& dbusMessage);
06308
06309 Q_SIGNALS:
06325 void DBusNamesChanged(const Tp::DBusTubeParticipants& added, const Tp::UIntList& removed);
06326 };
06327
06335 class TP_QT_EXPORT ChannelTypeFileTransferAdaptor : public Tp::AbstractAdaptor
06336 {
06337 Q_OBJECT
06338 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.FileTransfer")
06339 Q_CLASSINFO("D-Bus Introspection", ""
06340 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.FileTransfer\">\n"
06341 " <property access=\"read\" type=\"u\" name=\"State\"/>\n"
06342 " <property access=\"read\" type=\"s\" name=\"ContentType\"/>\n"
06343 " <property access=\"read\" type=\"s\" name=\"Filename\"/>\n"
06344 " <property access=\"read\" type=\"t\" name=\"Size\"/>\n"
06345 " <property access=\"read\" type=\"u\" name=\"ContentHashType\"/>\n"
06346 " <property access=\"read\" type=\"s\" name=\"ContentHash\"/>\n"
06347 " <property access=\"read\" type=\"s\" name=\"Description\"/>\n"
06348 " <property access=\"read\" type=\"x\" name=\"Date\"/>\n"
06349 " <property access=\"read\" type=\"a{uau}\" name=\"AvailableSocketTypes\">\n"
06350 " <annotation value=\"Tp::SupportedSocketMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
06351 " </property>\n"
06352 " <property access=\"read\" type=\"t\" name=\"TransferredBytes\"/>\n"
06353 " <property access=\"read\" type=\"t\" name=\"InitialOffset\"/>\n"
06354 " <property access=\"readwrite\" type=\"s\" name=\"URI\"/>\n"
06355 " <property access=\"read\" type=\"s\" name=\"FileCollection\"/>\n"
06356 " <method name=\"AcceptFile\">\n"
06357 " <arg direction=\"in\" type=\"u\" name=\"addressType\"/>\n"
06358 " <arg direction=\"in\" type=\"u\" name=\"accessControl\"/>\n"
06359 " <arg direction=\"in\" type=\"v\" name=\"accessControlParam\"/>\n"
06360 " <arg direction=\"in\" type=\"t\" name=\"offset\"/>\n"
06361 " <arg direction=\"out\" type=\"v\" name=\"address\"/>\n"
06362 " </method>\n"
06363 " <method name=\"ProvideFile\">\n"
06364 " <arg direction=\"in\" type=\"u\" name=\"addressType\"/>\n"
06365 " <arg direction=\"in\" type=\"u\" name=\"accessControl\"/>\n"
06366 " <arg direction=\"in\" type=\"v\" name=\"accessControlParam\"/>\n"
06367 " <arg direction=\"out\" type=\"v\" name=\"address\"/>\n"
06368 " </method>\n"
06369 " <signal name=\"FileTransferStateChanged\">\n"
06370 " <arg type=\"u\" name=\"state\"/>\n"
06371 " <arg type=\"u\" name=\"reason\"/>\n"
06372 " </signal>\n"
06373 " <signal name=\"TransferredBytesChanged\">\n"
06374 " <arg type=\"t\" name=\"count\"/>\n"
06375 " </signal>\n"
06376 " <signal name=\"InitialOffsetDefined\">\n"
06377 " <arg type=\"t\" name=\"initialOffset\"/>\n"
06378 " </signal>\n"
06379 " <signal name=\"URIDefined\">\n"
06380 " <arg type=\"s\" name=\"URI\"/>\n"
06381 " </signal>\n"
06382 " </interface>\n"
06383 "")
06384 Q_PROPERTY(uint State READ State )
06385 Q_PROPERTY(QString ContentType READ ContentType )
06386 Q_PROPERTY(QString Filename READ Filename )
06387 Q_PROPERTY(qulonglong Size READ Size )
06388 Q_PROPERTY(uint ContentHashType READ ContentHashType )
06389 Q_PROPERTY(QString ContentHash READ ContentHash )
06390 Q_PROPERTY(QString Description READ Description )
06391 Q_PROPERTY(qlonglong Date READ Date )
06392 Q_PROPERTY(Tp::SupportedSocketMap AvailableSocketTypes READ AvailableSocketTypes )
06393 Q_PROPERTY(qulonglong TransferredBytes READ TransferredBytes )
06394 Q_PROPERTY(qulonglong InitialOffset READ InitialOffset )
06395 Q_PROPERTY(QString URI READ URI WRITE SetURI)
06396 Q_PROPERTY(QString FileCollection READ FileCollection )
06397
06398 public:
06399 ChannelTypeFileTransferAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
06400 virtual ~ChannelTypeFileTransferAdaptor();
06401
06402 typedef Tp::MethodInvocationContextPtr< QDBusVariant > AcceptFileContextPtr;
06403 typedef Tp::MethodInvocationContextPtr< QDBusVariant > ProvideFileContextPtr;
06404
06405 public:
06420 uint State() const;
06440 QString ContentType() const;
06464 QString Filename() const;
06490 qulonglong Size() const;
06519 uint ContentHashType() const;
06542 QString ContentHash() const;
06562 QString Description() const;
06581 qlonglong Date() const;
06612 Tp::SupportedSocketMap AvailableSocketTypes() const;
06628 qulonglong TransferredBytes() const;
06653 qulonglong InitialOffset() const;
06691 QString URI() const;
06727 void SetURI(const QString &newValue);
06762 QString FileCollection() const;
06763
06764 public Q_SLOTS:
06807 QDBusVariant AcceptFile(uint addressType, uint accessControl, const QDBusVariant& accessControlParam, qulonglong offset, const QDBusMessage& dbusMessage);
06840 QDBusVariant ProvideFile(uint addressType, uint accessControl, const QDBusVariant& accessControlParam, const QDBusMessage& dbusMessage);
06841
06842 Q_SIGNALS:
06862 void FileTransferStateChanged(uint state, uint reason);
06875 void TransferredBytesChanged(qulonglong count);
06888 void InitialOffsetDefined(qulonglong initialOffset);
06901 void URIDefined(const QString& URI);
06902 };
06903
06911 class TP_QT_EXPORT ChannelTypeRoomListAdaptor : public Tp::AbstractAdaptor
06912 {
06913 Q_OBJECT
06914 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.RoomList")
06915 Q_CLASSINFO("D-Bus Introspection", ""
06916 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.RoomList\">\n"
06917 " <property access=\"read\" type=\"s\" name=\"Server\"/>\n"
06918 " <method name=\"GetListingRooms\">\n"
06919 " <arg direction=\"out\" type=\"b\" name=\"inProgress\"/>\n"
06920 " </method>\n"
06921 " <method name=\"ListRooms\"/>\n"
06922 " <method name=\"StopListing\"/>\n"
06923 " <signal name=\"GotRooms\">\n"
06924 " <arg type=\"a(usa{sv})\" name=\"rooms\">\n"
06925 " <annotation value=\"Tp::RoomInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
06926 " </arg>\n"
06927 " </signal>\n"
06928 " <signal name=\"ListingRooms\">\n"
06929 " <arg type=\"b\" name=\"listing\"/>\n"
06930 " </signal>\n"
06931 " </interface>\n"
06932 "")
06933 Q_PROPERTY(QString Server READ Server )
06934
06935 public:
06936 ChannelTypeRoomListAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
06937 virtual ~ChannelTypeRoomListAdaptor();
06938
06939 typedef Tp::MethodInvocationContextPtr< bool > GetListingRoomsContextPtr;
06940 typedef Tp::MethodInvocationContextPtr< > ListRoomsContextPtr;
06941 typedef Tp::MethodInvocationContextPtr< > StopListingContextPtr;
06942
06943 public:
06959 QString Server() const;
06960
06961 public Q_SLOTS:
06979 bool GetListingRooms(const QDBusMessage& dbusMessage);
06996 void ListRooms(const QDBusMessage& dbusMessage);
07012 void StopListing(const QDBusMessage& dbusMessage);
07013
07014 Q_SIGNALS:
07034 void GotRooms(const Tp::RoomInfoList& rooms);
07047 void ListingRooms(bool listing);
07048 };
07049
07057 class TP_QT_EXPORT ChannelTypeServerAuthenticationAdaptor : public Tp::AbstractAdaptor
07058 {
07059 Q_OBJECT
07060 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.ServerAuthentication")
07061 Q_CLASSINFO("D-Bus Introspection", ""
07062 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.ServerAuthentication\">\n"
07063 " <property access=\"read\" type=\"s\" name=\"AuthenticationMethod\"/>\n"
07064 " </interface>\n"
07065 "")
07066 Q_PROPERTY(QString AuthenticationMethod READ AuthenticationMethod )
07067
07068 public:
07069 ChannelTypeServerAuthenticationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
07070 virtual ~ChannelTypeServerAuthenticationAdaptor();
07071
07072
07073 public:
07092 QString AuthenticationMethod() const;
07093 };
07094
07102 class TP_QT_EXPORT ChannelTypeServerTLSConnectionAdaptor : public Tp::AbstractAdaptor
07103 {
07104 Q_OBJECT
07105 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection")
07106 Q_CLASSINFO("D-Bus Introspection", ""
07107 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection\">\n"
07108 " <property access=\"read\" type=\"o\" name=\"ServerCertificate\"/>\n"
07109 " <property access=\"read\" type=\"s\" name=\"Hostname\"/>\n"
07110 " <property access=\"read\" type=\"as\" name=\"ReferenceIdentities\"/>\n"
07111 " </interface>\n"
07112 "")
07113 Q_PROPERTY(QDBusObjectPath ServerCertificate READ ServerCertificate )
07114 Q_PROPERTY(QString Hostname READ Hostname )
07115 Q_PROPERTY(QStringList ReferenceIdentities READ ReferenceIdentities )
07116
07117 public:
07118 ChannelTypeServerTLSConnectionAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
07119 virtual ~ChannelTypeServerTLSConnectionAdaptor();
07120
07121
07122 public:
07135 QDBusObjectPath ServerCertificate() const;
07151 QString Hostname() const;
07180 QStringList ReferenceIdentities() const;
07181 };
07182
07190 class TP_QT_EXPORT ChannelTypeStreamTubeAdaptor : public Tp::AbstractAdaptor
07191 {
07192 Q_OBJECT
07193 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.StreamTube")
07194 Q_CLASSINFO("D-Bus Introspection", ""
07195 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.StreamTube\">\n"
07196 " <property access=\"read\" type=\"s\" name=\"Service\"/>\n"
07197 " <property access=\"read\" type=\"a{uau}\" name=\"SupportedSocketTypes\">\n"
07198 " <annotation value=\"Tp::SupportedSocketMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
07199 " </property>\n"
07200 " <method name=\"Offer\">\n"
07201 " <arg direction=\"in\" type=\"u\" name=\"addresstype\"/>\n"
07202 " <arg direction=\"in\" type=\"v\" name=\"address\"/>\n"
07203 " <arg direction=\"in\" type=\"u\" name=\"accesscontrol\"/>\n"
07204 " <arg direction=\"in\" type=\"a{sv}\" name=\"parameters\">\n"
07205 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In3\"/>\n"
07206 " </arg>\n"
07207 " </method>\n"
07208 " <method name=\"Accept\">\n"
07209 " <arg direction=\"in\" type=\"u\" name=\"addresstype\"/>\n"
07210 " <arg direction=\"in\" type=\"u\" name=\"accesscontrol\"/>\n"
07211 " <arg direction=\"in\" type=\"v\" name=\"accesscontrolparam\"/>\n"
07212 " <arg direction=\"out\" type=\"v\" name=\"address\"/>\n"
07213 " </method>\n"
07214 " <signal name=\"NewRemoteConnection\">\n"
07215 " <arg type=\"u\" name=\"handle\"/>\n"
07216 " <arg type=\"v\" name=\"connectionParam\"/>\n"
07217 " <arg type=\"u\" name=\"connectionID\"/>\n"
07218 " </signal>\n"
07219 " <signal name=\"NewLocalConnection\">\n"
07220 " <arg type=\"u\" name=\"connectionID\"/>\n"
07221 " </signal>\n"
07222 " <signal name=\"ConnectionClosed\">\n"
07223 " <arg type=\"u\" name=\"connectionID\"/>\n"
07224 " <arg type=\"s\" name=\"error\"/>\n"
07225 " <arg type=\"s\" name=\"message\"/>\n"
07226 " </signal>\n"
07227 " </interface>\n"
07228 "")
07229 Q_PROPERTY(QString Service READ Service )
07230 Q_PROPERTY(Tp::SupportedSocketMap SupportedSocketTypes READ SupportedSocketTypes )
07231
07232 public:
07233 ChannelTypeStreamTubeAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
07234 virtual ~ChannelTypeStreamTubeAdaptor();
07235
07236 typedef Tp::MethodInvocationContextPtr< > OfferContextPtr;
07237 typedef Tp::MethodInvocationContextPtr< QDBusVariant > AcceptContextPtr;
07238
07239 public:
07264 QString Service() const;
07301 Tp::SupportedSocketMap SupportedSocketTypes() const;
07302
07303 public Q_SLOTS:
07333 void Offer(uint addresstype, const QDBusVariant& address, uint accesscontrol, const QVariantMap& parameters, const QDBusMessage& dbusMessage);
07373 QDBusVariant Accept(uint addresstype, uint accesscontrol, const QDBusVariant& accesscontrolparam, const QDBusMessage& dbusMessage);
07374
07375 Q_SIGNALS:
07412 void NewRemoteConnection(uint handle, const QDBusVariant& connectionParam, uint connectionID);
07427 void NewLocalConnection(uint connectionID);
07458 void ConnectionClosed(uint connectionID, const QString& error, const QString& message);
07459 };
07460
07468 class TP_QT_EXPORT ChannelTypeStreamedMediaAdaptor : public Tp::AbstractAdaptor
07469 {
07470 Q_OBJECT
07471 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.StreamedMedia")
07472 Q_CLASSINFO("D-Bus Introspection", ""
07473 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.StreamedMedia\">\n"
07474 " <property access=\"read\" type=\"b\" name=\"InitialAudio\"/>\n"
07475 " <property access=\"read\" type=\"b\" name=\"InitialVideo\"/>\n"
07476 " <property access=\"read\" type=\"b\" name=\"ImmutableStreams\"/>\n"
07477 " <method name=\"ListStreams\">\n"
07478 " <arg direction=\"out\" type=\"a(uuuuuu)\" name=\"streams\">\n"
07479 " <annotation value=\"Tp::MediaStreamInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
07480 " </arg>\n"
07481 " </method>\n"
07482 " <method name=\"RemoveStreams\">\n"
07483 " <arg direction=\"in\" type=\"au\" name=\"streams\"/>\n"
07484 " </method>\n"
07485 " <method name=\"RequestStreamDirection\">\n"
07486 " <arg direction=\"in\" type=\"u\" name=\"streamID\"/>\n"
07487 " <arg direction=\"in\" type=\"u\" name=\"streamDirection\"/>\n"
07488 " </method>\n"
07489 " <method name=\"RequestStreams\">\n"
07490 " <arg direction=\"in\" type=\"u\" name=\"contactHandle\"/>\n"
07491 " <arg direction=\"in\" type=\"au\" name=\"types\"/>\n"
07492 " <arg direction=\"out\" type=\"a(uuuuuu)\" name=\"streams\">\n"
07493 " <annotation value=\"Tp::MediaStreamInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
07494 " </arg>\n"
07495 " </method>\n"
07496 " <signal name=\"StreamAdded\">\n"
07497 " <arg type=\"u\" name=\"streamID\"/>\n"
07498 " <arg type=\"u\" name=\"contactHandle\"/>\n"
07499 " <arg type=\"u\" name=\"streamType\"/>\n"
07500 " </signal>\n"
07501 " <signal name=\"StreamDirectionChanged\">\n"
07502 " <arg type=\"u\" name=\"streamID\"/>\n"
07503 " <arg type=\"u\" name=\"streamDirection\"/>\n"
07504 " <arg type=\"u\" name=\"pendingFlags\"/>\n"
07505 " </signal>\n"
07506 " <signal name=\"StreamError\">\n"
07507 " <arg type=\"u\" name=\"streamID\"/>\n"
07508 " <arg type=\"u\" name=\"errorCode\"/>\n"
07509 " <arg type=\"s\" name=\"message\"/>\n"
07510 " </signal>\n"
07511 " <signal name=\"StreamRemoved\">\n"
07512 " <arg type=\"u\" name=\"streamID\"/>\n"
07513 " </signal>\n"
07514 " <signal name=\"StreamStateChanged\">\n"
07515 " <arg type=\"u\" name=\"streamID\"/>\n"
07516 " <arg type=\"u\" name=\"streamState\"/>\n"
07517 " </signal>\n"
07518 " </interface>\n"
07519 "")
07520 Q_PROPERTY(bool InitialAudio READ InitialAudio )
07521 Q_PROPERTY(bool InitialVideo READ InitialVideo )
07522 Q_PROPERTY(bool ImmutableStreams READ ImmutableStreams )
07523
07524 public:
07525 ChannelTypeStreamedMediaAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
07526 virtual ~ChannelTypeStreamedMediaAdaptor();
07527
07528 typedef Tp::MethodInvocationContextPtr< Tp::MediaStreamInfoList > ListStreamsContextPtr;
07529 typedef Tp::MethodInvocationContextPtr< > RemoveStreamsContextPtr;
07530 typedef Tp::MethodInvocationContextPtr< > RequestStreamDirectionContextPtr;
07531 typedef Tp::MethodInvocationContextPtr< Tp::MediaStreamInfoList > RequestStreamsContextPtr;
07532
07533 public:
07624 bool InitialAudio() const;
07647 bool InitialVideo() const;
07692 bool ImmutableStreams() const;
07693
07694 public Q_SLOTS:
07724 Tp::MediaStreamInfoList ListStreams(const QDBusMessage& dbusMessage);
07753 void RemoveStreams(const Tp::UIntList& streams, const QDBusMessage& dbusMessage);
07791 void RequestStreamDirection(uint streamID, uint streamDirection, const QDBusMessage& dbusMessage);
07844 Tp::MediaStreamInfoList RequestStreams(uint contactHandle, const Tp::UIntList& types, const QDBusMessage& dbusMessage);
07845
07846 Q_SIGNALS:
07866 void StreamAdded(uint streamID, uint contactHandle, uint streamType);
07885 void StreamDirectionChanged(uint streamID, uint streamDirection, uint pendingFlags);
07904 void StreamError(uint streamID, uint errorCode, const QString& message);
07917 void StreamRemoved(uint streamID);
07933 void StreamStateChanged(uint streamID, uint streamState);
07934 };
07935
07943 class TP_QT_EXPORT ChannelTypeTextAdaptor : public Tp::AbstractAdaptor
07944 {
07945 Q_OBJECT
07946 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.Text")
07947 Q_CLASSINFO("D-Bus Introspection", ""
07948 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.Text\">\n"
07949 " <method name=\"AcknowledgePendingMessages\">\n"
07950 " <arg direction=\"in\" type=\"au\" name=\"IDs\"/>\n"
07951 " </method>\n"
07952 " <method name=\"GetMessageTypes\">\n"
07953 " <arg direction=\"out\" type=\"au\" name=\"availableTypes\"/>\n"
07954 " </method>\n"
07955 " <method name=\"ListPendingMessages\">\n"
07956 " <arg direction=\"in\" type=\"b\" name=\"clear\"/>\n"
07957 " <arg direction=\"out\" type=\"a(uuuuus)\" name=\"pendingMessages\">\n"
07958 " <annotation value=\"Tp::PendingTextMessageList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
07959 " </arg>\n"
07960 " </method>\n"
07961 " <method name=\"Send\">\n"
07962 " <arg direction=\"in\" type=\"u\" name=\"type\"/>\n"
07963 " <arg direction=\"in\" type=\"s\" name=\"text\"/>\n"
07964 " </method>\n"
07965 " <signal name=\"LostMessage\"/>\n"
07966 " <signal name=\"Received\">\n"
07967 " <arg type=\"u\" name=\"ID\"/>\n"
07968 " <arg type=\"u\" name=\"timestamp\"/>\n"
07969 " <arg type=\"u\" name=\"sender\"/>\n"
07970 " <arg type=\"u\" name=\"type\"/>\n"
07971 " <arg type=\"u\" name=\"flags\"/>\n"
07972 " <arg type=\"s\" name=\"text\"/>\n"
07973 " </signal>\n"
07974 " <signal name=\"SendError\">\n"
07975 " <arg type=\"u\" name=\"error\"/>\n"
07976 " <arg type=\"u\" name=\"timestamp\"/>\n"
07977 " <arg type=\"u\" name=\"type\"/>\n"
07978 " <arg type=\"s\" name=\"text\"/>\n"
07979 " </signal>\n"
07980 " <signal name=\"Sent\">\n"
07981 " <arg type=\"u\" name=\"timestamp\"/>\n"
07982 " <arg type=\"u\" name=\"type\"/>\n"
07983 " <arg type=\"s\" name=\"text\"/>\n"
07984 " </signal>\n"
07985 " </interface>\n"
07986 "")
07987
07988 public:
07989 ChannelTypeTextAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
07990 virtual ~ChannelTypeTextAdaptor();
07991
07992 typedef Tp::MethodInvocationContextPtr< > AcknowledgePendingMessagesContextPtr;
07993 typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetMessageTypesContextPtr;
07994 typedef Tp::MethodInvocationContextPtr< Tp::PendingTextMessageList > ListPendingMessagesContextPtr;
07995 typedef Tp::MethodInvocationContextPtr< > SendContextPtr;
07996
07997 public Q_SLOTS:
08015 void AcknowledgePendingMessages(const Tp::UIntList& IDs, const QDBusMessage& dbusMessage);
08033 Tp::UIntList GetMessageTypes(const QDBusMessage& dbusMessage);
08065 Tp::PendingTextMessageList ListPendingMessages(bool clear, const QDBusMessage& dbusMessage);
08099 void Send(uint type, const QString& text, const QDBusMessage& dbusMessage);
08100
08101 Q_SIGNALS:
08111 void LostMessage();
08139 void Received(uint ID, uint timestamp, uint sender, uint type, uint flags, const QString& text);
08161 void SendError(uint error, uint timestamp, uint type, const QString& text);
08184 void Sent(uint timestamp, uint type, const QString& text);
08185 };
08186
08187 }
08188 }