00001
00002
00003 #ifndef IN_TELEPATHY_QT4_HEADER
00004 #error IN_TELEPATHY_QT4_HEADER
00005 #endif
00006
00007 #include <QtGlobal>
00008
00009 #include <QByteArray>
00010 #include <QString>
00011 #include <QStringList>
00012 #include <QVariantList>
00013 #include <QVariantMap>
00014
00015 #include <QDBusArgument>
00016 #include <QDBusMetaType>
00017 #include <QDBusObjectPath>
00018 #include <QDBusSignature>
00019 #include <QDBusVariant>
00020
00021 #include <TelepathyQt4/Global>
00022
00051 namespace Tp
00052 {
00061 struct TELEPATHY_QT4_EXPORT ByteArrayList : public QList<QByteArray>
00062 {
00063 inline ByteArrayList() : QList<QByteArray>() {}
00064 inline ByteArrayList(const QList<QByteArray>& a) : QList<QByteArray>(a) {}
00065
00066 inline ByteArrayList& operator=(const QList<QByteArray>& a)
00067 {
00068 *(static_cast<QList<QByteArray>*>(this)) = a;
00069 return *this;
00070 }
00071 };
00072
00081 struct TELEPATHY_QT4_EXPORT ObjectPathList : public QList<QDBusObjectPath>
00082 {
00083 inline ObjectPathList() : QList<QDBusObjectPath>() {}
00084 inline ObjectPathList(const QList<QDBusObjectPath>& a) : QList<QDBusObjectPath>(a) {}
00085
00086 inline ObjectPathList& operator=(const QList<QDBusObjectPath>& a)
00087 {
00088 *(static_cast<QList<QDBusObjectPath>*>(this)) = a;
00089 return *this;
00090 }
00091 };
00092
00101 struct TELEPATHY_QT4_EXPORT UIntList : public QList<uint>
00102 {
00103 inline UIntList() : QList<uint>() {}
00104 inline UIntList(const QList<uint>& a) : QList<uint>(a) {}
00105
00106 inline UIntList& operator=(const QList<uint>& a)
00107 {
00108 *(static_cast<QList<uint>*>(this)) = a;
00109 return *this;
00110 }
00111 };
00112
00130 struct TELEPATHY_QT4_EXPORT AccessControl
00131 {
00135 uint type;
00140 QDBusVariant detail;
00141 };
00142
00143 TELEPATHY_QT4_EXPORT bool operator==(const AccessControl& v1, const AccessControl& v2);
00144 inline bool operator!=(const AccessControl& v1, const AccessControl& v2)
00145 {
00146 return !operator==(v1, v2);
00147 }
00148 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AccessControl& val);
00149 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AccessControl& val);
00150
00161 struct TELEPATHY_QT4_EXPORT AliasMap : public QMap<uint, QString>
00162 {
00163 inline AliasMap() : QMap<uint, QString>() {}
00164 inline AliasMap(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
00165
00166 inline AliasMap& operator=(const QMap<uint, QString>& a)
00167 {
00168 *(static_cast<QMap<uint, QString>*>(this)) = a;
00169 return *this;
00170 }
00171 };
00172
00182 struct TELEPATHY_QT4_EXPORT AliasPair
00183 {
00184 uint handle;
00185 QString alias;
00186 };
00187
00188 TELEPATHY_QT4_EXPORT bool operator==(const AliasPair& v1, const AliasPair& v2);
00189 inline bool operator!=(const AliasPair& v1, const AliasPair& v2)
00190 {
00191 return !operator==(v1, v2);
00192 }
00193 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AliasPair& val);
00194 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AliasPair& val);
00195
00202 typedef QList<AliasPair> AliasPairList;
00203
00215 struct TELEPATHY_QT4_EXPORT Avatar
00216 {
00217 QByteArray avatarData;
00218 QString MIMEType;
00219 };
00220
00221 TELEPATHY_QT4_EXPORT bool operator==(const Avatar& v1, const Avatar& v2);
00222 inline bool operator!=(const Avatar& v1, const Avatar& v2)
00223 {
00224 return !operator==(v1, v2);
00225 }
00226 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Avatar& val);
00227 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Avatar& val);
00228
00240 struct TELEPATHY_QT4_EXPORT AvatarTokenMap : public QMap<uint, QString>
00241 {
00242 inline AvatarTokenMap() : QMap<uint, QString>() {}
00243 inline AvatarTokenMap(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
00244
00245 inline AvatarTokenMap& operator=(const QMap<uint, QString>& a)
00246 {
00247 *(static_cast<QMap<uint, QString>*>(this)) = a;
00248 return *this;
00249 }
00250 };
00251
00264 struct TELEPATHY_QT4_EXPORT CapabilityChange
00265 {
00266 uint handle;
00267 QString channelType;
00268 uint oldGenericFlags;
00269 uint newGenericFlags;
00270 uint oldTypeSpecificFlags;
00271 uint newTypeSpecificFlags;
00272 };
00273
00274 TELEPATHY_QT4_EXPORT bool operator==(const CapabilityChange& v1, const CapabilityChange& v2);
00275 inline bool operator!=(const CapabilityChange& v1, const CapabilityChange& v2)
00276 {
00277 return !operator==(v1, v2);
00278 }
00279 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityChange& val);
00280 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityChange& val);
00281
00288 typedef QList<CapabilityChange> CapabilityChangeList;
00289
00300 struct TELEPATHY_QT4_EXPORT CapabilityPair
00301 {
00302 QString channelType;
00303 uint typeSpecificFlags;
00304 };
00305
00306 TELEPATHY_QT4_EXPORT bool operator==(const CapabilityPair& v1, const CapabilityPair& v2);
00307 inline bool operator!=(const CapabilityPair& v1, const CapabilityPair& v2)
00308 {
00309 return !operator==(v1, v2);
00310 }
00311 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityPair& val);
00312 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityPair& val);
00313
00320 typedef QList<CapabilityPair> CapabilityPairList;
00321
00332 struct TELEPATHY_QT4_EXPORT ChannelCallStateMap : public QMap<uint, uint>
00333 {
00334 inline ChannelCallStateMap() : QMap<uint, uint>() {}
00335 inline ChannelCallStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
00336
00337 inline ChannelCallStateMap& operator=(const QMap<uint, uint>& a)
00338 {
00339 *(static_cast<QMap<uint, uint>*>(this)) = a;
00340 return *this;
00341 }
00342 };
00343
00367 struct TELEPATHY_QT4_EXPORT ChannelClass : public QMap<QString, QDBusVariant>
00368 {
00369 inline ChannelClass() : QMap<QString, QDBusVariant>() {}
00370 inline ChannelClass(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
00371
00372 inline ChannelClass& operator=(const QMap<QString, QDBusVariant>& a)
00373 {
00374 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
00375 return *this;
00376 }
00377 };
00378
00385 typedef QList<ChannelClass> ChannelClassList;
00386
00397 struct TELEPATHY_QT4_EXPORT ChannelDetails
00398 {
00402 QDBusObjectPath channel;
00448 QVariantMap properties;
00449 };
00450
00451 TELEPATHY_QT4_EXPORT bool operator==(const ChannelDetails& v1, const ChannelDetails& v2);
00452 inline bool operator!=(const ChannelDetails& v1, const ChannelDetails& v2)
00453 {
00454 return !operator==(v1, v2);
00455 }
00456 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelDetails& val);
00457 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelDetails& val);
00458
00465 typedef QList<ChannelDetails> ChannelDetailsList;
00466
00477 struct TELEPATHY_QT4_EXPORT ChannelInfo
00478 {
00483 QDBusObjectPath channel;
00487 QString channelType;
00492 uint handleType;
00497 uint handle;
00498 };
00499
00500 TELEPATHY_QT4_EXPORT bool operator==(const ChannelInfo& v1, const ChannelInfo& v2);
00501 inline bool operator!=(const ChannelInfo& v1, const ChannelInfo& v2)
00502 {
00503 return !operator==(v1, v2);
00504 }
00505 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelInfo& val);
00506 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelInfo& val);
00507
00514 typedef QList<ChannelInfo> ChannelInfoList;
00515
00530 struct TELEPATHY_QT4_EXPORT ChannelOriginatorMap : public QMap<uint, QDBusObjectPath>
00531 {
00532 inline ChannelOriginatorMap() : QMap<uint, QDBusObjectPath>() {}
00533 inline ChannelOriginatorMap(const QMap<uint, QDBusObjectPath>& a) : QMap<uint, QDBusObjectPath>(a) {}
00534
00535 inline ChannelOriginatorMap& operator=(const QMap<uint, QDBusObjectPath>& a)
00536 {
00537 *(static_cast<QMap<uint, QDBusObjectPath>*>(this)) = a;
00538 return *this;
00539 }
00540 };
00541
00552 struct TELEPATHY_QT4_EXPORT ChatStateMap : public QMap<uint, uint>
00553 {
00554 inline ChatStateMap() : QMap<uint, uint>() {}
00555 inline ChatStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
00556
00557 inline ChatStateMap& operator=(const QMap<uint, uint>& a)
00558 {
00559 *(static_cast<QMap<uint, uint>*>(this)) = a;
00560 return *this;
00561 }
00562 };
00563
00575 struct TELEPATHY_QT4_EXPORT ContactAttributesMap : public QMap<uint, QVariantMap>
00576 {
00577 inline ContactAttributesMap() : QMap<uint, QVariantMap>() {}
00578 inline ContactAttributesMap(const QMap<uint, QVariantMap>& a) : QMap<uint, QVariantMap>(a) {}
00579
00580 inline ContactAttributesMap& operator=(const QMap<uint, QVariantMap>& a)
00581 {
00582 *(static_cast<QMap<uint, QVariantMap>*>(this)) = a;
00583 return *this;
00584 }
00585 };
00586
00598 struct TELEPATHY_QT4_EXPORT ContactCapability
00599 {
00600 uint handle;
00601 QString channelType;
00602 uint genericFlags;
00603 uint typeSpecificFlags;
00604 };
00605
00606 TELEPATHY_QT4_EXPORT bool operator==(const ContactCapability& v1, const ContactCapability& v2);
00607 inline bool operator!=(const ContactCapability& v1, const ContactCapability& v2)
00608 {
00609 return !operator==(v1, v2);
00610 }
00611 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactCapability& val);
00612 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactCapability& val);
00613
00620 typedef QList<ContactCapability> ContactCapabilityList;
00621
00632 struct TELEPATHY_QT4_EXPORT ContactClientTypes : public QMap<uint, QStringList>
00633 {
00634 inline ContactClientTypes() : QMap<uint, QStringList>() {}
00635 inline ContactClientTypes(const QMap<uint, QStringList>& a) : QMap<uint, QStringList>(a) {}
00636
00637 inline ContactClientTypes& operator=(const QMap<uint, QStringList>& a)
00638 {
00639 *(static_cast<QMap<uint, QStringList>*>(this)) = a;
00640 return *this;
00641 }
00642 };
00643
00731 struct TELEPATHY_QT4_EXPORT ContactInfoField
00732 {
00738 QString fieldName;
00765 QStringList parameters;
00796 QStringList fieldValue;
00797 };
00798
00799 TELEPATHY_QT4_EXPORT bool operator==(const ContactInfoField& v1, const ContactInfoField& v2);
00800 inline bool operator!=(const ContactInfoField& v1, const ContactInfoField& v2)
00801 {
00802 return !operator==(v1, v2);
00803 }
00804 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactInfoField& val);
00805 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactInfoField& val);
00806
00813 typedef QList<ContactInfoField> ContactInfoFieldList;
00814
00825 struct TELEPATHY_QT4_EXPORT ContactLocations : public QMap<uint, QVariantMap>
00826 {
00827 inline ContactLocations() : QMap<uint, QVariantMap>() {}
00828 inline ContactLocations(const QMap<uint, QVariantMap>& a) : QMap<uint, QVariantMap>(a) {}
00829
00830 inline ContactLocations& operator=(const QMap<uint, QVariantMap>& a)
00831 {
00832 *(static_cast<QMap<uint, QVariantMap>*>(this)) = a;
00833 return *this;
00834 }
00835 };
00836
00847 struct TELEPATHY_QT4_EXPORT ContactSearchMap : public QMap<QString, QString>
00848 {
00849 inline ContactSearchMap() : QMap<QString, QString>() {}
00850 inline ContactSearchMap(const QMap<QString, QString>& a) : QMap<QString, QString>(a) {}
00851
00852 inline ContactSearchMap& operator=(const QMap<QString, QString>& a)
00853 {
00854 *(static_cast<QMap<QString, QString>*>(this)) = a;
00855 return *this;
00856 }
00857 };
00858
00868 struct TELEPATHY_QT4_EXPORT ContactSubscriptions
00869 {
00873 uint subscribe;
00877 uint publish;
00882 QString publishRequest;
00883 };
00884
00885 TELEPATHY_QT4_EXPORT bool operator==(const ContactSubscriptions& v1, const ContactSubscriptions& v2);
00886 inline bool operator!=(const ContactSubscriptions& v1, const ContactSubscriptions& v2)
00887 {
00888 return !operator==(v1, v2);
00889 }
00890 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactSubscriptions& val);
00891 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactSubscriptions& val);
00892
00915 struct TELEPATHY_QT4_EXPORT CurrencyAmount
00916 {
00926 int amount;
00939 uint scale;
00946 QString currency;
00947 };
00948
00949 TELEPATHY_QT4_EXPORT bool operator==(const CurrencyAmount& v1, const CurrencyAmount& v2);
00950 inline bool operator!=(const CurrencyAmount& v1, const CurrencyAmount& v2)
00951 {
00952 return !operator==(v1, v2);
00953 }
00954 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CurrencyAmount& val);
00955 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CurrencyAmount& val);
00956
00967 struct TELEPATHY_QT4_EXPORT DBusTubeMember
00968 {
00972 uint handle;
00976 QString uniqueName;
00977 };
00978
00979 TELEPATHY_QT4_EXPORT bool operator==(const DBusTubeMember& v1, const DBusTubeMember& v2);
00980 inline bool operator!=(const DBusTubeMember& v1, const DBusTubeMember& v2)
00981 {
00982 return !operator==(v1, v2);
00983 }
00984 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DBusTubeMember& val);
00985 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DBusTubeMember& val);
00986
00993 typedef QList<DBusTubeMember> DBusTubeMemberList;
00994
01006 struct TELEPATHY_QT4_EXPORT DBusTubeParticipants : public QMap<uint, QString>
01007 {
01008 inline DBusTubeParticipants() : QMap<uint, QString>() {}
01009 inline DBusTubeParticipants(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
01010
01011 inline DBusTubeParticipants& operator=(const QMap<uint, QString>& a)
01012 {
01013 *(static_cast<QMap<uint, QString>*>(this)) = a;
01014 return *this;
01015 }
01016 };
01017
01028 struct TELEPATHY_QT4_EXPORT FieldSpec
01029 {
01033 QString name;
01039 QStringList parameters;
01043 uint flags;
01048 uint max;
01049 };
01050
01051 TELEPATHY_QT4_EXPORT bool operator==(const FieldSpec& v1, const FieldSpec& v2);
01052 inline bool operator!=(const FieldSpec& v1, const FieldSpec& v2)
01053 {
01054 return !operator==(v1, v2);
01055 }
01056 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const FieldSpec& val);
01057 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, FieldSpec& val);
01058
01065 typedef QList<FieldSpec> FieldSpecs;
01066
01111 struct TELEPATHY_QT4_EXPORT HTTPPostData
01112 {
01116 QString key;
01120 QString value;
01121 };
01122
01123 TELEPATHY_QT4_EXPORT bool operator==(const HTTPPostData& v1, const HTTPPostData& v2);
01124 inline bool operator!=(const HTTPPostData& v1, const HTTPPostData& v2)
01125 {
01126 return !operator==(v1, v2);
01127 }
01128 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HTTPPostData& val);
01129 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HTTPPostData& val);
01130
01137 typedef QList<HTTPPostData> HTTPPostDataList;
01138
01149 struct TELEPATHY_QT4_EXPORT HandleIdentifierMap : public QMap<uint, QString>
01150 {
01151 inline HandleIdentifierMap() : QMap<uint, QString>() {}
01152 inline HandleIdentifierMap(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
01153
01154 inline HandleIdentifierMap& operator=(const QMap<uint, QString>& a)
01155 {
01156 *(static_cast<QMap<uint, QString>*>(this)) = a;
01157 return *this;
01158 }
01159 };
01160
01171 struct TELEPATHY_QT4_EXPORT HandleOwnerMap : public QMap<uint, uint>
01172 {
01173 inline HandleOwnerMap() : QMap<uint, uint>() {}
01174 inline HandleOwnerMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
01175
01176 inline HandleOwnerMap& operator=(const QMap<uint, uint>& a)
01177 {
01178 *(static_cast<QMap<uint, uint>*>(this)) = a;
01179 return *this;
01180 }
01181 };
01182
01193 struct TELEPATHY_QT4_EXPORT LocalPendingInfo
01194 {
01198 uint toBeAdded;
01202 uint actor;
01206 uint reason;
01211 QString message;
01212 };
01213
01214 TELEPATHY_QT4_EXPORT bool operator==(const LocalPendingInfo& v1, const LocalPendingInfo& v2);
01215 inline bool operator!=(const LocalPendingInfo& v1, const LocalPendingInfo& v2)
01216 {
01217 return !operator==(v1, v2);
01218 }
01219 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LocalPendingInfo& val);
01220 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LocalPendingInfo& val);
01221
01228 typedef QList<LocalPendingInfo> LocalPendingInfoList;
01229
01240 struct TELEPATHY_QT4_EXPORT Location : public QMap<QString, QDBusVariant>
01241 {
01242 inline Location() : QMap<QString, QDBusVariant>() {}
01243 inline Location(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
01244
01245 inline Location& operator=(const QMap<QString, QDBusVariant>& a)
01246 {
01247 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
01248 return *this;
01249 }
01250 };
01251
01265 struct TELEPATHY_QT4_EXPORT Mail : public QMap<QString, QDBusVariant>
01266 {
01267 inline Mail() : QMap<QString, QDBusVariant>() {}
01268 inline Mail(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
01269
01270 inline Mail& operator=(const QMap<QString, QDBusVariant>& a)
01271 {
01272 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
01273 return *this;
01274 }
01275 };
01276
01283 typedef QList<Mail> MailList;
01284
01305 struct TELEPATHY_QT4_EXPORT MailAddress
01306 {
01310 QString name;
01314 QString address;
01315 };
01316
01317 TELEPATHY_QT4_EXPORT bool operator==(const MailAddress& v1, const MailAddress& v2);
01318 inline bool operator!=(const MailAddress& v1, const MailAddress& v2)
01319 {
01320 return !operator==(v1, v2);
01321 }
01322 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailAddress& val);
01323 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailAddress& val);
01324
01331 typedef QList<MailAddress> MailAddressList;
01332
01342 struct TELEPATHY_QT4_EXPORT MediaSessionHandlerInfo
01343 {
01348 QDBusObjectPath sessionHandler;
01352 QString mediaSessionType;
01353 };
01354
01355 TELEPATHY_QT4_EXPORT bool operator==(const MediaSessionHandlerInfo& v1, const MediaSessionHandlerInfo& v2);
01356 inline bool operator!=(const MediaSessionHandlerInfo& v1, const MediaSessionHandlerInfo& v2)
01357 {
01358 return !operator==(v1, v2);
01359 }
01360 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaSessionHandlerInfo& val);
01361 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaSessionHandlerInfo& val);
01362
01369 typedef QList<MediaSessionHandlerInfo> MediaSessionHandlerInfoList;
01370
01378 struct TELEPATHY_QT4_EXPORT MediaStreamHandlerTransport
01379 {
01380 uint componentNumber;
01381 QString IPAddress;
01382 uint port;
01383 uint protocol;
01384 QString subtype;
01385 QString profile;
01386 double preferenceValue;
01387 uint transportType;
01388 QString username;
01389 QString password;
01390 };
01391
01392 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamHandlerTransport& v1, const MediaStreamHandlerTransport& v2);
01393 inline bool operator!=(const MediaStreamHandlerTransport& v1, const MediaStreamHandlerTransport& v2)
01394 {
01395 return !operator==(v1, v2);
01396 }
01397 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerTransport& val);
01398 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerTransport& val);
01399
01406 typedef QList<MediaStreamHandlerTransport> MediaStreamHandlerTransportList;
01407
01415 struct TELEPATHY_QT4_EXPORT MediaStreamInfo
01416 {
01417 uint identifier;
01418 uint contact;
01419 uint type;
01420 uint state;
01421 uint direction;
01422 uint pendingSendFlags;
01423 };
01424
01425 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamInfo& v1, const MediaStreamInfo& v2);
01426 inline bool operator!=(const MediaStreamInfo& v1, const MediaStreamInfo& v2)
01427 {
01428 return !operator==(v1, v2);
01429 }
01430 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamInfo& val);
01431 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamInfo& val);
01432
01439 typedef QList<MediaStreamInfo> MediaStreamInfoList;
01440
01725 struct TELEPATHY_QT4_EXPORT MessagePart : public QMap<QString, QDBusVariant>
01726 {
01727 inline MessagePart() : QMap<QString, QDBusVariant>() {}
01728 inline MessagePart(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
01729
01730 inline MessagePart& operator=(const QMap<QString, QDBusVariant>& a)
01731 {
01732 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
01733 return *this;
01734 }
01735 };
01736
01743 typedef QList<MessagePart> MessagePartList;
01744
01751 typedef QList<MessagePartList> MessagePartListList;
01752
01764 struct TELEPATHY_QT4_EXPORT MessagePartContentMap : public QMap<uint, QDBusVariant>
01765 {
01766 inline MessagePartContentMap() : QMap<uint, QDBusVariant>() {}
01767 inline MessagePartContentMap(const QMap<uint, QDBusVariant>& a) : QMap<uint, QDBusVariant>(a) {}
01768
01769 inline MessagePartContentMap& operator=(const QMap<uint, QDBusVariant>& a)
01770 {
01771 *(static_cast<QMap<uint, QDBusVariant>*>(this)) = a;
01772 return *this;
01773 }
01774 };
01775
01788 struct TELEPATHY_QT4_EXPORT MultipleStatusMap : public QMap<QString, QVariantMap>
01789 {
01790 inline MultipleStatusMap() : QMap<QString, QVariantMap>() {}
01791 inline MultipleStatusMap(const QMap<QString, QVariantMap>& a) : QMap<QString, QVariantMap>(a) {}
01792
01793 inline MultipleStatusMap& operator=(const QMap<QString, QVariantMap>& a)
01794 {
01795 *(static_cast<QMap<QString, QVariantMap>*>(this)) = a;
01796 return *this;
01797 }
01798 };
01799
01810 struct TELEPATHY_QT4_EXPORT ObjectImmutablePropertiesMap : public QMap<QDBusObjectPath, QVariantMap>
01811 {
01812 inline ObjectImmutablePropertiesMap() : QMap<QDBusObjectPath, QVariantMap>() {}
01813 inline ObjectImmutablePropertiesMap(const QMap<QDBusObjectPath, QVariantMap>& a) : QMap<QDBusObjectPath, QVariantMap>(a) {}
01814
01815 inline ObjectImmutablePropertiesMap& operator=(const QMap<QDBusObjectPath, QVariantMap>& a)
01816 {
01817 *(static_cast<QMap<QDBusObjectPath, QVariantMap>*>(this)) = a;
01818 return *this;
01819 }
01820 };
01821
01828 typedef QList<ObjectImmutablePropertiesMap> ObjectImmutablePropertiesMapList;
01829
01840 struct TELEPATHY_QT4_EXPORT ParamSpec
01841 {
01845 QString name;
01849 uint flags;
01853 QString signature;
01859 QDBusVariant defaultValue;
01860 };
01861
01862 TELEPATHY_QT4_EXPORT bool operator==(const ParamSpec& v1, const ParamSpec& v2);
01863 inline bool operator!=(const ParamSpec& v1, const ParamSpec& v2)
01864 {
01865 return !operator==(v1, v2);
01866 }
01867 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ParamSpec& val);
01868 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ParamSpec& val);
01869
01876 typedef QList<ParamSpec> ParamSpecList;
01877
01890 struct TELEPATHY_QT4_EXPORT PendingTextMessage
01891 {
01892 uint identifier;
01893 uint unixTimestamp;
01894 uint sender;
01895 uint messageType;
01896 uint flags;
01897 QString text;
01898 };
01899
01900 TELEPATHY_QT4_EXPORT bool operator==(const PendingTextMessage& v1, const PendingTextMessage& v2);
01901 inline bool operator!=(const PendingTextMessage& v1, const PendingTextMessage& v2)
01902 {
01903 return !operator==(v1, v2);
01904 }
01905 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PendingTextMessage& val);
01906 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PendingTextMessage& val);
01907
01914 typedef QList<PendingTextMessage> PendingTextMessageList;
01915
01927 struct TELEPATHY_QT4_EXPORT PropertyFlagsChange
01928 {
01929 uint propertyID;
01930 uint newFlags;
01931 };
01932
01933 TELEPATHY_QT4_EXPORT bool operator==(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2);
01934 inline bool operator!=(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2)
01935 {
01936 return !operator==(v1, v2);
01937 }
01938 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyFlagsChange& val);
01939 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyFlagsChange& val);
01940
01947 typedef QList<PropertyFlagsChange> PropertyFlagsChangeList;
01948
01959 struct TELEPATHY_QT4_EXPORT PropertySpec
01960 {
01961 uint propertyID;
01962 QString name;
01963 QString signature;
01964 uint flags;
01965 };
01966
01967 TELEPATHY_QT4_EXPORT bool operator==(const PropertySpec& v1, const PropertySpec& v2);
01968 inline bool operator!=(const PropertySpec& v1, const PropertySpec& v2)
01969 {
01970 return !operator==(v1, v2);
01971 }
01972 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertySpec& val);
01973 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertySpec& val);
01974
01981 typedef QList<PropertySpec> PropertySpecList;
01982
01994 struct TELEPATHY_QT4_EXPORT PropertyValue
01995 {
01996 uint identifier;
01997 QDBusVariant value;
01998 };
01999
02000 TELEPATHY_QT4_EXPORT bool operator==(const PropertyValue& v1, const PropertyValue& v2);
02001 inline bool operator!=(const PropertyValue& v1, const PropertyValue& v2)
02002 {
02003 return !operator==(v1, v2);
02004 }
02005 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyValue& val);
02006 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyValue& val);
02007
02014 typedef QList<PropertyValue> PropertyValueList;
02015
02030 struct TELEPATHY_QT4_EXPORT ProtocolPropertiesMap : public QMap<QString, QVariantMap>
02031 {
02032 inline ProtocolPropertiesMap() : QMap<QString, QVariantMap>() {}
02033 inline ProtocolPropertiesMap(const QMap<QString, QVariantMap>& a) : QMap<QString, QVariantMap>(a) {}
02034
02035 inline ProtocolPropertiesMap& operator=(const QMap<QString, QVariantMap>& a)
02036 {
02037 *(static_cast<QMap<QString, QVariantMap>*>(this)) = a;
02038 return *this;
02039 }
02040 };
02041
02053 struct TELEPATHY_QT4_EXPORT QualifiedPropertyValueMap : public QMap<QString, QDBusVariant>
02054 {
02055 inline QualifiedPropertyValueMap() : QMap<QString, QDBusVariant>() {}
02056 inline QualifiedPropertyValueMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
02057
02058 inline QualifiedPropertyValueMap& operator=(const QMap<QString, QDBusVariant>& a)
02059 {
02060 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
02061 return *this;
02062 }
02063 };
02064
02071 typedef QList<QualifiedPropertyValueMap> QualifiedPropertyValueMapList;
02072
02110 struct TELEPATHY_QT4_EXPORT RequestableChannelClass
02111 {
02138 QVariantMap fixedProperties;
02169 QStringList allowedProperties;
02170 };
02171
02172 TELEPATHY_QT4_EXPORT bool operator==(const RequestableChannelClass& v1, const RequestableChannelClass& v2);
02173 inline bool operator!=(const RequestableChannelClass& v1, const RequestableChannelClass& v2)
02174 {
02175 return !operator==(v1, v2);
02176 }
02177 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RequestableChannelClass& val);
02178 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RequestableChannelClass& val);
02179
02186 typedef QList<RequestableChannelClass> RequestableChannelClassList;
02187
02206 struct TELEPATHY_QT4_EXPORT RichPresenceAccessControl
02207 {
02211 uint type;
02216 QDBusVariant detail;
02217 };
02218
02219 TELEPATHY_QT4_EXPORT bool operator==(const RichPresenceAccessControl& v1, const RichPresenceAccessControl& v2);
02220 inline bool operator!=(const RichPresenceAccessControl& v1, const RichPresenceAccessControl& v2)
02221 {
02222 return !operator==(v1, v2);
02223 }
02224 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RichPresenceAccessControl& val);
02225 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RichPresenceAccessControl& val);
02226
02234 struct TELEPATHY_QT4_EXPORT RoomInfo
02235 {
02236 uint handle;
02237 QString channelType;
02238 QVariantMap info;
02239 };
02240
02241 TELEPATHY_QT4_EXPORT bool operator==(const RoomInfo& v1, const RoomInfo& v2);
02242 inline bool operator!=(const RoomInfo& v1, const RoomInfo& v2)
02243 {
02244 return !operator==(v1, v2);
02245 }
02246 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RoomInfo& val);
02247 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RoomInfo& val);
02248
02255 typedef QList<RoomInfo> RoomInfoList;
02256
02266 struct TELEPATHY_QT4_EXPORT ServicePoint
02267 {
02271 uint servicePointType;
02278 QString service;
02279 };
02280
02281 TELEPATHY_QT4_EXPORT bool operator==(const ServicePoint& v1, const ServicePoint& v2);
02282 inline bool operator!=(const ServicePoint& v1, const ServicePoint& v2)
02283 {
02284 return !operator==(v1, v2);
02285 }
02286 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePoint& val);
02287 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePoint& val);
02288
02298 struct TELEPATHY_QT4_EXPORT SimplePresence
02299 {
02303 uint type;
02308 QString status;
02332 QString statusMessage;
02333 };
02334
02335 TELEPATHY_QT4_EXPORT bool operator==(const SimplePresence& v1, const SimplePresence& v2);
02336 inline bool operator!=(const SimplePresence& v1, const SimplePresence& v2)
02337 {
02338 return !operator==(v1, v2);
02339 }
02340 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimplePresence& val);
02341 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimplePresence& val);
02342
02352 struct TELEPATHY_QT4_EXPORT SimpleStatusSpec
02353 {
02361 uint type;
02365 bool maySetOnSelf;
02372 bool canHaveMessage;
02373 };
02374
02375 TELEPATHY_QT4_EXPORT bool operator==(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2);
02376 inline bool operator!=(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2)
02377 {
02378 return !operator==(v1, v2);
02379 }
02380 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimpleStatusSpec& val);
02381 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimpleStatusSpec& val);
02382
02393 struct TELEPATHY_QT4_EXPORT SingleContactAttributesMap : public QMap<QString, QDBusVariant>
02394 {
02395 inline SingleContactAttributesMap() : QMap<QString, QDBusVariant>() {}
02396 inline SingleContactAttributesMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
02397
02398 inline SingleContactAttributesMap& operator=(const QMap<QString, QDBusVariant>& a)
02399 {
02400 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
02401 return *this;
02402 }
02403 };
02404
02414 struct TELEPATHY_QT4_EXPORT SocketAddressIP
02415 {
02420 QString address;
02424 ushort port;
02425 };
02426
02427 TELEPATHY_QT4_EXPORT bool operator==(const SocketAddressIP& v1, const SocketAddressIP& v2);
02428 inline bool operator!=(const SocketAddressIP& v1, const SocketAddressIP& v2)
02429 {
02430 return !operator==(v1, v2);
02431 }
02432 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIP& val);
02433 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIP& val);
02434
02441 typedef QList<SocketAddressIP> SocketAddressIPList;
02442
02452 struct TELEPATHY_QT4_EXPORT SocketAddressIPv4
02453 {
02458 QString address;
02462 ushort port;
02463 };
02464
02465 TELEPATHY_QT4_EXPORT bool operator==(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2);
02466 inline bool operator!=(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2)
02467 {
02468 return !operator==(v1, v2);
02469 }
02470 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv4& val);
02471 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv4& val);
02472
02482 struct TELEPATHY_QT4_EXPORT SocketAddressIPv6
02483 {
02488 QString address;
02492 ushort port;
02493 };
02494
02495 TELEPATHY_QT4_EXPORT bool operator==(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2);
02496 inline bool operator!=(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2)
02497 {
02498 return !operator==(v1, v2);
02499 }
02500 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv6& val);
02501 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv6& val);
02502
02512 struct TELEPATHY_QT4_EXPORT SocketNetmaskIPv4
02513 {
02518 QString address;
02523 uchar prefixLength;
02524 };
02525
02526 TELEPATHY_QT4_EXPORT bool operator==(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2);
02527 inline bool operator!=(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2)
02528 {
02529 return !operator==(v1, v2);
02530 }
02531 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv4& val);
02532 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv4& val);
02533
02543 struct TELEPATHY_QT4_EXPORT SocketNetmaskIPv6
02544 {
02549 QString address;
02554 uchar prefixLength;
02555 };
02556
02557 TELEPATHY_QT4_EXPORT bool operator==(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2);
02558 inline bool operator!=(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2)
02559 {
02560 return !operator==(v1, v2);
02561 }
02562 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv6& val);
02563 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv6& val);
02564
02575 struct TELEPATHY_QT4_EXPORT StringStringMap : public QMap<QString, QString>
02576 {
02577 inline StringStringMap() : QMap<QString, QString>() {}
02578 inline StringStringMap(const QMap<QString, QString>& a) : QMap<QString, QString>(a) {}
02579
02580 inline StringStringMap& operator=(const QMap<QString, QString>& a)
02581 {
02582 *(static_cast<QMap<QString, QString>*>(this)) = a;
02583 return *this;
02584 }
02585 };
02586
02593 typedef QList<StringStringMap> StringStringMapList;
02594
02605 struct TELEPATHY_QT4_EXPORT StringVariantMap : public QMap<QString, QDBusVariant>
02606 {
02607 inline StringVariantMap() : QMap<QString, QDBusVariant>() {}
02608 inline StringVariantMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
02609
02610 inline StringVariantMap& operator=(const QMap<QString, QDBusVariant>& a)
02611 {
02612 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
02613 return *this;
02614 }
02615 };
02616
02623 typedef QList<StringVariantMap> StringVariantMapList;
02624
02636 struct TELEPATHY_QT4_EXPORT SupportedSocketMap : public QMap<uint, UIntList>
02637 {
02638 inline SupportedSocketMap() : QMap<uint, UIntList>() {}
02639 inline SupportedSocketMap(const QMap<uint, UIntList>& a) : QMap<uint, UIntList>(a) {}
02640
02641 inline SupportedSocketMap& operator=(const QMap<uint, UIntList>& a)
02642 {
02643 *(static_cast<QMap<uint, UIntList>*>(this)) = a;
02644 return *this;
02645 }
02646 };
02647
02663 struct TELEPATHY_QT4_EXPORT TLSCertificateRejection
02664 {
02677 uint reason;
02685 QString error;
02722 QVariantMap details;
02723 };
02724
02725 TELEPATHY_QT4_EXPORT bool operator==(const TLSCertificateRejection& v1, const TLSCertificateRejection& v2);
02726 inline bool operator!=(const TLSCertificateRejection& v1, const TLSCertificateRejection& v2)
02727 {
02728 return !operator==(v1, v2);
02729 }
02730 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TLSCertificateRejection& val);
02731 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TLSCertificateRejection& val);
02732
02739 typedef QList<TLSCertificateRejection> TLSCertificateRejectionList;
02740
02752 struct TELEPATHY_QT4_EXPORT TubeInfo
02753 {
02754 uint identifier;
02755 uint initiator;
02756 uint type;
02757 QString service;
02758 QVariantMap parameters;
02759 uint state;
02760 };
02761
02762 TELEPATHY_QT4_EXPORT bool operator==(const TubeInfo& v1, const TubeInfo& v2);
02763 inline bool operator!=(const TubeInfo& v1, const TubeInfo& v2)
02764 {
02765 return !operator==(v1, v2);
02766 }
02767 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TubeInfo& val);
02768 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TubeInfo& val);
02769
02776 typedef QList<TubeInfo> TubeInfoList;
02777
02788 struct TELEPATHY_QT4_EXPORT ContactCapabilitiesMap : public QMap<uint, RequestableChannelClassList>
02789 {
02790 inline ContactCapabilitiesMap() : QMap<uint, RequestableChannelClassList>() {}
02791 inline ContactCapabilitiesMap(const QMap<uint, RequestableChannelClassList>& a) : QMap<uint, RequestableChannelClassList>(a) {}
02792
02793 inline ContactCapabilitiesMap& operator=(const QMap<uint, RequestableChannelClassList>& a)
02794 {
02795 *(static_cast<QMap<uint, RequestableChannelClassList>*>(this)) = a;
02796 return *this;
02797 }
02798 };
02799
02806 typedef QList<ContactCapabilitiesMap> ContactCapabilitiesMapList;
02807
02819 struct TELEPATHY_QT4_EXPORT ContactInfoMap : public QMap<uint, ContactInfoFieldList>
02820 {
02821 inline ContactInfoMap() : QMap<uint, ContactInfoFieldList>() {}
02822 inline ContactInfoMap(const QMap<uint, ContactInfoFieldList>& a) : QMap<uint, ContactInfoFieldList>(a) {}
02823
02824 inline ContactInfoMap& operator=(const QMap<uint, ContactInfoFieldList>& a)
02825 {
02826 *(static_cast<QMap<uint, ContactInfoFieldList>*>(this)) = a;
02827 return *this;
02828 }
02829 };
02830
02842 struct TELEPATHY_QT4_EXPORT ContactSearchResultMap : public QMap<QString, ContactInfoFieldList>
02843 {
02844 inline ContactSearchResultMap() : QMap<QString, ContactInfoFieldList>() {}
02845 inline ContactSearchResultMap(const QMap<QString, ContactInfoFieldList>& a) : QMap<QString, ContactInfoFieldList>(a) {}
02846
02847 inline ContactSearchResultMap& operator=(const QMap<QString, ContactInfoFieldList>& a)
02848 {
02849 *(static_cast<QMap<QString, ContactInfoFieldList>*>(this)) = a;
02850 return *this;
02851 }
02852 };
02853
02865 struct TELEPATHY_QT4_EXPORT ContactSubscriptionMap : public QMap<uint, ContactSubscriptions>
02866 {
02867 inline ContactSubscriptionMap() : QMap<uint, ContactSubscriptions>() {}
02868 inline ContactSubscriptionMap(const QMap<uint, ContactSubscriptions>& a) : QMap<uint, ContactSubscriptions>(a) {}
02869
02870 inline ContactSubscriptionMap& operator=(const QMap<uint, ContactSubscriptions>& a)
02871 {
02872 *(static_cast<QMap<uint, ContactSubscriptions>*>(this)) = a;
02873 return *this;
02874 }
02875 };
02876
02886 struct TELEPATHY_QT4_EXPORT HandlerCapabilities
02887 {
02893 QString wellKnownName;
02901 StringVariantMapList channelClasses;
02910 QStringList capabilities;
02911 };
02912
02913 TELEPATHY_QT4_EXPORT bool operator==(const HandlerCapabilities& v1, const HandlerCapabilities& v2);
02914 inline bool operator!=(const HandlerCapabilities& v1, const HandlerCapabilities& v2)
02915 {
02916 return !operator==(v1, v2);
02917 }
02918 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HandlerCapabilities& val);
02919 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HandlerCapabilities& val);
02920
02927 typedef QList<HandlerCapabilities> HandlerCapabilitiesList;
02928
02939 struct TELEPATHY_QT4_EXPORT LastActivityAndStatuses
02940 {
02941 uint lastActivity;
02942 MultipleStatusMap statuses;
02943 };
02944
02945 TELEPATHY_QT4_EXPORT bool operator==(const LastActivityAndStatuses& v1, const LastActivityAndStatuses& v2);
02946 inline bool operator!=(const LastActivityAndStatuses& v1, const LastActivityAndStatuses& v2)
02947 {
02948 return !operator==(v1, v2);
02949 }
02950 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LastActivityAndStatuses& val);
02951 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LastActivityAndStatuses& val);
02952
02970 struct TELEPATHY_QT4_EXPORT MailURL
02971 {
02975 QString URL;
02979 uint method;
02984 HTTPPostDataList postData;
02985 };
02986
02987 TELEPATHY_QT4_EXPORT bool operator==(const MailURL& v1, const MailURL& v2);
02988 inline bool operator!=(const MailURL& v1, const MailURL& v2)
02989 {
02990 return !operator==(v1, v2);
02991 }
02992 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailURL& val);
02993 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailURL& val);
02994
03002 struct TELEPATHY_QT4_EXPORT MediaStreamHandlerCandidate
03003 {
03004 QString name;
03005 MediaStreamHandlerTransportList transports;
03006 };
03007
03008 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamHandlerCandidate& v1, const MediaStreamHandlerCandidate& v2);
03009 inline bool operator!=(const MediaStreamHandlerCandidate& v1, const MediaStreamHandlerCandidate& v2)
03010 {
03011 return !operator==(v1, v2);
03012 }
03013 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCandidate& val);
03014 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCandidate& val);
03015
03022 typedef QList<MediaStreamHandlerCandidate> MediaStreamHandlerCandidateList;
03023
03033 struct TELEPATHY_QT4_EXPORT MediaStreamHandlerCodec
03034 {
03038 uint codecID;
03042 QString name;
03046 uint mediaType;
03050 uint clockRate;
03054 uint numberOfChannels;
03058 StringStringMap parameters;
03059 };
03060
03061 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamHandlerCodec& v1, const MediaStreamHandlerCodec& v2);
03062 inline bool operator!=(const MediaStreamHandlerCodec& v1, const MediaStreamHandlerCodec& v2)
03063 {
03064 return !operator==(v1, v2);
03065 }
03066 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCodec& val);
03067 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCodec& val);
03068
03075 typedef QList<MediaStreamHandlerCodec> MediaStreamHandlerCodecList;
03076
03091 struct TELEPATHY_QT4_EXPORT ServicePointInfo
03092 {
03096 ServicePoint servicePoint;
03103 QStringList serviceIDs;
03104 };
03105
03106 TELEPATHY_QT4_EXPORT bool operator==(const ServicePointInfo& v1, const ServicePointInfo& v2);
03107 inline bool operator!=(const ServicePointInfo& v1, const ServicePointInfo& v2)
03108 {
03109 return !operator==(v1, v2);
03110 }
03111 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePointInfo& val);
03112 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePointInfo& val);
03113
03120 typedef QList<ServicePointInfo> ServicePointInfoList;
03121
03133 struct TELEPATHY_QT4_EXPORT SimpleContactPresences : public QMap<uint, SimplePresence>
03134 {
03135 inline SimpleContactPresences() : QMap<uint, SimplePresence>() {}
03136 inline SimpleContactPresences(const QMap<uint, SimplePresence>& a) : QMap<uint, SimplePresence>(a) {}
03137
03138 inline SimpleContactPresences& operator=(const QMap<uint, SimplePresence>& a)
03139 {
03140 *(static_cast<QMap<uint, SimplePresence>*>(this)) = a;
03141 return *this;
03142 }
03143 };
03144
03155 struct TELEPATHY_QT4_EXPORT SimpleStatusSpecMap : public QMap<QString, SimpleStatusSpec>
03156 {
03157 inline SimpleStatusSpecMap() : QMap<QString, SimpleStatusSpec>() {}
03158 inline SimpleStatusSpecMap(const QMap<QString, SimpleStatusSpec>& a) : QMap<QString, SimpleStatusSpec>(a) {}
03159
03160 inline SimpleStatusSpecMap& operator=(const QMap<QString, SimpleStatusSpec>& a)
03161 {
03162 *(static_cast<QMap<QString, SimpleStatusSpec>*>(this)) = a;
03163 return *this;
03164 }
03165 };
03166
03174 struct TELEPATHY_QT4_EXPORT StatusSpec
03175 {
03176 uint type;
03177 bool maySetOnSelf;
03178 bool exclusive;
03179 StringStringMap parameterTypes;
03180 };
03181
03182 TELEPATHY_QT4_EXPORT bool operator==(const StatusSpec& v1, const StatusSpec& v2);
03183 inline bool operator!=(const StatusSpec& v1, const StatusSpec& v2)
03184 {
03185 return !operator==(v1, v2);
03186 }
03187 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StatusSpec& val);
03188 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StatusSpec& val);
03189
03201 struct TELEPATHY_QT4_EXPORT ContactPresences : public QMap<uint, LastActivityAndStatuses>
03202 {
03203 inline ContactPresences() : QMap<uint, LastActivityAndStatuses>() {}
03204 inline ContactPresences(const QMap<uint, LastActivityAndStatuses>& a) : QMap<uint, LastActivityAndStatuses>(a) {}
03205
03206 inline ContactPresences& operator=(const QMap<uint, LastActivityAndStatuses>& a)
03207 {
03208 *(static_cast<QMap<uint, LastActivityAndStatuses>*>(this)) = a;
03209 return *this;
03210 }
03211 };
03212
03221 struct TELEPATHY_QT4_EXPORT StatusSpecMap : public QMap<QString, StatusSpec>
03222 {
03223 inline StatusSpecMap() : QMap<QString, StatusSpec>() {}
03224 inline StatusSpecMap(const QMap<QString, StatusSpec>& a) : QMap<QString, StatusSpec>(a) {}
03225
03226 inline StatusSpecMap& operator=(const QMap<QString, StatusSpec>& a)
03227 {
03228 *(static_cast<QMap<QString, StatusSpec>*>(this)) = a;
03229 return *this;
03230 }
03231 };
03232
03233
03234 }
03235
03236 Q_DECLARE_METATYPE(Tp::AccessControl)
03237 Q_DECLARE_METATYPE(Tp::AliasMap)
03238 Q_DECLARE_METATYPE(Tp::AliasPair)
03239 Q_DECLARE_METATYPE(Tp::AliasPairList)
03240 Q_DECLARE_METATYPE(Tp::Avatar)
03241 Q_DECLARE_METATYPE(Tp::AvatarTokenMap)
03242 Q_DECLARE_METATYPE(Tp::ByteArrayList)
03243 Q_DECLARE_METATYPE(Tp::CapabilityChange)
03244 Q_DECLARE_METATYPE(Tp::CapabilityChangeList)
03245 Q_DECLARE_METATYPE(Tp::CapabilityPair)
03246 Q_DECLARE_METATYPE(Tp::CapabilityPairList)
03247 Q_DECLARE_METATYPE(Tp::ChannelCallStateMap)
03248 Q_DECLARE_METATYPE(Tp::ChannelClass)
03249 Q_DECLARE_METATYPE(Tp::ChannelClassList)
03250 Q_DECLARE_METATYPE(Tp::ChannelDetails)
03251 Q_DECLARE_METATYPE(Tp::ChannelDetailsList)
03252 Q_DECLARE_METATYPE(Tp::ChannelInfo)
03253 Q_DECLARE_METATYPE(Tp::ChannelInfoList)
03254 Q_DECLARE_METATYPE(Tp::ChannelOriginatorMap)
03255 Q_DECLARE_METATYPE(Tp::ChatStateMap)
03256 Q_DECLARE_METATYPE(Tp::ContactAttributesMap)
03257 Q_DECLARE_METATYPE(Tp::ContactCapabilitiesMap)
03258 Q_DECLARE_METATYPE(Tp::ContactCapabilitiesMapList)
03259 Q_DECLARE_METATYPE(Tp::ContactCapability)
03260 Q_DECLARE_METATYPE(Tp::ContactCapabilityList)
03261 Q_DECLARE_METATYPE(Tp::ContactClientTypes)
03262 Q_DECLARE_METATYPE(Tp::ContactInfoField)
03263 Q_DECLARE_METATYPE(Tp::ContactInfoFieldList)
03264 Q_DECLARE_METATYPE(Tp::ContactInfoMap)
03265 Q_DECLARE_METATYPE(Tp::ContactLocations)
03266 Q_DECLARE_METATYPE(Tp::ContactPresences)
03267 Q_DECLARE_METATYPE(Tp::ContactSearchMap)
03268 Q_DECLARE_METATYPE(Tp::ContactSearchResultMap)
03269 Q_DECLARE_METATYPE(Tp::ContactSubscriptionMap)
03270 Q_DECLARE_METATYPE(Tp::ContactSubscriptions)
03271 Q_DECLARE_METATYPE(Tp::CurrencyAmount)
03272 Q_DECLARE_METATYPE(Tp::DBusTubeMember)
03273 Q_DECLARE_METATYPE(Tp::DBusTubeMemberList)
03274 Q_DECLARE_METATYPE(Tp::DBusTubeParticipants)
03275 Q_DECLARE_METATYPE(Tp::FieldSpec)
03276 Q_DECLARE_METATYPE(Tp::FieldSpecs)
03277 Q_DECLARE_METATYPE(Tp::HTTPPostData)
03278 Q_DECLARE_METATYPE(Tp::HTTPPostDataList)
03279 Q_DECLARE_METATYPE(Tp::HandleIdentifierMap)
03280 Q_DECLARE_METATYPE(Tp::HandleOwnerMap)
03281 Q_DECLARE_METATYPE(Tp::HandlerCapabilities)
03282 Q_DECLARE_METATYPE(Tp::HandlerCapabilitiesList)
03283 Q_DECLARE_METATYPE(Tp::LastActivityAndStatuses)
03284 Q_DECLARE_METATYPE(Tp::LocalPendingInfo)
03285 Q_DECLARE_METATYPE(Tp::LocalPendingInfoList)
03286 Q_DECLARE_METATYPE(Tp::Location)
03287 Q_DECLARE_METATYPE(Tp::Mail)
03288 Q_DECLARE_METATYPE(Tp::MailAddress)
03289 Q_DECLARE_METATYPE(Tp::MailAddressList)
03290 Q_DECLARE_METATYPE(Tp::MailList)
03291 Q_DECLARE_METATYPE(Tp::MailURL)
03292 Q_DECLARE_METATYPE(Tp::MediaSessionHandlerInfo)
03293 Q_DECLARE_METATYPE(Tp::MediaSessionHandlerInfoList)
03294 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCandidate)
03295 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCandidateList)
03296 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCodec)
03297 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCodecList)
03298 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerTransport)
03299 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerTransportList)
03300 Q_DECLARE_METATYPE(Tp::MediaStreamInfo)
03301 Q_DECLARE_METATYPE(Tp::MediaStreamInfoList)
03302 Q_DECLARE_METATYPE(Tp::MessagePart)
03303 Q_DECLARE_METATYPE(Tp::MessagePartContentMap)
03304 Q_DECLARE_METATYPE(Tp::MessagePartList)
03305 Q_DECLARE_METATYPE(Tp::MessagePartListList)
03306 Q_DECLARE_METATYPE(Tp::MultipleStatusMap)
03307 Q_DECLARE_METATYPE(Tp::ObjectImmutablePropertiesMap)
03308 Q_DECLARE_METATYPE(Tp::ObjectImmutablePropertiesMapList)
03309 Q_DECLARE_METATYPE(Tp::ObjectPathList)
03310 Q_DECLARE_METATYPE(Tp::ParamSpec)
03311 Q_DECLARE_METATYPE(Tp::ParamSpecList)
03312 Q_DECLARE_METATYPE(Tp::PendingTextMessage)
03313 Q_DECLARE_METATYPE(Tp::PendingTextMessageList)
03314 Q_DECLARE_METATYPE(Tp::PropertyFlagsChange)
03315 Q_DECLARE_METATYPE(Tp::PropertyFlagsChangeList)
03316 Q_DECLARE_METATYPE(Tp::PropertySpec)
03317 Q_DECLARE_METATYPE(Tp::PropertySpecList)
03318 Q_DECLARE_METATYPE(Tp::PropertyValue)
03319 Q_DECLARE_METATYPE(Tp::PropertyValueList)
03320 Q_DECLARE_METATYPE(Tp::ProtocolPropertiesMap)
03321 Q_DECLARE_METATYPE(Tp::QualifiedPropertyValueMap)
03322 Q_DECLARE_METATYPE(Tp::QualifiedPropertyValueMapList)
03323 Q_DECLARE_METATYPE(Tp::RequestableChannelClass)
03324 Q_DECLARE_METATYPE(Tp::RequestableChannelClassList)
03325 Q_DECLARE_METATYPE(Tp::RichPresenceAccessControl)
03326 Q_DECLARE_METATYPE(Tp::RoomInfo)
03327 Q_DECLARE_METATYPE(Tp::RoomInfoList)
03328 Q_DECLARE_METATYPE(Tp::ServicePoint)
03329 Q_DECLARE_METATYPE(Tp::ServicePointInfo)
03330 Q_DECLARE_METATYPE(Tp::ServicePointInfoList)
03331 Q_DECLARE_METATYPE(Tp::SimpleContactPresences)
03332 Q_DECLARE_METATYPE(Tp::SimplePresence)
03333 Q_DECLARE_METATYPE(Tp::SimpleStatusSpec)
03334 Q_DECLARE_METATYPE(Tp::SimpleStatusSpecMap)
03335 Q_DECLARE_METATYPE(Tp::SingleContactAttributesMap)
03336 Q_DECLARE_METATYPE(Tp::SocketAddressIP)
03337 Q_DECLARE_METATYPE(Tp::SocketAddressIPList)
03338 Q_DECLARE_METATYPE(Tp::SocketAddressIPv4)
03339 Q_DECLARE_METATYPE(Tp::SocketAddressIPv6)
03340 Q_DECLARE_METATYPE(Tp::SocketNetmaskIPv4)
03341 Q_DECLARE_METATYPE(Tp::SocketNetmaskIPv6)
03342 Q_DECLARE_METATYPE(Tp::StatusSpec)
03343 Q_DECLARE_METATYPE(Tp::StatusSpecMap)
03344 Q_DECLARE_METATYPE(Tp::StringStringMap)
03345 Q_DECLARE_METATYPE(Tp::StringStringMapList)
03346 Q_DECLARE_METATYPE(Tp::StringVariantMap)
03347 Q_DECLARE_METATYPE(Tp::StringVariantMapList)
03348 Q_DECLARE_METATYPE(Tp::SupportedSocketMap)
03349 Q_DECLARE_METATYPE(Tp::TLSCertificateRejection)
03350 Q_DECLARE_METATYPE(Tp::TLSCertificateRejectionList)
03351 Q_DECLARE_METATYPE(Tp::TubeInfo)
03352 Q_DECLARE_METATYPE(Tp::TubeInfoList)
03353 Q_DECLARE_METATYPE(Tp::UIntList)