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

cli-channel.h

00001 /*
00002  * This file contains D-Bus client proxy classes generated by qt4-client-gen.py.
00003  *
00004  * This file can be distributed under the same terms as the specification from
00005  * which it was generated.
00006  */
00007 
00008 #ifndef IN_TELEPATHY_QT4_HEADER
00009 #error IN_TELEPATHY_QT4_HEADER
00010 #endif
00011 
00012 #include <TelepathyQt4/Types>
00013 
00014 #include <QtGlobal>
00015 
00016 #include <QString>
00017 #include <QObject>
00018 #include <QVariant>
00019 
00020 #include <QDBusPendingReply>
00021 
00022 #include <TelepathyQt4/AbstractInterface>
00023 #include <TelepathyQt4/DBusProxy>
00024 #include <TelepathyQt4/Global>
00025 
00026 namespace Tp{
00027 class PendingVariant;
00028 class PendingOperation;
00029 }
00030 
00031 // FIXME: (API/ABI break) Remove definition of TELEPATHY_GNUC_DEPRECATED
00032 
00033 // basically the same as GLib's G_GNUC_DEPRECATED
00034 #ifndef TELEPATHY_GNUC_DEPRECATED
00035 #   if defined(Q_CC_GNUC) && __GNUC__ >= 4
00036 #       define TELEPATHY_GNUC_DEPRECATED __attribute__((__deprecated__))
00037 #   else
00038 #       define TELEPATHY_GNUC_DEPRECATED
00039 #   endif
00040 #endif
00041 namespace Tp
00042 {
00043 namespace Client
00044 {
00045 
00053 class TELEPATHY_QT4_EXPORT ChannelInterface : public Tp::AbstractInterface
00054 {
00055     Q_OBJECT
00056 
00057 public:
00064     static inline const char *staticInterfaceName()
00065     {
00066         return "org.freedesktop.Telepathy.Channel";
00067     }
00068 
00076     ChannelInterface(
00077         const QString& busName,
00078         const QString& objectPath,
00079         QObject* parent = 0
00080     );
00081 
00090     ChannelInterface(
00091         const QDBusConnection& connection,
00092         const QString& busName,
00093         const QString& objectPath,
00094         QObject* parent = 0
00095     );
00096 
00103     ChannelInterface(Tp::DBusProxy *proxy);
00104 
00129     Q_PROPERTY(QString ChannelType READ _deprecated_ChannelType)
00130 
00131     
00140     inline TELEPATHY_QT4_DEPRECATED QString ChannelType() const
00141     {
00142         return _deprecated_ChannelType();
00143     }
00144 
00145 private:
00146     inline QString _deprecated_ChannelType() const
00147     {
00148         return qvariant_cast<QString>(internalPropGet("ChannelType"));
00149     }
00150 public:
00151 
00180     inline Tp::PendingVariant *requestPropertyChannelType() const
00181     {
00182         return internalRequestProperty(QLatin1String("ChannelType"));
00183     }
00184 
00212     Q_PROPERTY(QStringList Interfaces READ _deprecated_Interfaces)
00213 
00214     
00223     inline TELEPATHY_QT4_DEPRECATED QStringList Interfaces() const
00224     {
00225         return _deprecated_Interfaces();
00226     }
00227 
00228 private:
00229     inline QStringList _deprecated_Interfaces() const
00230     {
00231         return qvariant_cast<QStringList>(internalPropGet("Interfaces"));
00232     }
00233 public:
00234 
00266     inline Tp::PendingVariant *requestPropertyInterfaces() const
00267     {
00268         return internalRequestProperty(QLatin1String("Interfaces"));
00269     }
00270 
00309     Q_PROPERTY(uint TargetHandle READ _deprecated_TargetHandle)
00310 
00311     
00320     inline TELEPATHY_QT4_DEPRECATED uint TargetHandle() const
00321     {
00322         return _deprecated_TargetHandle();
00323     }
00324 
00325 private:
00326     inline uint _deprecated_TargetHandle() const
00327     {
00328         return qvariant_cast<uint>(internalPropGet("TargetHandle"));
00329     }
00330 public:
00331 
00374     inline Tp::PendingVariant *requestPropertyTargetHandle() const
00375     {
00376         return internalRequestProperty(QLatin1String("TargetHandle"));
00377     }
00378 
00426     Q_PROPERTY(QString TargetID READ _deprecated_TargetID)
00427 
00428     
00437     inline TELEPATHY_QT4_DEPRECATED QString TargetID() const
00438     {
00439         return _deprecated_TargetID();
00440     }
00441 
00442 private:
00443     inline QString _deprecated_TargetID() const
00444     {
00445         return qvariant_cast<QString>(internalPropGet("TargetID"));
00446     }
00447 public:
00448 
00500     inline Tp::PendingVariant *requestPropertyTargetID() const
00501     {
00502         return internalRequestProperty(QLatin1String("TargetID"));
00503     }
00504 
00518     Q_PROPERTY(uint TargetHandleType READ _deprecated_TargetHandleType)
00519 
00520     
00529     inline TELEPATHY_QT4_DEPRECATED uint TargetHandleType() const
00530     {
00531         return _deprecated_TargetHandleType();
00532     }
00533 
00534 private:
00535     inline uint _deprecated_TargetHandleType() const
00536     {
00537         return qvariant_cast<uint>(internalPropGet("TargetHandleType"));
00538     }
00539 public:
00540 
00558     inline Tp::PendingVariant *requestPropertyTargetHandleType() const
00559     {
00560         return internalRequestProperty(QLatin1String("TargetHandleType"));
00561     }
00562 
00625     Q_PROPERTY(bool Requested READ _deprecated_Requested)
00626 
00627     
00636     inline TELEPATHY_QT4_DEPRECATED bool Requested() const
00637     {
00638         return _deprecated_Requested();
00639     }
00640 
00641 private:
00642     inline bool _deprecated_Requested() const
00643     {
00644         return qvariant_cast<bool>(internalPropGet("Requested"));
00645     }
00646 public:
00647 
00714     inline Tp::PendingVariant *requestPropertyRequested() const
00715     {
00716         return internalRequestProperty(QLatin1String("Requested"));
00717     }
00718 
00774     Q_PROPERTY(uint InitiatorHandle READ _deprecated_InitiatorHandle)
00775 
00776     
00785     inline TELEPATHY_QT4_DEPRECATED uint InitiatorHandle() const
00786     {
00787         return _deprecated_InitiatorHandle();
00788     }
00789 
00790 private:
00791     inline uint _deprecated_InitiatorHandle() const
00792     {
00793         return qvariant_cast<uint>(internalPropGet("InitiatorHandle"));
00794     }
00795 public:
00796 
00856     inline Tp::PendingVariant *requestPropertyInitiatorHandle() const
00857     {
00858         return internalRequestProperty(QLatin1String("InitiatorHandle"));
00859     }
00860 
00889     Q_PROPERTY(QString InitiatorID READ _deprecated_InitiatorID)
00890 
00891     
00900     inline TELEPATHY_QT4_DEPRECATED QString InitiatorID() const
00901     {
00902         return _deprecated_InitiatorID();
00903     }
00904 
00905 private:
00906     inline QString _deprecated_InitiatorID() const
00907     {
00908         return qvariant_cast<QString>(internalPropGet("InitiatorID"));
00909     }
00910 public:
00911 
00944     inline Tp::PendingVariant *requestPropertyInitiatorID() const
00945     {
00946         return internalRequestProperty(QLatin1String("InitiatorID"));
00947     }
00948 
00955     Tp::PendingVariantMap *requestAllProperties() const
00956     {
00957         return internalRequestAllProperties();
00958     }
00959 
00960 public Q_SLOTS:
00970     inline QDBusPendingReply<> Close()
00971     {
00972         if (!invalidationReason().isEmpty()) {
00973             return QDBusPendingReply<>(QDBusMessage::createError(
00974                 invalidationReason(),
00975                 invalidationMessage()
00976             ));
00977         }
00978 
00979         return asyncCall(QLatin1String("Close"));
00980     }
00981 
00994     inline QDBusPendingReply<QString> GetChannelType()
00995     {
00996         if (!invalidationReason().isEmpty()) {
00997             return QDBusPendingReply<QString>(QDBusMessage::createError(
00998                 invalidationReason(),
00999                 invalidationMessage()
01000             ));
01001         }
01002 
01003         return asyncCall(QLatin1String("GetChannelType"));
01004     }
01005 
01024     inline QDBusPendingReply<uint, uint> GetHandle()
01025     {
01026         if (!invalidationReason().isEmpty()) {
01027             return QDBusPendingReply<uint, uint>(QDBusMessage::createError(
01028                 invalidationReason(),
01029                 invalidationMessage()
01030             ));
01031         }
01032 
01033         return asyncCall(QLatin1String("GetHandle"));
01034     }
01035 
01048     inline QDBusPendingReply<QStringList> GetInterfaces()
01049     {
01050         if (!invalidationReason().isEmpty()) {
01051             return QDBusPendingReply<QStringList>(QDBusMessage::createError(
01052                 invalidationReason(),
01053                 invalidationMessage()
01054             ));
01055         }
01056 
01057         return asyncCall(QLatin1String("GetInterfaces"));
01058     }
01059 
01060 Q_SIGNALS:
01068     void Closed();
01069 
01070 protected:
01071     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
01072 };
01073 
01081 class TELEPATHY_QT4_EXPORT ChannelInterfaceAnonymityInterface : public Tp::AbstractInterface
01082 {
01083     Q_OBJECT
01084 
01085 public:
01092     static inline const char *staticInterfaceName()
01093     {
01094         return "org.freedesktop.Telepathy.Channel.Interface.Anonymity";
01095     }
01096 
01104     ChannelInterfaceAnonymityInterface(
01105         const QString& busName,
01106         const QString& objectPath,
01107         QObject* parent = 0
01108     );
01109 
01118     ChannelInterfaceAnonymityInterface(
01119         const QDBusConnection& connection,
01120         const QString& busName,
01121         const QString& objectPath,
01122         QObject* parent = 0
01123     );
01124 
01131     ChannelInterfaceAnonymityInterface(Tp::DBusProxy *proxy);
01132 
01140     explicit ChannelInterfaceAnonymityInterface(const Tp::Client::ChannelInterface& mainInterface);
01141 
01149     ChannelInterfaceAnonymityInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
01150 
01157     Q_PROPERTY(uint AnonymityModes READ _deprecated_AnonymityModes)
01158 
01159     
01168     inline TELEPATHY_QT4_DEPRECATED uint AnonymityModes() const
01169     {
01170         return _deprecated_AnonymityModes();
01171     }
01172 
01173 private:
01174     inline uint _deprecated_AnonymityModes() const
01175     {
01176         return qvariant_cast<uint>(internalPropGet("AnonymityModes"));
01177     }
01178 public:
01179 
01190     inline Tp::PendingVariant *requestPropertyAnonymityModes() const
01191     {
01192         return internalRequestProperty(QLatin1String("AnonymityModes"));
01193     }
01194 
01201     Q_PROPERTY(bool AnonymityMandatory READ _deprecated_AnonymityMandatory)
01202 
01203     
01212     inline TELEPATHY_QT4_DEPRECATED bool AnonymityMandatory() const
01213     {
01214         return _deprecated_AnonymityMandatory();
01215     }
01216 
01217 private:
01218     inline bool _deprecated_AnonymityMandatory() const
01219     {
01220         return qvariant_cast<bool>(internalPropGet("AnonymityMandatory"));
01221     }
01222 public:
01223 
01234     inline Tp::PendingVariant *requestPropertyAnonymityMandatory() const
01235     {
01236         return internalRequestProperty(QLatin1String("AnonymityMandatory"));
01237     }
01238 
01254     Q_PROPERTY(QString AnonymousID READ _deprecated_AnonymousID)
01255 
01256     
01265     inline TELEPATHY_QT4_DEPRECATED QString AnonymousID() const
01266     {
01267         return _deprecated_AnonymousID();
01268     }
01269 
01270 private:
01271     inline QString _deprecated_AnonymousID() const
01272     {
01273         return qvariant_cast<QString>(internalPropGet("AnonymousID"));
01274     }
01275 public:
01276 
01296     inline Tp::PendingVariant *requestPropertyAnonymousID() const
01297     {
01298         return internalRequestProperty(QLatin1String("AnonymousID"));
01299     }
01300 
01307     Tp::PendingVariantMap *requestAllProperties() const
01308     {
01309         return internalRequestAllProperties();
01310     }
01311 
01312 protected:
01313     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
01314 };
01315 
01323 class TELEPATHY_QT4_EXPORT ChannelInterfaceCallStateInterface : public Tp::AbstractInterface
01324 {
01325     Q_OBJECT
01326 
01327 public:
01334     static inline const char *staticInterfaceName()
01335     {
01336         return "org.freedesktop.Telepathy.Channel.Interface.CallState";
01337     }
01338 
01346     ChannelInterfaceCallStateInterface(
01347         const QString& busName,
01348         const QString& objectPath,
01349         QObject* parent = 0
01350     );
01351 
01360     ChannelInterfaceCallStateInterface(
01361         const QDBusConnection& connection,
01362         const QString& busName,
01363         const QString& objectPath,
01364         QObject* parent = 0
01365     );
01366 
01373     ChannelInterfaceCallStateInterface(Tp::DBusProxy *proxy);
01374 
01382     explicit ChannelInterfaceCallStateInterface(const Tp::Client::ChannelInterface& mainInterface);
01383 
01391     ChannelInterfaceCallStateInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
01392 
01399     Tp::PendingVariantMap *requestAllProperties() const
01400     {
01401         return internalRequestAllProperties();
01402     }
01403 
01404 public Q_SLOTS:
01415     inline QDBusPendingReply<Tp::ChannelCallStateMap> GetCallStates()
01416     {
01417         if (!invalidationReason().isEmpty()) {
01418             return QDBusPendingReply<Tp::ChannelCallStateMap>(QDBusMessage::createError(
01419                 invalidationReason(),
01420                 invalidationMessage()
01421             ));
01422         }
01423 
01424         return asyncCall(QLatin1String("GetCallStates"));
01425     }
01426 
01427 Q_SIGNALS:
01441     void CallStateChanged(uint contact, uint state);
01442 
01443 protected:
01444     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
01445 };
01446 
01454 class TELEPATHY_QT4_EXPORT ChannelInterfaceChatStateInterface : public Tp::AbstractInterface
01455 {
01456     Q_OBJECT
01457 
01458 public:
01465     static inline const char *staticInterfaceName()
01466     {
01467         return "org.freedesktop.Telepathy.Channel.Interface.ChatState";
01468     }
01469 
01477     ChannelInterfaceChatStateInterface(
01478         const QString& busName,
01479         const QString& objectPath,
01480         QObject* parent = 0
01481     );
01482 
01491     ChannelInterfaceChatStateInterface(
01492         const QDBusConnection& connection,
01493         const QString& busName,
01494         const QString& objectPath,
01495         QObject* parent = 0
01496     );
01497 
01504     ChannelInterfaceChatStateInterface(Tp::DBusProxy *proxy);
01505 
01513     explicit ChannelInterfaceChatStateInterface(const Tp::Client::ChannelInterface& mainInterface);
01514 
01522     ChannelInterfaceChatStateInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
01523 
01553     Q_PROPERTY(Tp::ChatStateMap ChatStates READ _deprecated_ChatStates)
01554 
01555     
01564     inline TELEPATHY_QT4_DEPRECATED Tp::ChatStateMap ChatStates() const
01565     {
01566         return _deprecated_ChatStates();
01567     }
01568 
01569 private:
01570     inline Tp::ChatStateMap _deprecated_ChatStates() const
01571     {
01572         return qvariant_cast<Tp::ChatStateMap>(internalPropGet("ChatStates"));
01573     }
01574 public:
01575 
01609     inline Tp::PendingVariant *requestPropertyChatStates() const
01610     {
01611         return internalRequestProperty(QLatin1String("ChatStates"));
01612     }
01613 
01620     Tp::PendingVariantMap *requestAllProperties() const
01621     {
01622         return internalRequestAllProperties();
01623     }
01624 
01625 public Q_SLOTS:
01636     inline QDBusPendingReply<> SetChatState(uint state)
01637     {
01638         if (!invalidationReason().isEmpty()) {
01639             return QDBusPendingReply<>(QDBusMessage::createError(
01640                 invalidationReason(),
01641                 invalidationMessage()
01642             ));
01643         }
01644 
01645         QList<QVariant> argumentList;
01646         argumentList << QVariant::fromValue(state);
01647         return asyncCallWithArgumentList(QLatin1String("SetChatState"), argumentList);
01648     }
01649 
01650 Q_SIGNALS:
01665     void ChatStateChanged(uint contact, uint state);
01666 
01667 protected:
01668     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
01669 };
01670 
01678 class TELEPATHY_QT4_EXPORT ChannelInterfaceConferenceInterface : public Tp::AbstractInterface
01679 {
01680     Q_OBJECT
01681 
01682 public:
01689     static inline const char *staticInterfaceName()
01690     {
01691         return "org.freedesktop.Telepathy.Channel.Interface.Conference";
01692     }
01693 
01701     ChannelInterfaceConferenceInterface(
01702         const QString& busName,
01703         const QString& objectPath,
01704         QObject* parent = 0
01705     );
01706 
01715     ChannelInterfaceConferenceInterface(
01716         const QDBusConnection& connection,
01717         const QString& busName,
01718         const QString& objectPath,
01719         QObject* parent = 0
01720     );
01721 
01728     ChannelInterfaceConferenceInterface(Tp::DBusProxy *proxy);
01729 
01737     explicit ChannelInterfaceConferenceInterface(const Tp::Client::ChannelInterface& mainInterface);
01738 
01746     ChannelInterfaceConferenceInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
01747 
01770     Q_PROPERTY(Tp::ObjectPathList Channels READ _deprecated_Channels)
01771 
01772     
01781     inline TELEPATHY_QT4_DEPRECATED Tp::ObjectPathList Channels() const
01782     {
01783         return _deprecated_Channels();
01784     }
01785 
01786 private:
01787     inline Tp::ObjectPathList _deprecated_Channels() const
01788     {
01789         return qvariant_cast<Tp::ObjectPathList>(internalPropGet("Channels"));
01790     }
01791 public:
01792 
01819     inline Tp::PendingVariant *requestPropertyChannels() const
01820     {
01821         return internalRequestProperty(QLatin1String("Channels"));
01822     }
01823 
01881     Q_PROPERTY(Tp::ObjectPathList InitialChannels READ _deprecated_InitialChannels)
01882 
01883     
01892     inline TELEPATHY_QT4_DEPRECATED Tp::ObjectPathList InitialChannels() const
01893     {
01894         return _deprecated_InitialChannels();
01895     }
01896 
01897 private:
01898     inline Tp::ObjectPathList _deprecated_InitialChannels() const
01899     {
01900         return qvariant_cast<Tp::ObjectPathList>(internalPropGet("InitialChannels"));
01901     }
01902 public:
01903 
01965     inline Tp::PendingVariant *requestPropertyInitialChannels() const
01966     {
01967         return internalRequestProperty(QLatin1String("InitialChannels"));
01968     }
01969 
02039     Q_PROPERTY(Tp::UIntList InitialInviteeHandles READ _deprecated_InitialInviteeHandles)
02040 
02041     
02050     inline TELEPATHY_QT4_DEPRECATED Tp::UIntList InitialInviteeHandles() const
02051     {
02052         return _deprecated_InitialInviteeHandles();
02053     }
02054 
02055 private:
02056     inline Tp::UIntList _deprecated_InitialInviteeHandles() const
02057     {
02058         return qvariant_cast<Tp::UIntList>(internalPropGet("InitialInviteeHandles"));
02059     }
02060 public:
02061 
02135     inline Tp::PendingVariant *requestPropertyInitialInviteeHandles() const
02136     {
02137         return internalRequestProperty(QLatin1String("InitialInviteeHandles"));
02138     }
02139 
02160     Q_PROPERTY(QStringList InitialInviteeIDs READ _deprecated_InitialInviteeIDs)
02161 
02162     
02171     inline TELEPATHY_QT4_DEPRECATED QStringList InitialInviteeIDs() const
02172     {
02173         return _deprecated_InitialInviteeIDs();
02174     }
02175 
02176 private:
02177     inline QStringList _deprecated_InitialInviteeIDs() const
02178     {
02179         return qvariant_cast<QStringList>(internalPropGet("InitialInviteeIDs"));
02180     }
02181 public:
02182 
02207     inline Tp::PendingVariant *requestPropertyInitialInviteeIDs() const
02208     {
02209         return internalRequestProperty(QLatin1String("InitialInviteeIDs"));
02210     }
02211 
02235     Q_PROPERTY(QString InvitationMessage READ _deprecated_InvitationMessage)
02236 
02237     
02246     inline TELEPATHY_QT4_DEPRECATED QString InvitationMessage() const
02247     {
02248         return _deprecated_InvitationMessage();
02249     }
02250 
02251 private:
02252     inline QString _deprecated_InvitationMessage() const
02253     {
02254         return qvariant_cast<QString>(internalPropGet("InvitationMessage"));
02255     }
02256 public:
02257 
02285     inline Tp::PendingVariant *requestPropertyInvitationMessage() const
02286     {
02287         return internalRequestProperty(QLatin1String("InvitationMessage"));
02288     }
02289 
02349     Q_PROPERTY(Tp::ChannelOriginatorMap OriginalChannels READ _deprecated_OriginalChannels)
02350 
02351     
02360     inline TELEPATHY_QT4_DEPRECATED Tp::ChannelOriginatorMap OriginalChannels() const
02361     {
02362         return _deprecated_OriginalChannels();
02363     }
02364 
02365 private:
02366     inline Tp::ChannelOriginatorMap _deprecated_OriginalChannels() const
02367     {
02368         return qvariant_cast<Tp::ChannelOriginatorMap>(internalPropGet("OriginalChannels"));
02369     }
02370 public:
02371 
02435     inline Tp::PendingVariant *requestPropertyOriginalChannels() const
02436     {
02437         return internalRequestProperty(QLatin1String("OriginalChannels"));
02438     }
02439 
02446     Tp::PendingVariantMap *requestAllProperties() const
02447     {
02448         return internalRequestAllProperties();
02449     }
02450 
02451 Q_SIGNALS:
02473     void ChannelMerged(const QDBusObjectPath& channel, uint channelSpecificHandle, const QVariantMap& properties);
02474 
02495     void ChannelRemoved(const QDBusObjectPath& channel, const QVariantMap& details);
02496 
02497 protected:
02498     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
02499 };
02500 
02508 class TELEPATHY_QT4_EXPORT ChannelInterfaceDTMFInterface : public Tp::AbstractInterface
02509 {
02510     Q_OBJECT
02511 
02512 public:
02519     static inline const char *staticInterfaceName()
02520     {
02521         return "org.freedesktop.Telepathy.Channel.Interface.DTMF";
02522     }
02523 
02531     ChannelInterfaceDTMFInterface(
02532         const QString& busName,
02533         const QString& objectPath,
02534         QObject* parent = 0
02535     );
02536 
02545     ChannelInterfaceDTMFInterface(
02546         const QDBusConnection& connection,
02547         const QString& busName,
02548         const QString& objectPath,
02549         QObject* parent = 0
02550     );
02551 
02558     ChannelInterfaceDTMFInterface(Tp::DBusProxy *proxy);
02559 
02567     explicit ChannelInterfaceDTMFInterface(const Tp::Client::ChannelInterface& mainInterface);
02568 
02576     ChannelInterfaceDTMFInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
02577 
02585     Q_PROPERTY(bool CurrentlySendingTones READ _deprecated_CurrentlySendingTones)
02586 
02587     
02596     inline TELEPATHY_QT4_DEPRECATED bool CurrentlySendingTones() const
02597     {
02598         return _deprecated_CurrentlySendingTones();
02599     }
02600 
02601 private:
02602     inline bool _deprecated_CurrentlySendingTones() const
02603     {
02604         return qvariant_cast<bool>(internalPropGet("CurrentlySendingTones"));
02605     }
02606 public:
02607 
02619     inline Tp::PendingVariant *requestPropertyCurrentlySendingTones() const
02620     {
02621         return internalRequestProperty(QLatin1String("CurrentlySendingTones"));
02622     }
02623 
02632     Q_PROPERTY(QString InitialTones READ _deprecated_InitialTones)
02633 
02634     
02643     inline TELEPATHY_QT4_DEPRECATED QString InitialTones() const
02644     {
02645         return _deprecated_InitialTones();
02646     }
02647 
02648 private:
02649     inline QString _deprecated_InitialTones() const
02650     {
02651         return qvariant_cast<QString>(internalPropGet("InitialTones"));
02652     }
02653 public:
02654 
02667     inline Tp::PendingVariant *requestPropertyInitialTones() const
02668     {
02669         return internalRequestProperty(QLatin1String("InitialTones"));
02670     }
02671 
02678     Tp::PendingVariantMap *requestAllProperties() const
02679     {
02680         return internalRequestAllProperties();
02681     }
02682 
02683 public Q_SLOTS:
02709     inline QDBusPendingReply<> StartTone(uint streamID, uchar event)
02710     {
02711         if (!invalidationReason().isEmpty()) {
02712             return QDBusPendingReply<>(QDBusMessage::createError(
02713                 invalidationReason(),
02714                 invalidationMessage()
02715             ));
02716         }
02717 
02718         QList<QVariant> argumentList;
02719         argumentList << QVariant::fromValue(streamID) << QVariant::fromValue(event);
02720         return asyncCallWithArgumentList(QLatin1String("StartTone"), argumentList);
02721     }
02722 
02740     inline QDBusPendingReply<> StopTone(uint streamID)
02741     {
02742         if (!invalidationReason().isEmpty()) {
02743             return QDBusPendingReply<>(QDBusMessage::createError(
02744                 invalidationReason(),
02745                 invalidationMessage()
02746             ));
02747         }
02748 
02749         QList<QVariant> argumentList;
02750         argumentList << QVariant::fromValue(streamID);
02751         return asyncCallWithArgumentList(QLatin1String("StopTone"), argumentList);
02752     }
02753 
02772     inline QDBusPendingReply<> MultipleTones(const QString& tones)
02773     {
02774         if (!invalidationReason().isEmpty()) {
02775             return QDBusPendingReply<>(QDBusMessage::createError(
02776                 invalidationReason(),
02777                 invalidationMessage()
02778             ));
02779         }
02780 
02781         QList<QVariant> argumentList;
02782         argumentList << QVariant::fromValue(tones);
02783         return asyncCallWithArgumentList(QLatin1String("MultipleTones"), argumentList);
02784     }
02785 
02786 Q_SIGNALS:
02801     void SendingTones(const QString& tones);
02802 
02812     void StoppedTones(bool cancelled);
02813 
02814 protected:
02815     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
02816 };
02817 
02825 class TELEPATHY_QT4_EXPORT ChannelInterfaceGroupInterface : public Tp::AbstractInterface
02826 {
02827     Q_OBJECT
02828 
02829 public:
02836     static inline const char *staticInterfaceName()
02837     {
02838         return "org.freedesktop.Telepathy.Channel.Interface.Group";
02839     }
02840 
02848     ChannelInterfaceGroupInterface(
02849         const QString& busName,
02850         const QString& objectPath,
02851         QObject* parent = 0
02852     );
02853 
02862     ChannelInterfaceGroupInterface(
02863         const QDBusConnection& connection,
02864         const QString& busName,
02865         const QString& objectPath,
02866         QObject* parent = 0
02867     );
02868 
02875     ChannelInterfaceGroupInterface(Tp::DBusProxy *proxy);
02876 
02884     explicit ChannelInterfaceGroupInterface(const Tp::Client::ChannelInterface& mainInterface);
02885 
02893     ChannelInterfaceGroupInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
02894 
02903     Q_PROPERTY(uint GroupFlags READ _deprecated_GroupFlags)
02904 
02905     
02914     inline TELEPATHY_QT4_DEPRECATED uint GroupFlags() const
02915     {
02916         return _deprecated_GroupFlags();
02917     }
02918 
02919 private:
02920     inline uint _deprecated_GroupFlags() const
02921     {
02922         return qvariant_cast<uint>(internalPropGet("GroupFlags"));
02923     }
02924 public:
02925 
02938     inline Tp::PendingVariant *requestPropertyGroupFlags() const
02939     {
02940         return internalRequestProperty(QLatin1String("GroupFlags"));
02941     }
02942 
02954     Q_PROPERTY(Tp::HandleOwnerMap HandleOwners READ _deprecated_HandleOwners)
02955 
02956     
02965     inline TELEPATHY_QT4_DEPRECATED Tp::HandleOwnerMap HandleOwners() const
02966     {
02967         return _deprecated_HandleOwners();
02968     }
02969 
02970 private:
02971     inline Tp::HandleOwnerMap _deprecated_HandleOwners() const
02972     {
02973         return qvariant_cast<Tp::HandleOwnerMap>(internalPropGet("HandleOwners"));
02974     }
02975 public:
02976 
02992     inline Tp::PendingVariant *requestPropertyHandleOwners() const
02993     {
02994         return internalRequestProperty(QLatin1String("HandleOwners"));
02995     }
02996 
03003     Q_PROPERTY(Tp::LocalPendingInfoList LocalPendingMembers READ _deprecated_LocalPendingMembers)
03004 
03005     
03014     inline TELEPATHY_QT4_DEPRECATED Tp::LocalPendingInfoList LocalPendingMembers() const
03015     {
03016         return _deprecated_LocalPendingMembers();
03017     }
03018 
03019 private:
03020     inline Tp::LocalPendingInfoList _deprecated_LocalPendingMembers() const
03021     {
03022         return qvariant_cast<Tp::LocalPendingInfoList>(internalPropGet("LocalPendingMembers"));
03023     }
03024 public:
03025 
03036     inline Tp::PendingVariant *requestPropertyLocalPendingMembers() const
03037     {
03038         return internalRequestProperty(QLatin1String("LocalPendingMembers"));
03039     }
03040 
03046     Q_PROPERTY(Tp::UIntList Members READ _deprecated_Members)
03047 
03048     
03057     inline TELEPATHY_QT4_DEPRECATED Tp::UIntList Members() const
03058     {
03059         return _deprecated_Members();
03060     }
03061 
03062 private:
03063     inline Tp::UIntList _deprecated_Members() const
03064     {
03065         return qvariant_cast<Tp::UIntList>(internalPropGet("Members"));
03066     }
03067 public:
03068 
03078     inline Tp::PendingVariant *requestPropertyMembers() const
03079     {
03080         return internalRequestProperty(QLatin1String("Members"));
03081     }
03082 
03089     Q_PROPERTY(Tp::UIntList RemotePendingMembers READ _deprecated_RemotePendingMembers)
03090 
03091     
03100     inline TELEPATHY_QT4_DEPRECATED Tp::UIntList RemotePendingMembers() const
03101     {
03102         return _deprecated_RemotePendingMembers();
03103     }
03104 
03105 private:
03106     inline Tp::UIntList _deprecated_RemotePendingMembers() const
03107     {
03108         return qvariant_cast<Tp::UIntList>(internalPropGet("RemotePendingMembers"));
03109     }
03110 public:
03111 
03122     inline Tp::PendingVariant *requestPropertyRemotePendingMembers() const
03123     {
03124         return internalRequestProperty(QLatin1String("RemotePendingMembers"));
03125     }
03126 
03137     Q_PROPERTY(uint SelfHandle READ _deprecated_SelfHandle)
03138 
03139     
03148     inline TELEPATHY_QT4_DEPRECATED uint SelfHandle() const
03149     {
03150         return _deprecated_SelfHandle();
03151     }
03152 
03153 private:
03154     inline uint _deprecated_SelfHandle() const
03155     {
03156         return qvariant_cast<uint>(internalPropGet("SelfHandle"));
03157     }
03158 public:
03159 
03174     inline Tp::PendingVariant *requestPropertySelfHandle() const
03175     {
03176         return internalRequestProperty(QLatin1String("SelfHandle"));
03177     }
03178 
03185     Tp::PendingVariantMap *requestAllProperties() const
03186     {
03187         return internalRequestAllProperties();
03188     }
03189 
03190 public Q_SLOTS:
03214     inline QDBusPendingReply<> AddMembers(const Tp::UIntList& contacts, const QString& message)
03215     {
03216         if (!invalidationReason().isEmpty()) {
03217             return QDBusPendingReply<>(QDBusMessage::createError(
03218                 invalidationReason(),
03219                 invalidationMessage()
03220             ));
03221         }
03222 
03223         QList<QVariant> argumentList;
03224         argumentList << QVariant::fromValue(contacts) << QVariant::fromValue(message);
03225         return asyncCallWithArgumentList(QLatin1String("AddMembers"), argumentList);
03226     }
03227 
03245     inline QDBusPendingReply<Tp::UIntList, Tp::UIntList, Tp::UIntList> GetAllMembers()
03246     {
03247         if (!invalidationReason().isEmpty()) {
03248             return QDBusPendingReply<Tp::UIntList, Tp::UIntList, Tp::UIntList>(QDBusMessage::createError(
03249                 invalidationReason(),
03250                 invalidationMessage()
03251             ));
03252         }
03253 
03254         return asyncCall(QLatin1String("GetAllMembers"));
03255     }
03256 
03266     inline QDBusPendingReply<uint> GetGroupFlags()
03267     {
03268         if (!invalidationReason().isEmpty()) {
03269             return QDBusPendingReply<uint>(QDBusMessage::createError(
03270                 invalidationReason(),
03271                 invalidationMessage()
03272             ));
03273         }
03274 
03275         return asyncCall(QLatin1String("GetGroupFlags"));
03276     }
03277 
03298     inline QDBusPendingReply<Tp::UIntList> GetHandleOwners(const Tp::UIntList& handles)
03299     {
03300         if (!invalidationReason().isEmpty()) {
03301             return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
03302                 invalidationReason(),
03303                 invalidationMessage()
03304             ));
03305         }
03306 
03307         QList<QVariant> argumentList;
03308         argumentList << QVariant::fromValue(handles);
03309         return asyncCallWithArgumentList(QLatin1String("GetHandleOwners"), argumentList);
03310     }
03311 
03318     inline QDBusPendingReply<Tp::UIntList> GetLocalPendingMembers()
03319     {
03320         if (!invalidationReason().isEmpty()) {
03321             return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
03322                 invalidationReason(),
03323                 invalidationMessage()
03324             ));
03325         }
03326 
03327         return asyncCall(QLatin1String("GetLocalPendingMembers"));
03328     }
03329 
03343     inline QDBusPendingReply<Tp::LocalPendingInfoList> GetLocalPendingMembersWithInfo()
03344     {
03345         if (!invalidationReason().isEmpty()) {
03346             return QDBusPendingReply<Tp::LocalPendingInfoList>(QDBusMessage::createError(
03347                 invalidationReason(),
03348                 invalidationMessage()
03349             ));
03350         }
03351 
03352         return asyncCall(QLatin1String("GetLocalPendingMembersWithInfo"));
03353     }
03354 
03360     inline QDBusPendingReply<Tp::UIntList> GetMembers()
03361     {
03362         if (!invalidationReason().isEmpty()) {
03363             return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
03364                 invalidationReason(),
03365                 invalidationMessage()
03366             ));
03367         }
03368 
03369         return asyncCall(QLatin1String("GetMembers"));
03370     }
03371 
03378     inline QDBusPendingReply<Tp::UIntList> GetRemotePendingMembers()
03379     {
03380         if (!invalidationReason().isEmpty()) {
03381             return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
03382                 invalidationReason(),
03383                 invalidationMessage()
03384             ));
03385         }
03386 
03387         return asyncCall(QLatin1String("GetRemotePendingMembers"));
03388     }
03389 
03395     inline QDBusPendingReply<uint> GetSelfHandle()
03396     {
03397         if (!invalidationReason().isEmpty()) {
03398             return QDBusPendingReply<uint>(QDBusMessage::createError(
03399                 invalidationReason(),
03400                 invalidationMessage()
03401             ));
03402         }
03403 
03404         return asyncCall(QLatin1String("GetSelfHandle"));
03405     }
03406 
03455     inline QDBusPendingReply<> RemoveMembers(const Tp::UIntList& contacts, const QString& message)
03456     {
03457         if (!invalidationReason().isEmpty()) {
03458             return QDBusPendingReply<>(QDBusMessage::createError(
03459                 invalidationReason(),
03460                 invalidationMessage()
03461             ));
03462         }
03463 
03464         QList<QVariant> argumentList;
03465         argumentList << QVariant::fromValue(contacts) << QVariant::fromValue(message);
03466         return asyncCallWithArgumentList(QLatin1String("RemoveMembers"), argumentList);
03467     }
03468 
03488     inline QDBusPendingReply<> RemoveMembersWithReason(const Tp::UIntList& contacts, const QString& message, uint reason)
03489     {
03490         if (!invalidationReason().isEmpty()) {
03491             return QDBusPendingReply<>(QDBusMessage::createError(
03492                 invalidationReason(),
03493                 invalidationMessage()
03494             ));
03495         }
03496 
03497         QList<QVariant> argumentList;
03498         argumentList << QVariant::fromValue(contacts) << QVariant::fromValue(message) << QVariant::fromValue(reason);
03499         return asyncCallWithArgumentList(QLatin1String("RemoveMembersWithReason"), argumentList);
03500     }
03501 
03502 Q_SIGNALS:
03521     void HandleOwnersChanged(const Tp::HandleOwnerMap& added, const Tp::UIntList& removed);
03522 
03532     void SelfHandleChanged(uint selfHandle);
03533 
03548     void GroupFlagsChanged(uint added, uint removed);
03549 
03601     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);
03602 
03707     void MembersChangedDetailed(const Tp::UIntList& added, const Tp::UIntList& removed, const Tp::UIntList& localPending, const Tp::UIntList& remotePending, const QVariantMap& details);
03708 
03709 protected:
03710     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
03711 };
03712 
03720 class TELEPATHY_QT4_EXPORT ChannelInterfaceHoldInterface : public Tp::AbstractInterface
03721 {
03722     Q_OBJECT
03723 
03724 public:
03731     static inline const char *staticInterfaceName()
03732     {
03733         return "org.freedesktop.Telepathy.Channel.Interface.Hold";
03734     }
03735 
03743     ChannelInterfaceHoldInterface(
03744         const QString& busName,
03745         const QString& objectPath,
03746         QObject* parent = 0
03747     );
03748 
03757     ChannelInterfaceHoldInterface(
03758         const QDBusConnection& connection,
03759         const QString& busName,
03760         const QString& objectPath,
03761         QObject* parent = 0
03762     );
03763 
03770     ChannelInterfaceHoldInterface(Tp::DBusProxy *proxy);
03771 
03779     explicit ChannelInterfaceHoldInterface(const Tp::Client::ChannelInterface& mainInterface);
03780 
03788     ChannelInterfaceHoldInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
03789 
03796     Tp::PendingVariantMap *requestAllProperties() const
03797     {
03798         return internalRequestAllProperties();
03799     }
03800 
03801 public Q_SLOTS:
03815     inline QDBusPendingReply<uint, uint> GetHoldState()
03816     {
03817         if (!invalidationReason().isEmpty()) {
03818             return QDBusPendingReply<uint, uint>(QDBusMessage::createError(
03819                 invalidationReason(),
03820                 invalidationMessage()
03821             ));
03822         }
03823 
03824         return asyncCall(QLatin1String("GetHoldState"));
03825     }
03826 
03883     inline QDBusPendingReply<> RequestHold(bool hold)
03884     {
03885         if (!invalidationReason().isEmpty()) {
03886             return QDBusPendingReply<>(QDBusMessage::createError(
03887                 invalidationReason(),
03888                 invalidationMessage()
03889             ));
03890         }
03891 
03892         QList<QVariant> argumentList;
03893         argumentList << QVariant::fromValue(hold);
03894         return asyncCallWithArgumentList(QLatin1String("RequestHold"), argumentList);
03895     }
03896 
03897 Q_SIGNALS:
03914     void HoldStateChanged(uint holdState, uint reason);
03915 
03916 protected:
03917     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
03918 };
03919 
03927 class TELEPATHY_QT4_EXPORT ChannelInterfaceMediaSignallingInterface : public Tp::AbstractInterface
03928 {
03929     Q_OBJECT
03930 
03931 public:
03938     static inline const char *staticInterfaceName()
03939     {
03940         return "org.freedesktop.Telepathy.Channel.Interface.MediaSignalling";
03941     }
03942 
03950     ChannelInterfaceMediaSignallingInterface(
03951         const QString& busName,
03952         const QString& objectPath,
03953         QObject* parent = 0
03954     );
03955 
03964     ChannelInterfaceMediaSignallingInterface(
03965         const QDBusConnection& connection,
03966         const QString& busName,
03967         const QString& objectPath,
03968         QObject* parent = 0
03969     );
03970 
03977     ChannelInterfaceMediaSignallingInterface(Tp::DBusProxy *proxy);
03978 
03986     explicit ChannelInterfaceMediaSignallingInterface(const Tp::Client::ChannelInterface& mainInterface);
03987 
03995     ChannelInterfaceMediaSignallingInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
03996 
04003     Tp::PendingVariantMap *requestAllProperties() const
04004     {
04005         return internalRequestAllProperties();
04006     }
04007 
04008 public Q_SLOTS:
04015     inline QDBusPendingReply<Tp::MediaSessionHandlerInfoList> GetSessionHandlers()
04016     {
04017         if (!invalidationReason().isEmpty()) {
04018             return QDBusPendingReply<Tp::MediaSessionHandlerInfoList>(QDBusMessage::createError(
04019                 invalidationReason(),
04020                 invalidationMessage()
04021             ));
04022         }
04023 
04024         return asyncCall(QLatin1String("GetSessionHandlers"));
04025     }
04026 
04027 Q_SIGNALS:
04043     void NewSessionHandler(const QDBusObjectPath& sessionHandler, const QString& sessionType);
04044 
04045 protected:
04046     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
04047 };
04048 
04056 class TELEPATHY_QT4_EXPORT ChannelInterfaceMessagesInterface : public Tp::AbstractInterface
04057 {
04058     Q_OBJECT
04059 
04060 public:
04067     static inline const char *staticInterfaceName()
04068     {
04069         return "org.freedesktop.Telepathy.Channel.Interface.Messages";
04070     }
04071 
04079     ChannelInterfaceMessagesInterface(
04080         const QString& busName,
04081         const QString& objectPath,
04082         QObject* parent = 0
04083     );
04084 
04093     ChannelInterfaceMessagesInterface(
04094         const QDBusConnection& connection,
04095         const QString& busName,
04096         const QString& objectPath,
04097         QObject* parent = 0
04098     );
04099 
04106     ChannelInterfaceMessagesInterface(Tp::DBusProxy *proxy);
04107 
04115     explicit ChannelInterfaceMessagesInterface(const Tp::Client::ChannelInterface& mainInterface);
04116 
04124     ChannelInterfaceMessagesInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
04125 
04171     Q_PROPERTY(QStringList SupportedContentTypes READ _deprecated_SupportedContentTypes)
04172 
04173     
04182     inline TELEPATHY_QT4_DEPRECATED QStringList SupportedContentTypes() const
04183     {
04184         return _deprecated_SupportedContentTypes();
04185     }
04186 
04187 private:
04188     inline QStringList _deprecated_SupportedContentTypes() const
04189     {
04190         return qvariant_cast<QStringList>(internalPropGet("SupportedContentTypes"));
04191     }
04192 public:
04193 
04243     inline Tp::PendingVariant *requestPropertySupportedContentTypes() const
04244     {
04245         return internalRequestProperty(QLatin1String("SupportedContentTypes"));
04246     }
04247 
04253     Q_PROPERTY(uint MessagePartSupportFlags READ _deprecated_MessagePartSupportFlags)
04254 
04255     
04264     inline TELEPATHY_QT4_DEPRECATED uint MessagePartSupportFlags() const
04265     {
04266         return _deprecated_MessagePartSupportFlags();
04267     }
04268 
04269 private:
04270     inline uint _deprecated_MessagePartSupportFlags() const
04271     {
04272         return qvariant_cast<uint>(internalPropGet("MessagePartSupportFlags"));
04273     }
04274 public:
04275 
04285     inline Tp::PendingVariant *requestPropertyMessagePartSupportFlags() const
04286     {
04287         return internalRequestProperty(QLatin1String("MessagePartSupportFlags"));
04288     }
04289 
04299     Q_PROPERTY(Tp::MessagePartListList PendingMessages READ _deprecated_PendingMessages)
04300 
04301     
04310     inline TELEPATHY_QT4_DEPRECATED Tp::MessagePartListList PendingMessages() const
04311     {
04312         return _deprecated_PendingMessages();
04313     }
04314 
04315 private:
04316     inline Tp::MessagePartListList _deprecated_PendingMessages() const
04317     {
04318         return qvariant_cast<Tp::MessagePartListList>(internalPropGet("PendingMessages"));
04319     }
04320 public:
04321 
04335     inline Tp::PendingVariant *requestPropertyPendingMessages() const
04336     {
04337         return internalRequestProperty(QLatin1String("PendingMessages"));
04338     }
04339 
04345     Q_PROPERTY(uint DeliveryReportingSupport READ _deprecated_DeliveryReportingSupport)
04346 
04347     
04356     inline TELEPATHY_QT4_DEPRECATED uint DeliveryReportingSupport() const
04357     {
04358         return _deprecated_DeliveryReportingSupport();
04359     }
04360 
04361 private:
04362     inline uint _deprecated_DeliveryReportingSupport() const
04363     {
04364         return qvariant_cast<uint>(internalPropGet("DeliveryReportingSupport"));
04365     }
04366 public:
04367 
04377     inline Tp::PendingVariant *requestPropertyDeliveryReportingSupport() const
04378     {
04379         return internalRequestProperty(QLatin1String("DeliveryReportingSupport"));
04380     }
04381 
04388     Tp::PendingVariantMap *requestAllProperties() const
04389     {
04390         return internalRequestAllProperties();
04391     }
04392 
04393 public Q_SLOTS:
04435     inline QDBusPendingReply<QString> SendMessage(const Tp::MessagePartList& message, uint flags)
04436     {
04437         if (!invalidationReason().isEmpty()) {
04438             return QDBusPendingReply<QString>(QDBusMessage::createError(
04439                 invalidationReason(),
04440                 invalidationMessage()
04441             ));
04442         }
04443 
04444         QList<QVariant> argumentList;
04445         argumentList << QVariant::fromValue(message) << QVariant::fromValue(flags);
04446         return asyncCallWithArgumentList(QLatin1String("SendMessage"), argumentList);
04447     }
04448 
04482     inline QDBusPendingReply<Tp::MessagePartContentMap> GetPendingMessageContent(uint messageID, const Tp::UIntList& parts)
04483     {
04484         if (!invalidationReason().isEmpty()) {
04485             return QDBusPendingReply<Tp::MessagePartContentMap>(QDBusMessage::createError(
04486                 invalidationReason(),
04487                 invalidationMessage()
04488             ));
04489         }
04490 
04491         QList<QVariant> argumentList;
04492         argumentList << QVariant::fromValue(messageID) << QVariant::fromValue(parts);
04493         return asyncCallWithArgumentList(QLatin1String("GetPendingMessageContent"), argumentList);
04494     }
04495 
04496 Q_SIGNALS:
04544     void MessageSent(const Tp::MessagePartList& content, uint flags, const QString& messageToken);
04545 
04559     void PendingMessagesRemoved(const Tp::UIntList& messageIDs);
04560 
04579     void MessageReceived(const Tp::MessagePartList& message);
04580 
04581 protected:
04582     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
04583 };
04584 
04592 class TELEPATHY_QT4_EXPORT ChannelInterfacePasswordInterface : public Tp::AbstractInterface
04593 {
04594     Q_OBJECT
04595 
04596 public:
04603     static inline const char *staticInterfaceName()
04604     {
04605         return "org.freedesktop.Telepathy.Channel.Interface.Password";
04606     }
04607 
04615     ChannelInterfacePasswordInterface(
04616         const QString& busName,
04617         const QString& objectPath,
04618         QObject* parent = 0
04619     );
04620 
04629     ChannelInterfacePasswordInterface(
04630         const QDBusConnection& connection,
04631         const QString& busName,
04632         const QString& objectPath,
04633         QObject* parent = 0
04634     );
04635 
04642     ChannelInterfacePasswordInterface(Tp::DBusProxy *proxy);
04643 
04651     explicit ChannelInterfacePasswordInterface(const Tp::Client::ChannelInterface& mainInterface);
04652 
04660     ChannelInterfacePasswordInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
04661 
04668     Tp::PendingVariantMap *requestAllProperties() const
04669     {
04670         return internalRequestAllProperties();
04671     }
04672 
04673 public Q_SLOTS:
04686     inline QDBusPendingReply<uint> GetPasswordFlags()
04687     {
04688         if (!invalidationReason().isEmpty()) {
04689             return QDBusPendingReply<uint>(QDBusMessage::createError(
04690                 invalidationReason(),
04691                 invalidationMessage()
04692             ));
04693         }
04694 
04695         return asyncCall(QLatin1String("GetPasswordFlags"));
04696     }
04697 
04713     inline QDBusPendingReply<bool> ProvidePassword(const QString& password)
04714     {
04715         if (!invalidationReason().isEmpty()) {
04716             return QDBusPendingReply<bool>(QDBusMessage::createError(
04717                 invalidationReason(),
04718                 invalidationMessage()
04719             ));
04720         }
04721 
04722         QList<QVariant> argumentList;
04723         argumentList << QVariant::fromValue(password);
04724         return asyncCallWithArgumentList(QLatin1String("ProvidePassword"), argumentList);
04725     }
04726 
04727 Q_SIGNALS:
04742     void PasswordFlagsChanged(uint added, uint removed);
04743 
04744 protected:
04745     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
04746 };
04747 
04755 class TELEPATHY_QT4_EXPORT ChannelInterfaceServicePointInterface : public Tp::AbstractInterface
04756 {
04757     Q_OBJECT
04758 
04759 public:
04766     static inline const char *staticInterfaceName()
04767     {
04768         return "org.freedesktop.Telepathy.Channel.Interface.ServicePoint";
04769     }
04770 
04778     ChannelInterfaceServicePointInterface(
04779         const QString& busName,
04780         const QString& objectPath,
04781         QObject* parent = 0
04782     );
04783 
04792     ChannelInterfaceServicePointInterface(
04793         const QDBusConnection& connection,
04794         const QString& busName,
04795         const QString& objectPath,
04796         QObject* parent = 0
04797     );
04798 
04805     ChannelInterfaceServicePointInterface(Tp::DBusProxy *proxy);
04806 
04814     explicit ChannelInterfaceServicePointInterface(const Tp::Client::ChannelInterface& mainInterface);
04815 
04823     ChannelInterfaceServicePointInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
04824 
04838     Q_PROPERTY(Tp::ServicePoint InitialServicePoint READ _deprecated_InitialServicePoint)
04839 
04840     
04849     inline TELEPATHY_QT4_DEPRECATED Tp::ServicePoint InitialServicePoint() const
04850     {
04851         return _deprecated_InitialServicePoint();
04852     }
04853 
04854 private:
04855     inline Tp::ServicePoint _deprecated_InitialServicePoint() const
04856     {
04857         return qvariant_cast<Tp::ServicePoint>(internalPropGet("InitialServicePoint"));
04858     }
04859 public:
04860 
04878     inline Tp::PendingVariant *requestPropertyInitialServicePoint() const
04879     {
04880         return internalRequestProperty(QLatin1String("InitialServicePoint"));
04881     }
04882 
04891     Q_PROPERTY(Tp::ServicePoint CurrentServicePoint READ _deprecated_CurrentServicePoint)
04892 
04893     
04902     inline TELEPATHY_QT4_DEPRECATED Tp::ServicePoint CurrentServicePoint() const
04903     {
04904         return _deprecated_CurrentServicePoint();
04905     }
04906 
04907 private:
04908     inline Tp::ServicePoint _deprecated_CurrentServicePoint() const
04909     {
04910         return qvariant_cast<Tp::ServicePoint>(internalPropGet("CurrentServicePoint"));
04911     }
04912 public:
04913 
04926     inline Tp::PendingVariant *requestPropertyCurrentServicePoint() const
04927     {
04928         return internalRequestProperty(QLatin1String("CurrentServicePoint"));
04929     }
04930 
04937     Tp::PendingVariantMap *requestAllProperties() const
04938     {
04939         return internalRequestAllProperties();
04940     }
04941 
04942 Q_SIGNALS:
04959     void ServicePointChanged(const Tp::ServicePoint& servicePoint);
04960 
04961 protected:
04962     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
04963 };
04964 
04972 class TELEPATHY_QT4_EXPORT ChannelInterfaceTubeInterface : public Tp::AbstractInterface
04973 {
04974     Q_OBJECT
04975 
04976 public:
04983     static inline const char *staticInterfaceName()
04984     {
04985         return "org.freedesktop.Telepathy.Channel.Interface.Tube";
04986     }
04987 
04995     ChannelInterfaceTubeInterface(
04996         const QString& busName,
04997         const QString& objectPath,
04998         QObject* parent = 0
04999     );
05000 
05009     ChannelInterfaceTubeInterface(
05010         const QDBusConnection& connection,
05011         const QString& busName,
05012         const QString& objectPath,
05013         QObject* parent = 0
05014     );
05015 
05022     ChannelInterfaceTubeInterface(Tp::DBusProxy *proxy);
05023 
05031     explicit ChannelInterfaceTubeInterface(const Tp::Client::ChannelInterface& mainInterface);
05032 
05040     ChannelInterfaceTubeInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
05041 
05081     Q_PROPERTY(QVariantMap Parameters READ _deprecated_Parameters)
05082 
05083     
05092     inline TELEPATHY_QT4_DEPRECATED QVariantMap Parameters() const
05093     {
05094         return _deprecated_Parameters();
05095     }
05096 
05097 private:
05098     inline QVariantMap _deprecated_Parameters() const
05099     {
05100         return qvariant_cast<QVariantMap>(internalPropGet("Parameters"));
05101     }
05102 public:
05103 
05147     inline Tp::PendingVariant *requestPropertyParameters() const
05148     {
05149         return internalRequestProperty(QLatin1String("Parameters"));
05150     }
05151 
05161     Q_PROPERTY(uint State READ _deprecated_State)
05162 
05163     
05172     inline TELEPATHY_QT4_DEPRECATED uint State() const
05173     {
05174         return _deprecated_State();
05175     }
05176 
05177 private:
05178     inline uint _deprecated_State() const
05179     {
05180         return qvariant_cast<uint>(internalPropGet("State"));
05181     }
05182 public:
05183 
05197     inline Tp::PendingVariant *requestPropertyState() const
05198     {
05199         return internalRequestProperty(QLatin1String("State"));
05200     }
05201 
05208     Tp::PendingVariantMap *requestAllProperties() const
05209     {
05210         return internalRequestAllProperties();
05211     }
05212 
05213 Q_SIGNALS:
05224     void TubeChannelStateChanged(uint state);
05225 
05226 protected:
05227     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
05228 };
05229 
05237 class TELEPATHY_QT4_EXPORT ChannelTypeContactListInterface : public Tp::AbstractInterface
05238 {
05239     Q_OBJECT
05240 
05241 public:
05248     static inline const char *staticInterfaceName()
05249     {
05250         return "org.freedesktop.Telepathy.Channel.Type.ContactList";
05251     }
05252 
05260     ChannelTypeContactListInterface(
05261         const QString& busName,
05262         const QString& objectPath,
05263         QObject* parent = 0
05264     );
05265 
05274     ChannelTypeContactListInterface(
05275         const QDBusConnection& connection,
05276         const QString& busName,
05277         const QString& objectPath,
05278         QObject* parent = 0
05279     );
05280 
05287     ChannelTypeContactListInterface(Tp::DBusProxy *proxy);
05288 
05296     explicit ChannelTypeContactListInterface(const Tp::Client::ChannelInterface& mainInterface);
05297 
05305     ChannelTypeContactListInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
05306 
05313     Tp::PendingVariantMap *requestAllProperties() const
05314     {
05315         return internalRequestAllProperties();
05316     }
05317 
05318 protected:
05319     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
05320 };
05321 
05329 class TELEPATHY_QT4_EXPORT ChannelTypeContactSearchInterface : public Tp::AbstractInterface
05330 {
05331     Q_OBJECT
05332 
05333 public:
05340     static inline const char *staticInterfaceName()
05341     {
05342         return "org.freedesktop.Telepathy.Channel.Type.ContactSearch";
05343     }
05344 
05352     ChannelTypeContactSearchInterface(
05353         const QString& busName,
05354         const QString& objectPath,
05355         QObject* parent = 0
05356     );
05357 
05366     ChannelTypeContactSearchInterface(
05367         const QDBusConnection& connection,
05368         const QString& busName,
05369         const QString& objectPath,
05370         QObject* parent = 0
05371     );
05372 
05379     ChannelTypeContactSearchInterface(Tp::DBusProxy *proxy);
05380 
05388     explicit ChannelTypeContactSearchInterface(const Tp::Client::ChannelInterface& mainInterface);
05389 
05397     ChannelTypeContactSearchInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
05398 
05405     Q_PROPERTY(uint SearchState READ _deprecated_SearchState)
05406 
05407     
05416     inline TELEPATHY_QT4_DEPRECATED uint SearchState() const
05417     {
05418         return _deprecated_SearchState();
05419     }
05420 
05421 private:
05422     inline uint _deprecated_SearchState() const
05423     {
05424         return qvariant_cast<uint>(internalPropGet("SearchState"));
05425     }
05426 public:
05427 
05438     inline Tp::PendingVariant *requestPropertySearchState() const
05439     {
05440         return internalRequestProperty(QLatin1String("SearchState"));
05441     }
05442 
05464     Q_PROPERTY(uint Limit READ _deprecated_Limit)
05465 
05466     
05475     inline TELEPATHY_QT4_DEPRECATED uint Limit() const
05476     {
05477         return _deprecated_Limit();
05478     }
05479 
05480 private:
05481     inline uint _deprecated_Limit() const
05482     {
05483         return qvariant_cast<uint>(internalPropGet("Limit"));
05484     }
05485 public:
05486 
05512     inline Tp::PendingVariant *requestPropertyLimit() const
05513     {
05514         return internalRequestProperty(QLatin1String("Limit"));
05515     }
05516 
05528     Q_PROPERTY(QStringList AvailableSearchKeys READ _deprecated_AvailableSearchKeys)
05529 
05530     
05539     inline TELEPATHY_QT4_DEPRECATED QStringList AvailableSearchKeys() const
05540     {
05541         return _deprecated_AvailableSearchKeys();
05542     }
05543 
05544 private:
05545     inline QStringList _deprecated_AvailableSearchKeys() const
05546     {
05547         return qvariant_cast<QStringList>(internalPropGet("AvailableSearchKeys"));
05548     }
05549 public:
05550 
05566     inline Tp::PendingVariant *requestPropertyAvailableSearchKeys() const
05567     {
05568         return internalRequestProperty(QLatin1String("AvailableSearchKeys"));
05569     }
05570 
05588     Q_PROPERTY(QString Server READ _deprecated_Server)
05589 
05590     
05599     inline TELEPATHY_QT4_DEPRECATED QString Server() const
05600     {
05601         return _deprecated_Server();
05602     }
05603 
05604 private:
05605     inline QString _deprecated_Server() const
05606     {
05607         return qvariant_cast<QString>(internalPropGet("Server"));
05608     }
05609 public:
05610 
05632     inline Tp::PendingVariant *requestPropertyServer() const
05633     {
05634         return internalRequestProperty(QLatin1String("Server"));
05635     }
05636 
05643     Tp::PendingVariantMap *requestAllProperties() const
05644     {
05645         return internalRequestAllProperties();
05646     }
05647 
05648 public Q_SLOTS:
05661     inline QDBusPendingReply<> Search(const Tp::ContactSearchMap& terms)
05662     {
05663         if (!invalidationReason().isEmpty()) {
05664             return QDBusPendingReply<>(QDBusMessage::createError(
05665                 invalidationReason(),
05666                 invalidationMessage()
05667             ));
05668         }
05669 
05670         QList<QVariant> argumentList;
05671         argumentList << QVariant::fromValue(terms);
05672         return asyncCallWithArgumentList(QLatin1String("Search"), argumentList);
05673     }
05674 
05682     inline QDBusPendingReply<> More()
05683     {
05684         if (!invalidationReason().isEmpty()) {
05685             return QDBusPendingReply<>(QDBusMessage::createError(
05686                 invalidationReason(),
05687                 invalidationMessage()
05688             ));
05689         }
05690 
05691         return asyncCall(QLatin1String("More"));
05692     }
05693 
05719     inline QDBusPendingReply<> Stop()
05720     {
05721         if (!invalidationReason().isEmpty()) {
05722             return QDBusPendingReply<>(QDBusMessage::createError(
05723                 invalidationReason(),
05724                 invalidationMessage()
05725             ));
05726         }
05727 
05728         return asyncCall(QLatin1String("Stop"));
05729     }
05730 
05731 Q_SIGNALS:
05775     void SearchStateChanged(uint state, const QString& error, const QVariantMap& details);
05776 
05789     void SearchResultReceived(const Tp::ContactSearchResultMap& result);
05790 
05791 protected:
05792     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
05793 };
05794 
05802 class TELEPATHY_QT4_EXPORT ChannelTypeFileTransferInterface : public Tp::AbstractInterface
05803 {
05804     Q_OBJECT
05805 
05806 public:
05813     static inline const char *staticInterfaceName()
05814     {
05815         return "org.freedesktop.Telepathy.Channel.Type.FileTransfer";
05816     }
05817 
05825     ChannelTypeFileTransferInterface(
05826         const QString& busName,
05827         const QString& objectPath,
05828         QObject* parent = 0
05829     );
05830 
05839     ChannelTypeFileTransferInterface(
05840         const QDBusConnection& connection,
05841         const QString& busName,
05842         const QString& objectPath,
05843         QObject* parent = 0
05844     );
05845 
05852     ChannelTypeFileTransferInterface(Tp::DBusProxy *proxy);
05853 
05861     explicit ChannelTypeFileTransferInterface(const Tp::Client::ChannelInterface& mainInterface);
05862 
05870     ChannelTypeFileTransferInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
05871 
05878     Q_PROPERTY(uint State READ _deprecated_State)
05879 
05880     
05889     inline TELEPATHY_QT4_DEPRECATED uint State() const
05890     {
05891         return _deprecated_State();
05892     }
05893 
05894 private:
05895     inline uint _deprecated_State() const
05896     {
05897         return qvariant_cast<uint>(internalPropGet("State"));
05898     }
05899 public:
05900 
05911     inline Tp::PendingVariant *requestPropertyState() const
05912     {
05913         return internalRequestProperty(QLatin1String("State"));
05914     }
05915 
05927     Q_PROPERTY(QString ContentType READ _deprecated_ContentType)
05928 
05929     
05938     inline TELEPATHY_QT4_DEPRECATED QString ContentType() const
05939     {
05940         return _deprecated_ContentType();
05941     }
05942 
05943 private:
05944     inline QString _deprecated_ContentType() const
05945     {
05946         return qvariant_cast<QString>(internalPropGet("ContentType"));
05947     }
05948 public:
05949 
05965     inline Tp::PendingVariant *requestPropertyContentType() const
05966     {
05967         return internalRequestProperty(QLatin1String("ContentType"));
05968     }
05969 
05985     Q_PROPERTY(QString Filename READ _deprecated_Filename)
05986 
05987     
05996     inline TELEPATHY_QT4_DEPRECATED QString Filename() const
05997     {
05998         return _deprecated_Filename();
05999     }
06000 
06001 private:
06002     inline QString _deprecated_Filename() const
06003     {
06004         return qvariant_cast<QString>(internalPropGet("Filename"));
06005     }
06006 public:
06007 
06027     inline Tp::PendingVariant *requestPropertyFilename() const
06028     {
06029         return internalRequestProperty(QLatin1String("Filename"));
06030     }
06031 
06049     Q_PROPERTY(qulonglong Size READ _deprecated_Size)
06050 
06051     
06060     inline TELEPATHY_QT4_DEPRECATED qulonglong Size() const
06061     {
06062         return _deprecated_Size();
06063     }
06064 
06065 private:
06066     inline qulonglong _deprecated_Size() const
06067     {
06068         return qvariant_cast<qulonglong>(internalPropGet("Size"));
06069     }
06070 public:
06071 
06093     inline Tp::PendingVariant *requestPropertySize() const
06094     {
06095         return internalRequestProperty(QLatin1String("Size"));
06096     }
06097 
06118     Q_PROPERTY(uint ContentHashType READ _deprecated_ContentHashType)
06119 
06120     
06129     inline TELEPATHY_QT4_DEPRECATED uint ContentHashType() const
06130     {
06131         return _deprecated_ContentHashType();
06132     }
06133 
06134 private:
06135     inline uint _deprecated_ContentHashType() const
06136     {
06137         return qvariant_cast<uint>(internalPropGet("ContentHashType"));
06138     }
06139 public:
06140 
06165     inline Tp::PendingVariant *requestPropertyContentHashType() const
06166     {
06167         return internalRequestProperty(QLatin1String("ContentHashType"));
06168     }
06169 
06184     Q_PROPERTY(QString ContentHash READ _deprecated_ContentHash)
06185 
06186     
06195     inline TELEPATHY_QT4_DEPRECATED QString ContentHash() const
06196     {
06197         return _deprecated_ContentHash();
06198     }
06199 
06200 private:
06201     inline QString _deprecated_ContentHash() const
06202     {
06203         return qvariant_cast<QString>(internalPropGet("ContentHash"));
06204     }
06205 public:
06206 
06225     inline Tp::PendingVariant *requestPropertyContentHash() const
06226     {
06227         return internalRequestProperty(QLatin1String("ContentHash"));
06228     }
06229 
06241     Q_PROPERTY(QString Description READ _deprecated_Description)
06242 
06243     
06252     inline TELEPATHY_QT4_DEPRECATED QString Description() const
06253     {
06254         return _deprecated_Description();
06255     }
06256 
06257 private:
06258     inline QString _deprecated_Description() const
06259     {
06260         return qvariant_cast<QString>(internalPropGet("Description"));
06261     }
06262 public:
06263 
06279     inline Tp::PendingVariant *requestPropertyDescription() const
06280     {
06281         return internalRequestProperty(QLatin1String("Description"));
06282     }
06283 
06294     Q_PROPERTY(qlonglong Date READ _deprecated_Date)
06295 
06296     
06305     inline TELEPATHY_QT4_DEPRECATED qlonglong Date() const
06306     {
06307         return _deprecated_Date();
06308     }
06309 
06310 private:
06311     inline qlonglong _deprecated_Date() const
06312     {
06313         return qvariant_cast<qlonglong>(internalPropGet("Date"));
06314     }
06315 public:
06316 
06331     inline Tp::PendingVariant *requestPropertyDate() const
06332     {
06333         return internalRequestProperty(QLatin1String("Date"));
06334     }
06335 
06358     Q_PROPERTY(Tp::SupportedSocketMap AvailableSocketTypes READ _deprecated_AvailableSocketTypes)
06359 
06360     
06369     inline TELEPATHY_QT4_DEPRECATED Tp::SupportedSocketMap AvailableSocketTypes() const
06370     {
06371         return _deprecated_AvailableSocketTypes();
06372     }
06373 
06374 private:
06375     inline Tp::SupportedSocketMap _deprecated_AvailableSocketTypes() const
06376     {
06377         return qvariant_cast<Tp::SupportedSocketMap>(internalPropGet("AvailableSocketTypes"));
06378     }
06379 public:
06380 
06407     inline Tp::PendingVariant *requestPropertyAvailableSocketTypes() const
06408     {
06409         return internalRequestProperty(QLatin1String("AvailableSocketTypes"));
06410     }
06411 
06419     Q_PROPERTY(qulonglong TransferredBytes READ _deprecated_TransferredBytes)
06420 
06421     
06430     inline TELEPATHY_QT4_DEPRECATED qulonglong TransferredBytes() const
06431     {
06432         return _deprecated_TransferredBytes();
06433     }
06434 
06435 private:
06436     inline qulonglong _deprecated_TransferredBytes() const
06437     {
06438         return qvariant_cast<qulonglong>(internalPropGet("TransferredBytes"));
06439     }
06440 public:
06441 
06453     inline Tp::PendingVariant *requestPropertyTransferredBytes() const
06454     {
06455         return internalRequestProperty(QLatin1String("TransferredBytes"));
06456     }
06457 
06474     Q_PROPERTY(qulonglong InitialOffset READ _deprecated_InitialOffset)
06475 
06476     
06485     inline TELEPATHY_QT4_DEPRECATED qulonglong InitialOffset() const
06486     {
06487         return _deprecated_InitialOffset();
06488     }
06489 
06490 private:
06491     inline qulonglong _deprecated_InitialOffset() const
06492     {
06493         return qvariant_cast<qulonglong>(internalPropGet("InitialOffset"));
06494     }
06495 public:
06496 
06517     inline Tp::PendingVariant *requestPropertyInitialOffset() const
06518     {
06519         return internalRequestProperty(QLatin1String("InitialOffset"));
06520     }
06521 
06528     Tp::PendingVariantMap *requestAllProperties() const
06529     {
06530         return internalRequestAllProperties();
06531     }
06532 
06533 public Q_SLOTS:
06573     inline QDBusPendingReply<QDBusVariant> AcceptFile(uint addressType, uint accessControl, const QDBusVariant& accessControlParam, qulonglong offset)
06574     {
06575         if (!invalidationReason().isEmpty()) {
06576             return QDBusPendingReply<QDBusVariant>(QDBusMessage::createError(
06577                 invalidationReason(),
06578                 invalidationMessage()
06579             ));
06580         }
06581 
06582         QList<QVariant> argumentList;
06583         argumentList << QVariant::fromValue(addressType) << QVariant::fromValue(accessControl) << QVariant::fromValue(accessControlParam) << QVariant::fromValue(offset);
06584         return asyncCallWithArgumentList(QLatin1String("AcceptFile"), argumentList);
06585     }
06586 
06615     inline QDBusPendingReply<QDBusVariant> ProvideFile(uint addressType, uint accessControl, const QDBusVariant& accessControlParam)
06616     {
06617         if (!invalidationReason().isEmpty()) {
06618             return QDBusPendingReply<QDBusVariant>(QDBusMessage::createError(
06619                 invalidationReason(),
06620                 invalidationMessage()
06621             ));
06622         }
06623 
06624         QList<QVariant> argumentList;
06625         argumentList << QVariant::fromValue(addressType) << QVariant::fromValue(accessControl) << QVariant::fromValue(accessControlParam);
06626         return asyncCallWithArgumentList(QLatin1String("ProvideFile"), argumentList);
06627     }
06628 
06629 Q_SIGNALS:
06647     void FileTransferStateChanged(uint state, uint reason);
06648 
06661     void TransferredBytesChanged(qulonglong count);
06662 
06674     void InitialOffsetDefined(qulonglong initialOffset);
06675 
06676 protected:
06677     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
06678 };
06679 
06687 class TELEPATHY_QT4_EXPORT ChannelTypeRoomListInterface : public Tp::AbstractInterface
06688 {
06689     Q_OBJECT
06690 
06691 public:
06698     static inline const char *staticInterfaceName()
06699     {
06700         return "org.freedesktop.Telepathy.Channel.Type.RoomList";
06701     }
06702 
06710     ChannelTypeRoomListInterface(
06711         const QString& busName,
06712         const QString& objectPath,
06713         QObject* parent = 0
06714     );
06715 
06724     ChannelTypeRoomListInterface(
06725         const QDBusConnection& connection,
06726         const QString& busName,
06727         const QString& objectPath,
06728         QObject* parent = 0
06729     );
06730 
06737     ChannelTypeRoomListInterface(Tp::DBusProxy *proxy);
06738 
06746     explicit ChannelTypeRoomListInterface(const Tp::Client::ChannelInterface& mainInterface);
06747 
06755     ChannelTypeRoomListInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
06756 
06766     Q_PROPERTY(QString Server READ _deprecated_Server)
06767 
06768     
06777     inline TELEPATHY_QT4_DEPRECATED QString Server() const
06778     {
06779         return _deprecated_Server();
06780     }
06781 
06782 private:
06783     inline QString _deprecated_Server() const
06784     {
06785         return qvariant_cast<QString>(internalPropGet("Server"));
06786     }
06787 public:
06788 
06802     inline Tp::PendingVariant *requestPropertyServer() const
06803     {
06804         return internalRequestProperty(QLatin1String("Server"));
06805     }
06806 
06813     Tp::PendingVariantMap *requestAllProperties() const
06814     {
06815         return internalRequestAllProperties();
06816     }
06817 
06818 public Q_SLOTS:
06829     inline QDBusPendingReply<bool> GetListingRooms()
06830     {
06831         if (!invalidationReason().isEmpty()) {
06832             return QDBusPendingReply<bool>(QDBusMessage::createError(
06833                 invalidationReason(),
06834                 invalidationMessage()
06835             ));
06836         }
06837 
06838         return asyncCall(QLatin1String("GetListingRooms"));
06839     }
06840 
06849     inline QDBusPendingReply<> ListRooms()
06850     {
06851         if (!invalidationReason().isEmpty()) {
06852             return QDBusPendingReply<>(QDBusMessage::createError(
06853                 invalidationReason(),
06854                 invalidationMessage()
06855             ));
06856         }
06857 
06858         return asyncCall(QLatin1String("ListRooms"));
06859     }
06860 
06868     inline QDBusPendingReply<> StopListing()
06869     {
06870         if (!invalidationReason().isEmpty()) {
06871             return QDBusPendingReply<>(QDBusMessage::createError(
06872                 invalidationReason(),
06873                 invalidationMessage()
06874             ));
06875         }
06876 
06877         return asyncCall(QLatin1String("StopListing"));
06878     }
06879 
06880 Q_SIGNALS:
06934     void GotRooms(const Tp::RoomInfoList& rooms);
06935 
06946     void ListingRooms(bool listing);
06947 
06948 protected:
06949     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
06950 };
06951 
06959 class TELEPATHY_QT4_EXPORT ChannelTypeServerTLSConnectionInterface : public Tp::AbstractInterface
06960 {
06961     Q_OBJECT
06962 
06963 public:
06970     static inline const char *staticInterfaceName()
06971     {
06972         return "org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection";
06973     }
06974 
06982     ChannelTypeServerTLSConnectionInterface(
06983         const QString& busName,
06984         const QString& objectPath,
06985         QObject* parent = 0
06986     );
06987 
06996     ChannelTypeServerTLSConnectionInterface(
06997         const QDBusConnection& connection,
06998         const QString& busName,
06999         const QString& objectPath,
07000         QObject* parent = 0
07001     );
07002 
07009     ChannelTypeServerTLSConnectionInterface(Tp::DBusProxy *proxy);
07010 
07018     explicit ChannelTypeServerTLSConnectionInterface(const Tp::Client::ChannelInterface& mainInterface);
07019 
07027     ChannelTypeServerTLSConnectionInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
07028 
07035     Q_PROPERTY(QDBusObjectPath ServerCertificate READ _deprecated_ServerCertificate)
07036 
07037     
07046     inline TELEPATHY_QT4_DEPRECATED QDBusObjectPath ServerCertificate() const
07047     {
07048         return _deprecated_ServerCertificate();
07049     }
07050 
07051 private:
07052     inline QDBusObjectPath _deprecated_ServerCertificate() const
07053     {
07054         return qvariant_cast<QDBusObjectPath>(internalPropGet("ServerCertificate"));
07055     }
07056 public:
07057 
07068     inline Tp::PendingVariant *requestPropertyServerCertificate() const
07069     {
07070         return internalRequestProperty(QLatin1String("ServerCertificate"));
07071     }
07072 
07080     Q_PROPERTY(QString Hostname READ _deprecated_Hostname)
07081 
07082     
07091     inline TELEPATHY_QT4_DEPRECATED QString Hostname() const
07092     {
07093         return _deprecated_Hostname();
07094     }
07095 
07096 private:
07097     inline QString _deprecated_Hostname() const
07098     {
07099         return qvariant_cast<QString>(internalPropGet("Hostname"));
07100     }
07101 public:
07102 
07114     inline Tp::PendingVariant *requestPropertyHostname() const
07115     {
07116         return internalRequestProperty(QLatin1String("Hostname"));
07117     }
07118 
07125     Tp::PendingVariantMap *requestAllProperties() const
07126     {
07127         return internalRequestAllProperties();
07128     }
07129 
07130 protected:
07131     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
07132 };
07133 
07141 class TELEPATHY_QT4_EXPORT ChannelTypeStreamTubeInterface : public Tp::AbstractInterface
07142 {
07143     Q_OBJECT
07144 
07145 public:
07152     static inline const char *staticInterfaceName()
07153     {
07154         return "org.freedesktop.Telepathy.Channel.Type.StreamTube";
07155     }
07156 
07164     ChannelTypeStreamTubeInterface(
07165         const QString& busName,
07166         const QString& objectPath,
07167         QObject* parent = 0
07168     );
07169 
07178     ChannelTypeStreamTubeInterface(
07179         const QDBusConnection& connection,
07180         const QString& busName,
07181         const QString& objectPath,
07182         QObject* parent = 0
07183     );
07184 
07191     ChannelTypeStreamTubeInterface(Tp::DBusProxy *proxy);
07192 
07200     explicit ChannelTypeStreamTubeInterface(const Tp::Client::ChannelInterface& mainInterface);
07201 
07209     ChannelTypeStreamTubeInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
07210 
07227     Q_PROPERTY(QString Service READ _deprecated_Service)
07228 
07229     
07238     inline TELEPATHY_QT4_DEPRECATED QString Service() const
07239     {
07240         return _deprecated_Service();
07241     }
07242 
07243 private:
07244     inline QString _deprecated_Service() const
07245     {
07246         return qvariant_cast<QString>(internalPropGet("Service"));
07247     }
07248 public:
07249 
07270     inline Tp::PendingVariant *requestPropertyService() const
07271     {
07272         return internalRequestProperty(QLatin1String("Service"));
07273     }
07274 
07303     Q_PROPERTY(Tp::SupportedSocketMap SupportedSocketTypes READ _deprecated_SupportedSocketTypes)
07304 
07305     
07314     inline TELEPATHY_QT4_DEPRECATED Tp::SupportedSocketMap SupportedSocketTypes() const
07315     {
07316         return _deprecated_SupportedSocketTypes();
07317     }
07318 
07319 private:
07320     inline Tp::SupportedSocketMap _deprecated_SupportedSocketTypes() const
07321     {
07322         return qvariant_cast<Tp::SupportedSocketMap>(internalPropGet("SupportedSocketTypes"));
07323     }
07324 public:
07325 
07358     inline Tp::PendingVariant *requestPropertySupportedSocketTypes() const
07359     {
07360         return internalRequestProperty(QLatin1String("SupportedSocketTypes"));
07361     }
07362 
07369     Tp::PendingVariantMap *requestAllProperties() const
07370     {
07371         return internalRequestAllProperties();
07372     }
07373 
07374 public Q_SLOTS:
07400     inline QDBusPendingReply<> Offer(uint addresstype, const QDBusVariant& address, uint accesscontrol, const QVariantMap& parameters)
07401     {
07402         if (!invalidationReason().isEmpty()) {
07403             return QDBusPendingReply<>(QDBusMessage::createError(
07404                 invalidationReason(),
07405                 invalidationMessage()
07406             ));
07407         }
07408 
07409         QList<QVariant> argumentList;
07410         argumentList << QVariant::fromValue(addresstype) << QVariant::fromValue(address) << QVariant::fromValue(accesscontrol) << QVariant::fromValue(parameters);
07411         return asyncCallWithArgumentList(QLatin1String("Offer"), argumentList);
07412     }
07413 
07447     inline QDBusPendingReply<QDBusVariant> Accept(uint addresstype, uint accesscontrol, const QDBusVariant& accesscontrolparam)
07448     {
07449         if (!invalidationReason().isEmpty()) {
07450             return QDBusPendingReply<QDBusVariant>(QDBusMessage::createError(
07451                 invalidationReason(),
07452                 invalidationMessage()
07453             ));
07454         }
07455 
07456         QList<QVariant> argumentList;
07457         argumentList << QVariant::fromValue(addresstype) << QVariant::fromValue(accesscontrol) << QVariant::fromValue(accesscontrolparam);
07458         return asyncCallWithArgumentList(QLatin1String("Accept"), argumentList);
07459     }
07460 
07461 Q_SIGNALS:
07498     void NewRemoteConnection(uint handle, const QDBusVariant& connectionParam, uint connectionID);
07499 
07513     void NewLocalConnection(uint connectionID);
07514 
07542     void ConnectionClosed(uint connectionID, const QString& error, const QString& message);
07543 
07544 protected:
07545     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
07546 };
07547 
07555 class TELEPATHY_QT4_EXPORT ChannelTypeStreamedMediaInterface : public Tp::AbstractInterface
07556 {
07557     Q_OBJECT
07558 
07559 public:
07566     static inline const char *staticInterfaceName()
07567     {
07568         return "org.freedesktop.Telepathy.Channel.Type.StreamedMedia";
07569     }
07570 
07578     ChannelTypeStreamedMediaInterface(
07579         const QString& busName,
07580         const QString& objectPath,
07581         QObject* parent = 0
07582     );
07583 
07592     ChannelTypeStreamedMediaInterface(
07593         const QDBusConnection& connection,
07594         const QString& busName,
07595         const QString& objectPath,
07596         QObject* parent = 0
07597     );
07598 
07605     ChannelTypeStreamedMediaInterface(Tp::DBusProxy *proxy);
07606 
07614     explicit ChannelTypeStreamedMediaInterface(const Tp::Client::ChannelInterface& mainInterface);
07615 
07623     ChannelTypeStreamedMediaInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
07624 
07707     Q_PROPERTY(bool InitialAudio READ _deprecated_InitialAudio)
07708 
07709     
07718     inline TELEPATHY_QT4_DEPRECATED bool InitialAudio() const
07719     {
07720         return _deprecated_InitialAudio();
07721     }
07722 
07723 private:
07724     inline bool _deprecated_InitialAudio() const
07725     {
07726         return qvariant_cast<bool>(internalPropGet("InitialAudio"));
07727     }
07728 public:
07729 
07816     inline Tp::PendingVariant *requestPropertyInitialAudio() const
07817     {
07818         return internalRequestProperty(QLatin1String("InitialAudio"));
07819     }
07820 
07835     Q_PROPERTY(bool InitialVideo READ _deprecated_InitialVideo)
07836 
07837     
07846     inline TELEPATHY_QT4_DEPRECATED bool InitialVideo() const
07847     {
07848         return _deprecated_InitialVideo();
07849     }
07850 
07851 private:
07852     inline bool _deprecated_InitialVideo() const
07853     {
07854         return qvariant_cast<bool>(internalPropGet("InitialVideo"));
07855     }
07856 public:
07857 
07876     inline Tp::PendingVariant *requestPropertyInitialVideo() const
07877     {
07878         return internalRequestProperty(QLatin1String("InitialVideo"));
07879     }
07880 
07917     Q_PROPERTY(bool ImmutableStreams READ _deprecated_ImmutableStreams)
07918 
07919     
07928     inline TELEPATHY_QT4_DEPRECATED bool ImmutableStreams() const
07929     {
07930         return _deprecated_ImmutableStreams();
07931     }
07932 
07933 private:
07934     inline bool _deprecated_ImmutableStreams() const
07935     {
07936         return qvariant_cast<bool>(internalPropGet("ImmutableStreams"));
07937     }
07938 public:
07939 
07980     inline Tp::PendingVariant *requestPropertyImmutableStreams() const
07981     {
07982         return internalRequestProperty(QLatin1String("ImmutableStreams"));
07983     }
07984 
07991     Tp::PendingVariantMap *requestAllProperties() const
07992     {
07993         return internalRequestAllProperties();
07994     }
07995 
07996 public Q_SLOTS:
08017     inline QDBusPendingReply<Tp::MediaStreamInfoList> ListStreams()
08018     {
08019         if (!invalidationReason().isEmpty()) {
08020             return QDBusPendingReply<Tp::MediaStreamInfoList>(QDBusMessage::createError(
08021                 invalidationReason(),
08022                 invalidationMessage()
08023             ));
08024         }
08025 
08026         return asyncCall(QLatin1String("ListStreams"));
08027     }
08028 
08048     inline QDBusPendingReply<> RemoveStreams(const Tp::UIntList& streams)
08049     {
08050         if (!invalidationReason().isEmpty()) {
08051             return QDBusPendingReply<>(QDBusMessage::createError(
08052                 invalidationReason(),
08053                 invalidationMessage()
08054             ));
08055         }
08056 
08057         QList<QVariant> argumentList;
08058         argumentList << QVariant::fromValue(streams);
08059         return asyncCallWithArgumentList(QLatin1String("RemoveStreams"), argumentList);
08060     }
08061 
08091     inline QDBusPendingReply<> RequestStreamDirection(uint streamID, uint streamDirection)
08092     {
08093         if (!invalidationReason().isEmpty()) {
08094             return QDBusPendingReply<>(QDBusMessage::createError(
08095                 invalidationReason(),
08096                 invalidationMessage()
08097             ));
08098         }
08099 
08100         QList<QVariant> argumentList;
08101         argumentList << QVariant::fromValue(streamID) << QVariant::fromValue(streamDirection);
08102         return asyncCallWithArgumentList(QLatin1String("RequestStreamDirection"), argumentList);
08103     }
08104 
08148     inline QDBusPendingReply<Tp::MediaStreamInfoList> RequestStreams(uint contactHandle, const Tp::UIntList& types)
08149     {
08150         if (!invalidationReason().isEmpty()) {
08151             return QDBusPendingReply<Tp::MediaStreamInfoList>(QDBusMessage::createError(
08152                 invalidationReason(),
08153                 invalidationMessage()
08154             ));
08155         }
08156 
08157         QList<QVariant> argumentList;
08158         argumentList << QVariant::fromValue(contactHandle) << QVariant::fromValue(types);
08159         return asyncCallWithArgumentList(QLatin1String("RequestStreams"), argumentList);
08160     }
08161 
08162 Q_SIGNALS:
08227     void StreamAdded(uint streamID, uint contactHandle, uint streamType);
08228 
08258     void StreamDirectionChanged(uint streamID, uint streamDirection, uint pendingFlags);
08259 
08277     void StreamError(uint streamID, uint errorCode, const QString& message);
08278 
08288     void StreamRemoved(uint streamID);
08289 
08303     void StreamStateChanged(uint streamID, uint streamState);
08304 
08305 protected:
08306     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
08307 };
08308 
08316 class TELEPATHY_QT4_EXPORT ChannelTypeTextInterface : public Tp::AbstractInterface
08317 {
08318     Q_OBJECT
08319 
08320 public:
08327     static inline const char *staticInterfaceName()
08328     {
08329         return "org.freedesktop.Telepathy.Channel.Type.Text";
08330     }
08331 
08339     ChannelTypeTextInterface(
08340         const QString& busName,
08341         const QString& objectPath,
08342         QObject* parent = 0
08343     );
08344 
08353     ChannelTypeTextInterface(
08354         const QDBusConnection& connection,
08355         const QString& busName,
08356         const QString& objectPath,
08357         QObject* parent = 0
08358     );
08359 
08366     ChannelTypeTextInterface(Tp::DBusProxy *proxy);
08367 
08375     explicit ChannelTypeTextInterface(const Tp::Client::ChannelInterface& mainInterface);
08376 
08384     ChannelTypeTextInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
08385 
08392     Tp::PendingVariantMap *requestAllProperties() const
08393     {
08394         return internalRequestAllProperties();
08395     }
08396 
08397 public Q_SLOTS:
08408     inline QDBusPendingReply<> AcknowledgePendingMessages(const Tp::UIntList& IDs)
08409     {
08410         if (!invalidationReason().isEmpty()) {
08411             return QDBusPendingReply<>(QDBusMessage::createError(
08412                 invalidationReason(),
08413                 invalidationMessage()
08414             ));
08415         }
08416 
08417         QList<QVariant> argumentList;
08418         argumentList << QVariant::fromValue(IDs);
08419         return asyncCallWithArgumentList(QLatin1String("AcknowledgePendingMessages"), argumentList);
08420     }
08421 
08432     inline QDBusPendingReply<Tp::UIntList> GetMessageTypes()
08433     {
08434         if (!invalidationReason().isEmpty()) {
08435             return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
08436                 invalidationReason(),
08437                 invalidationMessage()
08438             ));
08439         }
08440 
08441         return asyncCall(QLatin1String("GetMessageTypes"));
08442     }
08443 
08467     inline QDBusPendingReply<Tp::PendingTextMessageList> ListPendingMessages(bool clear)
08468     {
08469         if (!invalidationReason().isEmpty()) {
08470             return QDBusPendingReply<Tp::PendingTextMessageList>(QDBusMessage::createError(
08471                 invalidationReason(),
08472                 invalidationMessage()
08473             ));
08474         }
08475 
08476         QList<QVariant> argumentList;
08477         argumentList << QVariant::fromValue(clear);
08478         return asyncCallWithArgumentList(QLatin1String("ListPendingMessages"), argumentList);
08479     }
08480 
08506     inline QDBusPendingReply<> Send(uint type, const QString& text)
08507     {
08508         if (!invalidationReason().isEmpty()) {
08509             return QDBusPendingReply<>(QDBusMessage::createError(
08510                 invalidationReason(),
08511                 invalidationMessage()
08512             ));
08513         }
08514 
08515         QList<QVariant> argumentList;
08516         argumentList << QVariant::fromValue(type) << QVariant::fromValue(text);
08517         return asyncCallWithArgumentList(QLatin1String("Send"), argumentList);
08518     }
08519 
08520 Q_SIGNALS:
08528     void LostMessage();
08529 
08563     void Received(uint ID, uint timestamp, uint sender, uint type, uint flags, const QString& text);
08564 
08591     void SendError(uint error, uint timestamp, uint type, const QString& text);
08592 
08614     void Sent(uint timestamp, uint type, const QString& text);
08615 
08616 protected:
08617     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
08618 };
08619 
08627 class TELEPATHY_QT4_EXPORT ChannelTypeTubesInterface : public Tp::AbstractInterface
08628 {
08629     Q_OBJECT
08630 
08631 public:
08638     static inline const char *staticInterfaceName()
08639     {
08640         return "org.freedesktop.Telepathy.Channel.Type.Tubes";
08641     }
08642 
08650     ChannelTypeTubesInterface(
08651         const QString& busName,
08652         const QString& objectPath,
08653         QObject* parent = 0
08654     );
08655 
08664     ChannelTypeTubesInterface(
08665         const QDBusConnection& connection,
08666         const QString& busName,
08667         const QString& objectPath,
08668         QObject* parent = 0
08669     );
08670 
08677     ChannelTypeTubesInterface(Tp::DBusProxy *proxy);
08678 
08686     explicit ChannelTypeTubesInterface(const Tp::Client::ChannelInterface& mainInterface);
08687 
08695     ChannelTypeTubesInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
08696 
08703     Tp::PendingVariantMap *requestAllProperties() const
08704     {
08705         return internalRequestAllProperties();
08706     }
08707 
08708 public Q_SLOTS:
08738     inline QDBusPendingReply<Tp::SupportedSocketMap> GetAvailableStreamTubeTypes()
08739     {
08740         if (!invalidationReason().isEmpty()) {
08741             return QDBusPendingReply<Tp::SupportedSocketMap>(QDBusMessage::createError(
08742                 invalidationReason(),
08743                 invalidationMessage()
08744             ));
08745         }
08746 
08747         return asyncCall(QLatin1String("GetAvailableStreamTubeTypes"));
08748     }
08749 
08758     inline QDBusPendingReply<Tp::UIntList> GetAvailableTubeTypes()
08759     {
08760         if (!invalidationReason().isEmpty()) {
08761             return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
08762                 invalidationReason(),
08763                 invalidationMessage()
08764             ));
08765         }
08766 
08767         return asyncCall(QLatin1String("GetAvailableTubeTypes"));
08768     }
08769 
08780     inline QDBusPendingReply<Tp::TubeInfoList> ListTubes()
08781     {
08782         if (!invalidationReason().isEmpty()) {
08783             return QDBusPendingReply<Tp::TubeInfoList>(QDBusMessage::createError(
08784                 invalidationReason(),
08785                 invalidationMessage()
08786             ));
08787         }
08788 
08789         return asyncCall(QLatin1String("ListTubes"));
08790     }
08791 
08814     inline QDBusPendingReply<uint> OfferDBusTube(const QString& service, const QVariantMap& parameters)
08815     {
08816         if (!invalidationReason().isEmpty()) {
08817             return QDBusPendingReply<uint>(QDBusMessage::createError(
08818                 invalidationReason(),
08819                 invalidationMessage()
08820             ));
08821         }
08822 
08823         QList<QVariant> argumentList;
08824         argumentList << QVariant::fromValue(service) << QVariant::fromValue(parameters);
08825         return asyncCallWithArgumentList(QLatin1String("OfferDBusTube"), argumentList);
08826     }
08827 
08878     inline QDBusPendingReply<uint> OfferStreamTube(const QString& service, const QVariantMap& parameters, uint addressType, const QDBusVariant& address, uint accessControl, const QDBusVariant& accessControlParam)
08879     {
08880         if (!invalidationReason().isEmpty()) {
08881             return QDBusPendingReply<uint>(QDBusMessage::createError(
08882                 invalidationReason(),
08883                 invalidationMessage()
08884             ));
08885         }
08886 
08887         QList<QVariant> argumentList;
08888         argumentList << QVariant::fromValue(service) << QVariant::fromValue(parameters) << QVariant::fromValue(addressType) << QVariant::fromValue(address) << QVariant::fromValue(accessControl) << QVariant::fromValue(accessControlParam);
08889         return asyncCallWithArgumentList(QLatin1String("OfferStreamTube"), argumentList);
08890     }
08891 
08909     inline QDBusPendingReply<QString> AcceptDBusTube(uint ID)
08910     {
08911         if (!invalidationReason().isEmpty()) {
08912             return QDBusPendingReply<QString>(QDBusMessage::createError(
08913                 invalidationReason(),
08914                 invalidationMessage()
08915             ));
08916         }
08917 
08918         QList<QVariant> argumentList;
08919         argumentList << QVariant::fromValue(ID);
08920         return asyncCallWithArgumentList(QLatin1String("AcceptDBusTube"), argumentList);
08921     }
08922 
08955     inline QDBusPendingReply<QDBusVariant> AcceptStreamTube(uint ID, uint addressType, uint accessControl, const QDBusVariant& accessControlParam)
08956     {
08957         if (!invalidationReason().isEmpty()) {
08958             return QDBusPendingReply<QDBusVariant>(QDBusMessage::createError(
08959                 invalidationReason(),
08960                 invalidationMessage()
08961             ));
08962         }
08963 
08964         QList<QVariant> argumentList;
08965         argumentList << QVariant::fromValue(ID) << QVariant::fromValue(addressType) << QVariant::fromValue(accessControl) << QVariant::fromValue(accessControlParam);
08966         return asyncCallWithArgumentList(QLatin1String("AcceptStreamTube"), argumentList);
08967     }
08968 
08978     inline QDBusPendingReply<> CloseTube(uint ID)
08979     {
08980         if (!invalidationReason().isEmpty()) {
08981             return QDBusPendingReply<>(QDBusMessage::createError(
08982                 invalidationReason(),
08983                 invalidationMessage()
08984             ));
08985         }
08986 
08987         QList<QVariant> argumentList;
08988         argumentList << QVariant::fromValue(ID);
08989         return asyncCallWithArgumentList(QLatin1String("CloseTube"), argumentList);
08990     }
08991 
09006     inline QDBusPendingReply<QString> GetDBusTubeAddress(uint ID)
09007     {
09008         if (!invalidationReason().isEmpty()) {
09009             return QDBusPendingReply<QString>(QDBusMessage::createError(
09010                 invalidationReason(),
09011                 invalidationMessage()
09012             ));
09013         }
09014 
09015         QList<QVariant> argumentList;
09016         argumentList << QVariant::fromValue(ID);
09017         return asyncCallWithArgumentList(QLatin1String("GetDBusTubeAddress"), argumentList);
09018     }
09019 
09035     inline QDBusPendingReply<Tp::DBusTubeMemberList> GetDBusNames(uint ID)
09036     {
09037         if (!invalidationReason().isEmpty()) {
09038             return QDBusPendingReply<Tp::DBusTubeMemberList>(QDBusMessage::createError(
09039                 invalidationReason(),
09040                 invalidationMessage()
09041             ));
09042         }
09043 
09044         QList<QVariant> argumentList;
09045         argumentList << QVariant::fromValue(ID);
09046         return asyncCallWithArgumentList(QLatin1String("GetDBusNames"), argumentList);
09047     }
09048 
09069     inline QDBusPendingReply<uint, QDBusVariant> GetStreamTubeSocketAddress(uint ID)
09070     {
09071         if (!invalidationReason().isEmpty()) {
09072             return QDBusPendingReply<uint, QDBusVariant>(QDBusMessage::createError(
09073                 invalidationReason(),
09074                 invalidationMessage()
09075             ));
09076         }
09077 
09078         QList<QVariant> argumentList;
09079         argumentList << QVariant::fromValue(ID);
09080         return asyncCallWithArgumentList(QLatin1String("GetStreamTubeSocketAddress"), argumentList);
09081     }
09082 
09083 Q_SIGNALS:
09113     void NewTube(uint ID, uint initiator, uint type, const QString& service, const QVariantMap& parameters, uint state);
09114 
09128     void TubeStateChanged(uint ID, uint state);
09129 
09140     void TubeClosed(uint ID);
09141 
09160     void DBusNamesChanged(uint ID, const Tp::DBusTubeMemberList& added, const Tp::UIntList& removed);
09161 
09176     void StreamTubeNewConnection(uint ID, uint handle);
09177 
09178 protected:
09179     virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
09180 };
09181 }
09182 }
09183 Q_DECLARE_METATYPE(Tp::Client::ChannelInterface*)
09184 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceAnonymityInterface*)
09185 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceCallStateInterface*)
09186 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceChatStateInterface*)
09187 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceConferenceInterface*)
09188 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceDTMFInterface*)
09189 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceGroupInterface*)
09190 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceHoldInterface*)
09191 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceMediaSignallingInterface*)
09192 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceMessagesInterface*)
09193 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfacePasswordInterface*)
09194 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceServicePointInterface*)
09195 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceTubeInterface*)
09196 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeContactListInterface*)
09197 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeContactSearchInterface*)
09198 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeFileTransferInterface*)
09199 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeRoomListInterface*)
09200 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeServerTLSConnectionInterface*)
09201 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeStreamTubeInterface*)
09202 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeStreamedMediaInterface*)
09203 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeTextInterface*)
09204 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeTubesInterface*)


Copyright © 2008-2010 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.4.4