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 ObjectPathList : public QList<QDBusObjectPath>
00062 {
00063 inline ObjectPathList() : QList<QDBusObjectPath>() {}
00064 inline ObjectPathList(const QList<QDBusObjectPath>& a) : QList<QDBusObjectPath>(a) {}
00065
00066 inline ObjectPathList& operator=(const QList<QDBusObjectPath>& a)
00067 {
00068 *(static_cast<QList<QDBusObjectPath>*>(this)) = a;
00069 return *this;
00070 }
00071 };
00072
00081 struct TELEPATHY_QT4_EXPORT UIntList : public QList<uint>
00082 {
00083 inline UIntList() : QList<uint>() {}
00084 inline UIntList(const QList<uint>& a) : QList<uint>(a) {}
00085
00086 inline UIntList& operator=(const QList<uint>& a)
00087 {
00088 *(static_cast<QList<uint>*>(this)) = a;
00089 return *this;
00090 }
00091 };
00092
00110 struct TELEPATHY_QT4_EXPORT AccessControl
00111 {
00115 uint type;
00120 QDBusVariant detail;
00121 };
00122
00123 TELEPATHY_QT4_EXPORT bool operator==(const AccessControl& v1, const AccessControl& v2);
00124 inline bool operator!=(const AccessControl& v1, const AccessControl& v2)
00125 {
00126 return !operator==(v1, v2);
00127 }
00128 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AccessControl& val);
00129 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AccessControl& val);
00130
00141 struct TELEPATHY_QT4_EXPORT AliasMap : public QMap<uint, QString>
00142 {
00143 inline AliasMap() : QMap<uint, QString>() {}
00144 inline AliasMap(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
00145
00146 inline AliasMap& operator=(const QMap<uint, QString>& a)
00147 {
00148 *(static_cast<QMap<uint, QString>*>(this)) = a;
00149 return *this;
00150 }
00151 };
00152
00162 struct TELEPATHY_QT4_EXPORT AliasPair
00163 {
00164 uint handle;
00165 QString alias;
00166 };
00167
00168 TELEPATHY_QT4_EXPORT bool operator==(const AliasPair& v1, const AliasPair& v2);
00169 inline bool operator!=(const AliasPair& v1, const AliasPair& v2)
00170 {
00171 return !operator==(v1, v2);
00172 }
00173 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AliasPair& val);
00174 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AliasPair& val);
00175
00182 typedef QList<AliasPair> AliasPairList;
00183
00195 struct TELEPATHY_QT4_EXPORT Avatar
00196 {
00197 QByteArray avatarData;
00198 QString MIMEType;
00199 };
00200
00201 TELEPATHY_QT4_EXPORT bool operator==(const Avatar& v1, const Avatar& v2);
00202 inline bool operator!=(const Avatar& v1, const Avatar& v2)
00203 {
00204 return !operator==(v1, v2);
00205 }
00206 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Avatar& val);
00207 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Avatar& val);
00208
00220 struct TELEPATHY_QT4_EXPORT AvatarTokenMap : public QMap<uint, QString>
00221 {
00222 inline AvatarTokenMap() : QMap<uint, QString>() {}
00223 inline AvatarTokenMap(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
00224
00225 inline AvatarTokenMap& operator=(const QMap<uint, QString>& a)
00226 {
00227 *(static_cast<QMap<uint, QString>*>(this)) = a;
00228 return *this;
00229 }
00230 };
00231
00244 struct TELEPATHY_QT4_EXPORT CapabilityChange
00245 {
00246 uint handle;
00247 QString channelType;
00248 uint oldGenericFlags;
00249 uint newGenericFlags;
00250 uint oldTypeSpecificFlags;
00251 uint newTypeSpecificFlags;
00252 };
00253
00254 TELEPATHY_QT4_EXPORT bool operator==(const CapabilityChange& v1, const CapabilityChange& v2);
00255 inline bool operator!=(const CapabilityChange& v1, const CapabilityChange& v2)
00256 {
00257 return !operator==(v1, v2);
00258 }
00259 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityChange& val);
00260 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityChange& val);
00261
00268 typedef QList<CapabilityChange> CapabilityChangeList;
00269
00280 struct TELEPATHY_QT4_EXPORT CapabilityPair
00281 {
00282 QString channelType;
00283 uint typeSpecificFlags;
00284 };
00285
00286 TELEPATHY_QT4_EXPORT bool operator==(const CapabilityPair& v1, const CapabilityPair& v2);
00287 inline bool operator!=(const CapabilityPair& v1, const CapabilityPair& v2)
00288 {
00289 return !operator==(v1, v2);
00290 }
00291 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityPair& val);
00292 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityPair& val);
00293
00300 typedef QList<CapabilityPair> CapabilityPairList;
00301
00312 struct TELEPATHY_QT4_EXPORT ChannelCallStateMap : public QMap<uint, uint>
00313 {
00314 inline ChannelCallStateMap() : QMap<uint, uint>() {}
00315 inline ChannelCallStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
00316
00317 inline ChannelCallStateMap& operator=(const QMap<uint, uint>& a)
00318 {
00319 *(static_cast<QMap<uint, uint>*>(this)) = a;
00320 return *this;
00321 }
00322 };
00323
00347 struct TELEPATHY_QT4_EXPORT ChannelClass : public QMap<QString, QDBusVariant>
00348 {
00349 inline ChannelClass() : QMap<QString, QDBusVariant>() {}
00350 inline ChannelClass(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
00351
00352 inline ChannelClass& operator=(const QMap<QString, QDBusVariant>& a)
00353 {
00354 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
00355 return *this;
00356 }
00357 };
00358
00365 typedef QList<ChannelClass> ChannelClassList;
00366
00377 struct TELEPATHY_QT4_EXPORT ChannelDetails
00378 {
00382 QDBusObjectPath channel;
00428 QVariantMap properties;
00429 };
00430
00431 TELEPATHY_QT4_EXPORT bool operator==(const ChannelDetails& v1, const ChannelDetails& v2);
00432 inline bool operator!=(const ChannelDetails& v1, const ChannelDetails& v2)
00433 {
00434 return !operator==(v1, v2);
00435 }
00436 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelDetails& val);
00437 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelDetails& val);
00438
00445 typedef QList<ChannelDetails> ChannelDetailsList;
00446
00457 struct TELEPATHY_QT4_EXPORT ChannelInfo
00458 {
00463 QDBusObjectPath channel;
00467 QString channelType;
00472 uint handleType;
00477 uint handle;
00478 };
00479
00480 TELEPATHY_QT4_EXPORT bool operator==(const ChannelInfo& v1, const ChannelInfo& v2);
00481 inline bool operator!=(const ChannelInfo& v1, const ChannelInfo& v2)
00482 {
00483 return !operator==(v1, v2);
00484 }
00485 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelInfo& val);
00486 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelInfo& val);
00487
00494 typedef QList<ChannelInfo> ChannelInfoList;
00495
00510 struct TELEPATHY_QT4_EXPORT ChannelOriginatorMap : public QMap<uint, QDBusObjectPath>
00511 {
00512 inline ChannelOriginatorMap() : QMap<uint, QDBusObjectPath>() {}
00513 inline ChannelOriginatorMap(const QMap<uint, QDBusObjectPath>& a) : QMap<uint, QDBusObjectPath>(a) {}
00514
00515 inline ChannelOriginatorMap& operator=(const QMap<uint, QDBusObjectPath>& a)
00516 {
00517 *(static_cast<QMap<uint, QDBusObjectPath>*>(this)) = a;
00518 return *this;
00519 }
00520 };
00521
00532 struct TELEPATHY_QT4_EXPORT ChatStateMap : public QMap<uint, uint>
00533 {
00534 inline ChatStateMap() : QMap<uint, uint>() {}
00535 inline ChatStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
00536
00537 inline ChatStateMap& operator=(const QMap<uint, uint>& a)
00538 {
00539 *(static_cast<QMap<uint, uint>*>(this)) = a;
00540 return *this;
00541 }
00542 };
00543
00555 struct TELEPATHY_QT4_EXPORT ContactAttributesMap : public QMap<uint, QVariantMap>
00556 {
00557 inline ContactAttributesMap() : QMap<uint, QVariantMap>() {}
00558 inline ContactAttributesMap(const QMap<uint, QVariantMap>& a) : QMap<uint, QVariantMap>(a) {}
00559
00560 inline ContactAttributesMap& operator=(const QMap<uint, QVariantMap>& a)
00561 {
00562 *(static_cast<QMap<uint, QVariantMap>*>(this)) = a;
00563 return *this;
00564 }
00565 };
00566
00578 struct TELEPATHY_QT4_EXPORT ContactCapability
00579 {
00580 uint handle;
00581 QString channelType;
00582 uint genericFlags;
00583 uint typeSpecificFlags;
00584 };
00585
00586 TELEPATHY_QT4_EXPORT bool operator==(const ContactCapability& v1, const ContactCapability& v2);
00587 inline bool operator!=(const ContactCapability& v1, const ContactCapability& v2)
00588 {
00589 return !operator==(v1, v2);
00590 }
00591 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactCapability& val);
00592 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactCapability& val);
00593
00600 typedef QList<ContactCapability> ContactCapabilityList;
00601
00612 struct TELEPATHY_QT4_EXPORT ContactClientTypes : public QMap<uint, QStringList>
00613 {
00614 inline ContactClientTypes() : QMap<uint, QStringList>() {}
00615 inline ContactClientTypes(const QMap<uint, QStringList>& a) : QMap<uint, QStringList>(a) {}
00616
00617 inline ContactClientTypes& operator=(const QMap<uint, QStringList>& a)
00618 {
00619 *(static_cast<QMap<uint, QStringList>*>(this)) = a;
00620 return *this;
00621 }
00622 };
00623
00711 struct TELEPATHY_QT4_EXPORT ContactInfoField
00712 {
00718 QString fieldName;
00745 QStringList parameters;
00776 QStringList fieldValue;
00777 };
00778
00779 TELEPATHY_QT4_EXPORT bool operator==(const ContactInfoField& v1, const ContactInfoField& v2);
00780 inline bool operator!=(const ContactInfoField& v1, const ContactInfoField& v2)
00781 {
00782 return !operator==(v1, v2);
00783 }
00784 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactInfoField& val);
00785 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactInfoField& val);
00786
00793 typedef QList<ContactInfoField> ContactInfoFieldList;
00794
00805 struct TELEPATHY_QT4_EXPORT ContactLocations : public QMap<uint, QVariantMap>
00806 {
00807 inline ContactLocations() : QMap<uint, QVariantMap>() {}
00808 inline ContactLocations(const QMap<uint, QVariantMap>& a) : QMap<uint, QVariantMap>(a) {}
00809
00810 inline ContactLocations& operator=(const QMap<uint, QVariantMap>& a)
00811 {
00812 *(static_cast<QMap<uint, QVariantMap>*>(this)) = a;
00813 return *this;
00814 }
00815 };
00816
00827 struct TELEPATHY_QT4_EXPORT ContactSearchMap : public QMap<QString, QString>
00828 {
00829 inline ContactSearchMap() : QMap<QString, QString>() {}
00830 inline ContactSearchMap(const QMap<QString, QString>& a) : QMap<QString, QString>(a) {}
00831
00832 inline ContactSearchMap& operator=(const QMap<QString, QString>& a)
00833 {
00834 *(static_cast<QMap<QString, QString>*>(this)) = a;
00835 return *this;
00836 }
00837 };
00838
00848 struct TELEPATHY_QT4_EXPORT ContactSubscriptions
00849 {
00853 uint subscribe;
00857 uint publish;
00862 QString publishRequest;
00863 };
00864
00865 TELEPATHY_QT4_EXPORT bool operator==(const ContactSubscriptions& v1, const ContactSubscriptions& v2);
00866 inline bool operator!=(const ContactSubscriptions& v1, const ContactSubscriptions& v2)
00867 {
00868 return !operator==(v1, v2);
00869 }
00870 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactSubscriptions& val);
00871 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactSubscriptions& val);
00872
00895 struct TELEPATHY_QT4_EXPORT CurrencyAmount
00896 {
00906 int amount;
00919 uint scale;
00926 QString currency;
00927 };
00928
00929 TELEPATHY_QT4_EXPORT bool operator==(const CurrencyAmount& v1, const CurrencyAmount& v2);
00930 inline bool operator!=(const CurrencyAmount& v1, const CurrencyAmount& v2)
00931 {
00932 return !operator==(v1, v2);
00933 }
00934 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CurrencyAmount& val);
00935 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CurrencyAmount& val);
00936
00947 struct TELEPATHY_QT4_EXPORT DBusTubeMember
00948 {
00952 uint handle;
00956 QString uniqueName;
00957 };
00958
00959 TELEPATHY_QT4_EXPORT bool operator==(const DBusTubeMember& v1, const DBusTubeMember& v2);
00960 inline bool operator!=(const DBusTubeMember& v1, const DBusTubeMember& v2)
00961 {
00962 return !operator==(v1, v2);
00963 }
00964 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DBusTubeMember& val);
00965 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DBusTubeMember& val);
00966
00973 typedef QList<DBusTubeMember> DBusTubeMemberList;
00974
00986 struct TELEPATHY_QT4_EXPORT DBusTubeParticipants : public QMap<uint, QString>
00987 {
00988 inline DBusTubeParticipants() : QMap<uint, QString>() {}
00989 inline DBusTubeParticipants(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
00990
00991 inline DBusTubeParticipants& operator=(const QMap<uint, QString>& a)
00992 {
00993 *(static_cast<QMap<uint, QString>*>(this)) = a;
00994 return *this;
00995 }
00996 };
00997
01008 struct TELEPATHY_QT4_EXPORT FieldSpec
01009 {
01013 QString name;
01019 QStringList parameters;
01023 uint flags;
01028 uint max;
01029 };
01030
01031 TELEPATHY_QT4_EXPORT bool operator==(const FieldSpec& v1, const FieldSpec& v2);
01032 inline bool operator!=(const FieldSpec& v1, const FieldSpec& v2)
01033 {
01034 return !operator==(v1, v2);
01035 }
01036 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const FieldSpec& val);
01037 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, FieldSpec& val);
01038
01045 typedef QList<FieldSpec> FieldSpecs;
01046
01091 struct TELEPATHY_QT4_EXPORT HTTPPostData
01092 {
01096 QString key;
01100 QString value;
01101 };
01102
01103 TELEPATHY_QT4_EXPORT bool operator==(const HTTPPostData& v1, const HTTPPostData& v2);
01104 inline bool operator!=(const HTTPPostData& v1, const HTTPPostData& v2)
01105 {
01106 return !operator==(v1, v2);
01107 }
01108 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HTTPPostData& val);
01109 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HTTPPostData& val);
01110
01117 typedef QList<HTTPPostData> HTTPPostDataList;
01118
01129 struct TELEPATHY_QT4_EXPORT HandleIdentifierMap : public QMap<uint, QString>
01130 {
01131 inline HandleIdentifierMap() : QMap<uint, QString>() {}
01132 inline HandleIdentifierMap(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
01133
01134 inline HandleIdentifierMap& operator=(const QMap<uint, QString>& a)
01135 {
01136 *(static_cast<QMap<uint, QString>*>(this)) = a;
01137 return *this;
01138 }
01139 };
01140
01151 struct TELEPATHY_QT4_EXPORT HandleOwnerMap : public QMap<uint, uint>
01152 {
01153 inline HandleOwnerMap() : QMap<uint, uint>() {}
01154 inline HandleOwnerMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
01155
01156 inline HandleOwnerMap& operator=(const QMap<uint, uint>& a)
01157 {
01158 *(static_cast<QMap<uint, uint>*>(this)) = a;
01159 return *this;
01160 }
01161 };
01162
01173 struct TELEPATHY_QT4_EXPORT LocalPendingInfo
01174 {
01178 uint toBeAdded;
01182 uint actor;
01186 uint reason;
01191 QString message;
01192 };
01193
01194 TELEPATHY_QT4_EXPORT bool operator==(const LocalPendingInfo& v1, const LocalPendingInfo& v2);
01195 inline bool operator!=(const LocalPendingInfo& v1, const LocalPendingInfo& v2)
01196 {
01197 return !operator==(v1, v2);
01198 }
01199 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LocalPendingInfo& val);
01200 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LocalPendingInfo& val);
01201
01208 typedef QList<LocalPendingInfo> LocalPendingInfoList;
01209
01220 struct TELEPATHY_QT4_EXPORT Location : public QMap<QString, QDBusVariant>
01221 {
01222 inline Location() : QMap<QString, QDBusVariant>() {}
01223 inline Location(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
01224
01225 inline Location& operator=(const QMap<QString, QDBusVariant>& a)
01226 {
01227 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
01228 return *this;
01229 }
01230 };
01231
01245 struct TELEPATHY_QT4_EXPORT Mail : public QMap<QString, QDBusVariant>
01246 {
01247 inline Mail() : QMap<QString, QDBusVariant>() {}
01248 inline Mail(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
01249
01250 inline Mail& operator=(const QMap<QString, QDBusVariant>& a)
01251 {
01252 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
01253 return *this;
01254 }
01255 };
01256
01263 typedef QList<Mail> MailList;
01264
01285 struct TELEPATHY_QT4_EXPORT MailAddress
01286 {
01290 QString name;
01294 QString address;
01295 };
01296
01297 TELEPATHY_QT4_EXPORT bool operator==(const MailAddress& v1, const MailAddress& v2);
01298 inline bool operator!=(const MailAddress& v1, const MailAddress& v2)
01299 {
01300 return !operator==(v1, v2);
01301 }
01302 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailAddress& val);
01303 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailAddress& val);
01304
01311 typedef QList<MailAddress> MailAddressList;
01312
01322 struct TELEPATHY_QT4_EXPORT MediaSessionHandlerInfo
01323 {
01328 QDBusObjectPath sessionHandler;
01332 QString mediaSessionType;
01333 };
01334
01335 TELEPATHY_QT4_EXPORT bool operator==(const MediaSessionHandlerInfo& v1, const MediaSessionHandlerInfo& v2);
01336 inline bool operator!=(const MediaSessionHandlerInfo& v1, const MediaSessionHandlerInfo& v2)
01337 {
01338 return !operator==(v1, v2);
01339 }
01340 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaSessionHandlerInfo& val);
01341 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaSessionHandlerInfo& val);
01342
01349 typedef QList<MediaSessionHandlerInfo> MediaSessionHandlerInfoList;
01350
01358 struct TELEPATHY_QT4_EXPORT MediaStreamHandlerTransport
01359 {
01360 uint componentNumber;
01361 QString IPAddress;
01362 uint port;
01363 uint protocol;
01364 QString subtype;
01365 QString profile;
01366 double preferenceValue;
01367 uint transportType;
01368 QString username;
01369 QString password;
01370 };
01371
01372 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamHandlerTransport& v1, const MediaStreamHandlerTransport& v2);
01373 inline bool operator!=(const MediaStreamHandlerTransport& v1, const MediaStreamHandlerTransport& v2)
01374 {
01375 return !operator==(v1, v2);
01376 }
01377 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerTransport& val);
01378 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerTransport& val);
01379
01386 typedef QList<MediaStreamHandlerTransport> MediaStreamHandlerTransportList;
01387
01395 struct TELEPATHY_QT4_EXPORT MediaStreamInfo
01396 {
01397 uint identifier;
01398 uint contact;
01399 uint type;
01400 uint state;
01401 uint direction;
01402 uint pendingSendFlags;
01403 };
01404
01405 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamInfo& v1, const MediaStreamInfo& v2);
01406 inline bool operator!=(const MediaStreamInfo& v1, const MediaStreamInfo& v2)
01407 {
01408 return !operator==(v1, v2);
01409 }
01410 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamInfo& val);
01411 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamInfo& val);
01412
01419 typedef QList<MediaStreamInfo> MediaStreamInfoList;
01420
01705 struct TELEPATHY_QT4_EXPORT MessagePart : public QMap<QString, QDBusVariant>
01706 {
01707 inline MessagePart() : QMap<QString, QDBusVariant>() {}
01708 inline MessagePart(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
01709
01710 inline MessagePart& operator=(const QMap<QString, QDBusVariant>& a)
01711 {
01712 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
01713 return *this;
01714 }
01715 };
01716
01723 typedef QList<MessagePart> MessagePartList;
01724
01731 typedef QList<MessagePartList> MessagePartListList;
01732
01744 struct TELEPATHY_QT4_EXPORT MessagePartContentMap : public QMap<uint, QDBusVariant>
01745 {
01746 inline MessagePartContentMap() : QMap<uint, QDBusVariant>() {}
01747 inline MessagePartContentMap(const QMap<uint, QDBusVariant>& a) : QMap<uint, QDBusVariant>(a) {}
01748
01749 inline MessagePartContentMap& operator=(const QMap<uint, QDBusVariant>& a)
01750 {
01751 *(static_cast<QMap<uint, QDBusVariant>*>(this)) = a;
01752 return *this;
01753 }
01754 };
01755
01768 struct TELEPATHY_QT4_EXPORT MultipleStatusMap : public QMap<QString, QVariantMap>
01769 {
01770 inline MultipleStatusMap() : QMap<QString, QVariantMap>() {}
01771 inline MultipleStatusMap(const QMap<QString, QVariantMap>& a) : QMap<QString, QVariantMap>(a) {}
01772
01773 inline MultipleStatusMap& operator=(const QMap<QString, QVariantMap>& a)
01774 {
01775 *(static_cast<QMap<QString, QVariantMap>*>(this)) = a;
01776 return *this;
01777 }
01778 };
01779
01790 struct TELEPATHY_QT4_EXPORT ObjectImmutablePropertiesMap : public QMap<QDBusObjectPath, QVariantMap>
01791 {
01792 inline ObjectImmutablePropertiesMap() : QMap<QDBusObjectPath, QVariantMap>() {}
01793 inline ObjectImmutablePropertiesMap(const QMap<QDBusObjectPath, QVariantMap>& a) : QMap<QDBusObjectPath, QVariantMap>(a) {}
01794
01795 inline ObjectImmutablePropertiesMap& operator=(const QMap<QDBusObjectPath, QVariantMap>& a)
01796 {
01797 *(static_cast<QMap<QDBusObjectPath, QVariantMap>*>(this)) = a;
01798 return *this;
01799 }
01800 };
01801
01808 typedef QList<ObjectImmutablePropertiesMap> ObjectImmutablePropertiesMapList;
01809
01820 struct TELEPATHY_QT4_EXPORT ParamSpec
01821 {
01825 QString name;
01829 uint flags;
01833 QString signature;
01839 QDBusVariant defaultValue;
01840 };
01841
01842 TELEPATHY_QT4_EXPORT bool operator==(const ParamSpec& v1, const ParamSpec& v2);
01843 inline bool operator!=(const ParamSpec& v1, const ParamSpec& v2)
01844 {
01845 return !operator==(v1, v2);
01846 }
01847 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ParamSpec& val);
01848 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ParamSpec& val);
01849
01856 typedef QList<ParamSpec> ParamSpecList;
01857
01870 struct TELEPATHY_QT4_EXPORT PendingTextMessage
01871 {
01872 uint identifier;
01873 uint unixTimestamp;
01874 uint sender;
01875 uint messageType;
01876 uint flags;
01877 QString text;
01878 };
01879
01880 TELEPATHY_QT4_EXPORT bool operator==(const PendingTextMessage& v1, const PendingTextMessage& v2);
01881 inline bool operator!=(const PendingTextMessage& v1, const PendingTextMessage& v2)
01882 {
01883 return !operator==(v1, v2);
01884 }
01885 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PendingTextMessage& val);
01886 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PendingTextMessage& val);
01887
01894 typedef QList<PendingTextMessage> PendingTextMessageList;
01895
01907 struct TELEPATHY_QT4_EXPORT PropertyFlagsChange
01908 {
01909 uint propertyID;
01910 uint newFlags;
01911 };
01912
01913 TELEPATHY_QT4_EXPORT bool operator==(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2);
01914 inline bool operator!=(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2)
01915 {
01916 return !operator==(v1, v2);
01917 }
01918 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyFlagsChange& val);
01919 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyFlagsChange& val);
01920
01927 typedef QList<PropertyFlagsChange> PropertyFlagsChangeList;
01928
01939 struct TELEPATHY_QT4_EXPORT PropertySpec
01940 {
01941 uint propertyID;
01942 QString name;
01943 QString signature;
01944 uint flags;
01945 };
01946
01947 TELEPATHY_QT4_EXPORT bool operator==(const PropertySpec& v1, const PropertySpec& v2);
01948 inline bool operator!=(const PropertySpec& v1, const PropertySpec& v2)
01949 {
01950 return !operator==(v1, v2);
01951 }
01952 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertySpec& val);
01953 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertySpec& val);
01954
01961 typedef QList<PropertySpec> PropertySpecList;
01962
01974 struct TELEPATHY_QT4_EXPORT PropertyValue
01975 {
01976 uint identifier;
01977 QDBusVariant value;
01978 };
01979
01980 TELEPATHY_QT4_EXPORT bool operator==(const PropertyValue& v1, const PropertyValue& v2);
01981 inline bool operator!=(const PropertyValue& v1, const PropertyValue& v2)
01982 {
01983 return !operator==(v1, v2);
01984 }
01985 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyValue& val);
01986 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyValue& val);
01987
01994 typedef QList<PropertyValue> PropertyValueList;
01995
02010 struct TELEPATHY_QT4_EXPORT ProtocolPropertiesMap : public QMap<QString, QVariantMap>
02011 {
02012 inline ProtocolPropertiesMap() : QMap<QString, QVariantMap>() {}
02013 inline ProtocolPropertiesMap(const QMap<QString, QVariantMap>& a) : QMap<QString, QVariantMap>(a) {}
02014
02015 inline ProtocolPropertiesMap& operator=(const QMap<QString, QVariantMap>& a)
02016 {
02017 *(static_cast<QMap<QString, QVariantMap>*>(this)) = a;
02018 return *this;
02019 }
02020 };
02021
02033 struct TELEPATHY_QT4_EXPORT QualifiedPropertyValueMap : public QMap<QString, QDBusVariant>
02034 {
02035 inline QualifiedPropertyValueMap() : QMap<QString, QDBusVariant>() {}
02036 inline QualifiedPropertyValueMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
02037
02038 inline QualifiedPropertyValueMap& operator=(const QMap<QString, QDBusVariant>& a)
02039 {
02040 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
02041 return *this;
02042 }
02043 };
02044
02051 typedef QList<QualifiedPropertyValueMap> QualifiedPropertyValueMapList;
02052
02090 struct TELEPATHY_QT4_EXPORT RequestableChannelClass
02091 {
02118 QVariantMap fixedProperties;
02149 QStringList allowedProperties;
02150 };
02151
02152 TELEPATHY_QT4_EXPORT bool operator==(const RequestableChannelClass& v1, const RequestableChannelClass& v2);
02153 inline bool operator!=(const RequestableChannelClass& v1, const RequestableChannelClass& v2)
02154 {
02155 return !operator==(v1, v2);
02156 }
02157 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RequestableChannelClass& val);
02158 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RequestableChannelClass& val);
02159
02166 typedef QList<RequestableChannelClass> RequestableChannelClassList;
02167
02186 struct TELEPATHY_QT4_EXPORT RichPresenceAccessControl
02187 {
02191 uint type;
02196 QDBusVariant detail;
02197 };
02198
02199 TELEPATHY_QT4_EXPORT bool operator==(const RichPresenceAccessControl& v1, const RichPresenceAccessControl& v2);
02200 inline bool operator!=(const RichPresenceAccessControl& v1, const RichPresenceAccessControl& v2)
02201 {
02202 return !operator==(v1, v2);
02203 }
02204 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RichPresenceAccessControl& val);
02205 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RichPresenceAccessControl& val);
02206
02214 struct TELEPATHY_QT4_EXPORT RoomInfo
02215 {
02216 uint handle;
02217 QString channelType;
02218 QVariantMap info;
02219 };
02220
02221 TELEPATHY_QT4_EXPORT bool operator==(const RoomInfo& v1, const RoomInfo& v2);
02222 inline bool operator!=(const RoomInfo& v1, const RoomInfo& v2)
02223 {
02224 return !operator==(v1, v2);
02225 }
02226 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RoomInfo& val);
02227 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RoomInfo& val);
02228
02235 typedef QList<RoomInfo> RoomInfoList;
02236
02246 struct TELEPATHY_QT4_EXPORT ServicePoint
02247 {
02251 uint servicePointType;
02258 QString service;
02259 };
02260
02261 TELEPATHY_QT4_EXPORT bool operator==(const ServicePoint& v1, const ServicePoint& v2);
02262 inline bool operator!=(const ServicePoint& v1, const ServicePoint& v2)
02263 {
02264 return !operator==(v1, v2);
02265 }
02266 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePoint& val);
02267 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePoint& val);
02268
02278 struct TELEPATHY_QT4_EXPORT SimplePresence
02279 {
02283 uint type;
02288 QString status;
02312 QString statusMessage;
02313 };
02314
02315 TELEPATHY_QT4_EXPORT bool operator==(const SimplePresence& v1, const SimplePresence& v2);
02316 inline bool operator!=(const SimplePresence& v1, const SimplePresence& v2)
02317 {
02318 return !operator==(v1, v2);
02319 }
02320 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimplePresence& val);
02321 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimplePresence& val);
02322
02332 struct TELEPATHY_QT4_EXPORT SimpleStatusSpec
02333 {
02341 uint type;
02345 bool maySetOnSelf;
02352 bool canHaveMessage;
02353 };
02354
02355 TELEPATHY_QT4_EXPORT bool operator==(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2);
02356 inline bool operator!=(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2)
02357 {
02358 return !operator==(v1, v2);
02359 }
02360 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimpleStatusSpec& val);
02361 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimpleStatusSpec& val);
02362
02373 struct TELEPATHY_QT4_EXPORT SingleContactAttributesMap : public QMap<QString, QDBusVariant>
02374 {
02375 inline SingleContactAttributesMap() : QMap<QString, QDBusVariant>() {}
02376 inline SingleContactAttributesMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
02377
02378 inline SingleContactAttributesMap& operator=(const QMap<QString, QDBusVariant>& a)
02379 {
02380 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
02381 return *this;
02382 }
02383 };
02384
02394 struct TELEPATHY_QT4_EXPORT SocketAddressIP
02395 {
02400 QString address;
02404 ushort port;
02405 };
02406
02407 TELEPATHY_QT4_EXPORT bool operator==(const SocketAddressIP& v1, const SocketAddressIP& v2);
02408 inline bool operator!=(const SocketAddressIP& v1, const SocketAddressIP& v2)
02409 {
02410 return !operator==(v1, v2);
02411 }
02412 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIP& val);
02413 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIP& val);
02414
02421 typedef QList<SocketAddressIP> SocketAddressIPList;
02422
02432 struct TELEPATHY_QT4_EXPORT SocketAddressIPv4
02433 {
02438 QString address;
02442 ushort port;
02443 };
02444
02445 TELEPATHY_QT4_EXPORT bool operator==(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2);
02446 inline bool operator!=(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2)
02447 {
02448 return !operator==(v1, v2);
02449 }
02450 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv4& val);
02451 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv4& val);
02452
02462 struct TELEPATHY_QT4_EXPORT SocketAddressIPv6
02463 {
02468 QString address;
02472 ushort port;
02473 };
02474
02475 TELEPATHY_QT4_EXPORT bool operator==(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2);
02476 inline bool operator!=(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2)
02477 {
02478 return !operator==(v1, v2);
02479 }
02480 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv6& val);
02481 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv6& val);
02482
02492 struct TELEPATHY_QT4_EXPORT SocketNetmaskIPv4
02493 {
02498 QString address;
02503 uchar prefixLength;
02504 };
02505
02506 TELEPATHY_QT4_EXPORT bool operator==(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2);
02507 inline bool operator!=(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2)
02508 {
02509 return !operator==(v1, v2);
02510 }
02511 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv4& val);
02512 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv4& val);
02513
02523 struct TELEPATHY_QT4_EXPORT SocketNetmaskIPv6
02524 {
02529 QString address;
02534 uchar prefixLength;
02535 };
02536
02537 TELEPATHY_QT4_EXPORT bool operator==(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2);
02538 inline bool operator!=(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2)
02539 {
02540 return !operator==(v1, v2);
02541 }
02542 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv6& val);
02543 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv6& val);
02544
02555 struct TELEPATHY_QT4_EXPORT StringStringMap : public QMap<QString, QString>
02556 {
02557 inline StringStringMap() : QMap<QString, QString>() {}
02558 inline StringStringMap(const QMap<QString, QString>& a) : QMap<QString, QString>(a) {}
02559
02560 inline StringStringMap& operator=(const QMap<QString, QString>& a)
02561 {
02562 *(static_cast<QMap<QString, QString>*>(this)) = a;
02563 return *this;
02564 }
02565 };
02566
02573 typedef QList<StringStringMap> StringStringMapList;
02574
02585 struct TELEPATHY_QT4_EXPORT StringVariantMap : public QMap<QString, QDBusVariant>
02586 {
02587 inline StringVariantMap() : QMap<QString, QDBusVariant>() {}
02588 inline StringVariantMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
02589
02590 inline StringVariantMap& operator=(const QMap<QString, QDBusVariant>& a)
02591 {
02592 *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
02593 return *this;
02594 }
02595 };
02596
02603 typedef QList<StringVariantMap> StringVariantMapList;
02604
02616 struct TELEPATHY_QT4_EXPORT SupportedSocketMap : public QMap<uint, UIntList>
02617 {
02618 inline SupportedSocketMap() : QMap<uint, UIntList>() {}
02619 inline SupportedSocketMap(const QMap<uint, UIntList>& a) : QMap<uint, UIntList>(a) {}
02620
02621 inline SupportedSocketMap& operator=(const QMap<uint, UIntList>& a)
02622 {
02623 *(static_cast<QMap<uint, UIntList>*>(this)) = a;
02624 return *this;
02625 }
02626 };
02627
02639 struct TELEPATHY_QT4_EXPORT TubeInfo
02640 {
02641 uint identifier;
02642 uint initiator;
02643 uint type;
02644 QString service;
02645 QVariantMap parameters;
02646 uint state;
02647 };
02648
02649 TELEPATHY_QT4_EXPORT bool operator==(const TubeInfo& v1, const TubeInfo& v2);
02650 inline bool operator!=(const TubeInfo& v1, const TubeInfo& v2)
02651 {
02652 return !operator==(v1, v2);
02653 }
02654 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TubeInfo& val);
02655 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TubeInfo& val);
02656
02663 typedef QList<TubeInfo> TubeInfoList;
02664
02675 struct TELEPATHY_QT4_EXPORT ContactCapabilitiesMap : public QMap<uint, RequestableChannelClassList>
02676 {
02677 inline ContactCapabilitiesMap() : QMap<uint, RequestableChannelClassList>() {}
02678 inline ContactCapabilitiesMap(const QMap<uint, RequestableChannelClassList>& a) : QMap<uint, RequestableChannelClassList>(a) {}
02679
02680 inline ContactCapabilitiesMap& operator=(const QMap<uint, RequestableChannelClassList>& a)
02681 {
02682 *(static_cast<QMap<uint, RequestableChannelClassList>*>(this)) = a;
02683 return *this;
02684 }
02685 };
02686
02693 typedef QList<ContactCapabilitiesMap> ContactCapabilitiesMapList;
02694
02706 struct TELEPATHY_QT4_EXPORT ContactInfoMap : public QMap<uint, ContactInfoFieldList>
02707 {
02708 inline ContactInfoMap() : QMap<uint, ContactInfoFieldList>() {}
02709 inline ContactInfoMap(const QMap<uint, ContactInfoFieldList>& a) : QMap<uint, ContactInfoFieldList>(a) {}
02710
02711 inline ContactInfoMap& operator=(const QMap<uint, ContactInfoFieldList>& a)
02712 {
02713 *(static_cast<QMap<uint, ContactInfoFieldList>*>(this)) = a;
02714 return *this;
02715 }
02716 };
02717
02729 struct TELEPATHY_QT4_EXPORT ContactSearchResultMap : public QMap<QString, ContactInfoFieldList>
02730 {
02731 inline ContactSearchResultMap() : QMap<QString, ContactInfoFieldList>() {}
02732 inline ContactSearchResultMap(const QMap<QString, ContactInfoFieldList>& a) : QMap<QString, ContactInfoFieldList>(a) {}
02733
02734 inline ContactSearchResultMap& operator=(const QMap<QString, ContactInfoFieldList>& a)
02735 {
02736 *(static_cast<QMap<QString, ContactInfoFieldList>*>(this)) = a;
02737 return *this;
02738 }
02739 };
02740
02752 struct TELEPATHY_QT4_EXPORT ContactSubscriptionMap : public QMap<uint, ContactSubscriptions>
02753 {
02754 inline ContactSubscriptionMap() : QMap<uint, ContactSubscriptions>() {}
02755 inline ContactSubscriptionMap(const QMap<uint, ContactSubscriptions>& a) : QMap<uint, ContactSubscriptions>(a) {}
02756
02757 inline ContactSubscriptionMap& operator=(const QMap<uint, ContactSubscriptions>& a)
02758 {
02759 *(static_cast<QMap<uint, ContactSubscriptions>*>(this)) = a;
02760 return *this;
02761 }
02762 };
02763
02773 struct TELEPATHY_QT4_EXPORT HandlerCapabilities
02774 {
02780 QString wellKnownName;
02788 StringVariantMapList channelClasses;
02797 QStringList capabilities;
02798 };
02799
02800 TELEPATHY_QT4_EXPORT bool operator==(const HandlerCapabilities& v1, const HandlerCapabilities& v2);
02801 inline bool operator!=(const HandlerCapabilities& v1, const HandlerCapabilities& v2)
02802 {
02803 return !operator==(v1, v2);
02804 }
02805 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HandlerCapabilities& val);
02806 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HandlerCapabilities& val);
02807
02814 typedef QList<HandlerCapabilities> HandlerCapabilitiesList;
02815
02826 struct TELEPATHY_QT4_EXPORT LastActivityAndStatuses
02827 {
02828 uint lastActivity;
02829 MultipleStatusMap statuses;
02830 };
02831
02832 TELEPATHY_QT4_EXPORT bool operator==(const LastActivityAndStatuses& v1, const LastActivityAndStatuses& v2);
02833 inline bool operator!=(const LastActivityAndStatuses& v1, const LastActivityAndStatuses& v2)
02834 {
02835 return !operator==(v1, v2);
02836 }
02837 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LastActivityAndStatuses& val);
02838 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LastActivityAndStatuses& val);
02839
02857 struct TELEPATHY_QT4_EXPORT MailURL
02858 {
02862 QString URL;
02866 uint method;
02871 HTTPPostDataList postData;
02872 };
02873
02874 TELEPATHY_QT4_EXPORT bool operator==(const MailURL& v1, const MailURL& v2);
02875 inline bool operator!=(const MailURL& v1, const MailURL& v2)
02876 {
02877 return !operator==(v1, v2);
02878 }
02879 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailURL& val);
02880 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailURL& val);
02881
02889 struct TELEPATHY_QT4_EXPORT MediaStreamHandlerCandidate
02890 {
02891 QString name;
02892 MediaStreamHandlerTransportList transports;
02893 };
02894
02895 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamHandlerCandidate& v1, const MediaStreamHandlerCandidate& v2);
02896 inline bool operator!=(const MediaStreamHandlerCandidate& v1, const MediaStreamHandlerCandidate& v2)
02897 {
02898 return !operator==(v1, v2);
02899 }
02900 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCandidate& val);
02901 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCandidate& val);
02902
02909 typedef QList<MediaStreamHandlerCandidate> MediaStreamHandlerCandidateList;
02910
02920 struct TELEPATHY_QT4_EXPORT MediaStreamHandlerCodec
02921 {
02925 uint codecID;
02929 QString name;
02933 uint mediaType;
02937 uint clockRate;
02941 uint numberOfChannels;
02945 StringStringMap parameters;
02946 };
02947
02948 TELEPATHY_QT4_EXPORT bool operator==(const MediaStreamHandlerCodec& v1, const MediaStreamHandlerCodec& v2);
02949 inline bool operator!=(const MediaStreamHandlerCodec& v1, const MediaStreamHandlerCodec& v2)
02950 {
02951 return !operator==(v1, v2);
02952 }
02953 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCodec& val);
02954 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCodec& val);
02955
02962 typedef QList<MediaStreamHandlerCodec> MediaStreamHandlerCodecList;
02963
02978 struct TELEPATHY_QT4_EXPORT ServicePointInfo
02979 {
02983 ServicePoint servicePoint;
02990 QStringList serviceIDs;
02991 };
02992
02993 TELEPATHY_QT4_EXPORT bool operator==(const ServicePointInfo& v1, const ServicePointInfo& v2);
02994 inline bool operator!=(const ServicePointInfo& v1, const ServicePointInfo& v2)
02995 {
02996 return !operator==(v1, v2);
02997 }
02998 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePointInfo& val);
02999 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePointInfo& val);
03000
03007 typedef QList<ServicePointInfo> ServicePointInfoList;
03008
03020 struct TELEPATHY_QT4_EXPORT SimpleContactPresences : public QMap<uint, SimplePresence>
03021 {
03022 inline SimpleContactPresences() : QMap<uint, SimplePresence>() {}
03023 inline SimpleContactPresences(const QMap<uint, SimplePresence>& a) : QMap<uint, SimplePresence>(a) {}
03024
03025 inline SimpleContactPresences& operator=(const QMap<uint, SimplePresence>& a)
03026 {
03027 *(static_cast<QMap<uint, SimplePresence>*>(this)) = a;
03028 return *this;
03029 }
03030 };
03031
03042 struct TELEPATHY_QT4_EXPORT SimpleStatusSpecMap : public QMap<QString, SimpleStatusSpec>
03043 {
03044 inline SimpleStatusSpecMap() : QMap<QString, SimpleStatusSpec>() {}
03045 inline SimpleStatusSpecMap(const QMap<QString, SimpleStatusSpec>& a) : QMap<QString, SimpleStatusSpec>(a) {}
03046
03047 inline SimpleStatusSpecMap& operator=(const QMap<QString, SimpleStatusSpec>& a)
03048 {
03049 *(static_cast<QMap<QString, SimpleStatusSpec>*>(this)) = a;
03050 return *this;
03051 }
03052 };
03053
03061 struct TELEPATHY_QT4_EXPORT StatusSpec
03062 {
03063 uint type;
03064 bool maySetOnSelf;
03065 bool exclusive;
03066 StringStringMap parameterTypes;
03067 };
03068
03069 TELEPATHY_QT4_EXPORT bool operator==(const StatusSpec& v1, const StatusSpec& v2);
03070 inline bool operator!=(const StatusSpec& v1, const StatusSpec& v2)
03071 {
03072 return !operator==(v1, v2);
03073 }
03074 TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StatusSpec& val);
03075 TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StatusSpec& val);
03076
03088 struct TELEPATHY_QT4_EXPORT ContactPresences : public QMap<uint, LastActivityAndStatuses>
03089 {
03090 inline ContactPresences() : QMap<uint, LastActivityAndStatuses>() {}
03091 inline ContactPresences(const QMap<uint, LastActivityAndStatuses>& a) : QMap<uint, LastActivityAndStatuses>(a) {}
03092
03093 inline ContactPresences& operator=(const QMap<uint, LastActivityAndStatuses>& a)
03094 {
03095 *(static_cast<QMap<uint, LastActivityAndStatuses>*>(this)) = a;
03096 return *this;
03097 }
03098 };
03099
03108 struct TELEPATHY_QT4_EXPORT StatusSpecMap : public QMap<QString, StatusSpec>
03109 {
03110 inline StatusSpecMap() : QMap<QString, StatusSpec>() {}
03111 inline StatusSpecMap(const QMap<QString, StatusSpec>& a) : QMap<QString, StatusSpec>(a) {}
03112
03113 inline StatusSpecMap& operator=(const QMap<QString, StatusSpec>& a)
03114 {
03115 *(static_cast<QMap<QString, StatusSpec>*>(this)) = a;
03116 return *this;
03117 }
03118 };
03119
03120
03121 }
03122
03123 Q_DECLARE_METATYPE(Tp::AccessControl)
03124 Q_DECLARE_METATYPE(Tp::AliasMap)
03125 Q_DECLARE_METATYPE(Tp::AliasPair)
03126 Q_DECLARE_METATYPE(Tp::AliasPairList)
03127 Q_DECLARE_METATYPE(Tp::Avatar)
03128 Q_DECLARE_METATYPE(Tp::AvatarTokenMap)
03129 Q_DECLARE_METATYPE(Tp::CapabilityChange)
03130 Q_DECLARE_METATYPE(Tp::CapabilityChangeList)
03131 Q_DECLARE_METATYPE(Tp::CapabilityPair)
03132 Q_DECLARE_METATYPE(Tp::CapabilityPairList)
03133 Q_DECLARE_METATYPE(Tp::ChannelCallStateMap)
03134 Q_DECLARE_METATYPE(Tp::ChannelClass)
03135 Q_DECLARE_METATYPE(Tp::ChannelClassList)
03136 Q_DECLARE_METATYPE(Tp::ChannelDetails)
03137 Q_DECLARE_METATYPE(Tp::ChannelDetailsList)
03138 Q_DECLARE_METATYPE(Tp::ChannelInfo)
03139 Q_DECLARE_METATYPE(Tp::ChannelInfoList)
03140 Q_DECLARE_METATYPE(Tp::ChannelOriginatorMap)
03141 Q_DECLARE_METATYPE(Tp::ChatStateMap)
03142 Q_DECLARE_METATYPE(Tp::ContactAttributesMap)
03143 Q_DECLARE_METATYPE(Tp::ContactCapabilitiesMap)
03144 Q_DECLARE_METATYPE(Tp::ContactCapabilitiesMapList)
03145 Q_DECLARE_METATYPE(Tp::ContactCapability)
03146 Q_DECLARE_METATYPE(Tp::ContactCapabilityList)
03147 Q_DECLARE_METATYPE(Tp::ContactClientTypes)
03148 Q_DECLARE_METATYPE(Tp::ContactInfoField)
03149 Q_DECLARE_METATYPE(Tp::ContactInfoFieldList)
03150 Q_DECLARE_METATYPE(Tp::ContactInfoMap)
03151 Q_DECLARE_METATYPE(Tp::ContactLocations)
03152 Q_DECLARE_METATYPE(Tp::ContactPresences)
03153 Q_DECLARE_METATYPE(Tp::ContactSearchMap)
03154 Q_DECLARE_METATYPE(Tp::ContactSearchResultMap)
03155 Q_DECLARE_METATYPE(Tp::ContactSubscriptionMap)
03156 Q_DECLARE_METATYPE(Tp::ContactSubscriptions)
03157 Q_DECLARE_METATYPE(Tp::CurrencyAmount)
03158 Q_DECLARE_METATYPE(Tp::DBusTubeMember)
03159 Q_DECLARE_METATYPE(Tp::DBusTubeMemberList)
03160 Q_DECLARE_METATYPE(Tp::DBusTubeParticipants)
03161 Q_DECLARE_METATYPE(Tp::FieldSpec)
03162 Q_DECLARE_METATYPE(Tp::FieldSpecs)
03163 Q_DECLARE_METATYPE(Tp::HTTPPostData)
03164 Q_DECLARE_METATYPE(Tp::HTTPPostDataList)
03165 Q_DECLARE_METATYPE(Tp::HandleIdentifierMap)
03166 Q_DECLARE_METATYPE(Tp::HandleOwnerMap)
03167 Q_DECLARE_METATYPE(Tp::HandlerCapabilities)
03168 Q_DECLARE_METATYPE(Tp::HandlerCapabilitiesList)
03169 Q_DECLARE_METATYPE(Tp::LastActivityAndStatuses)
03170 Q_DECLARE_METATYPE(Tp::LocalPendingInfo)
03171 Q_DECLARE_METATYPE(Tp::LocalPendingInfoList)
03172 Q_DECLARE_METATYPE(Tp::Location)
03173 Q_DECLARE_METATYPE(Tp::Mail)
03174 Q_DECLARE_METATYPE(Tp::MailAddress)
03175 Q_DECLARE_METATYPE(Tp::MailAddressList)
03176 Q_DECLARE_METATYPE(Tp::MailList)
03177 Q_DECLARE_METATYPE(Tp::MailURL)
03178 Q_DECLARE_METATYPE(Tp::MediaSessionHandlerInfo)
03179 Q_DECLARE_METATYPE(Tp::MediaSessionHandlerInfoList)
03180 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCandidate)
03181 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCandidateList)
03182 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCodec)
03183 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCodecList)
03184 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerTransport)
03185 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerTransportList)
03186 Q_DECLARE_METATYPE(Tp::MediaStreamInfo)
03187 Q_DECLARE_METATYPE(Tp::MediaStreamInfoList)
03188 Q_DECLARE_METATYPE(Tp::MessagePart)
03189 Q_DECLARE_METATYPE(Tp::MessagePartContentMap)
03190 Q_DECLARE_METATYPE(Tp::MessagePartList)
03191 Q_DECLARE_METATYPE(Tp::MessagePartListList)
03192 Q_DECLARE_METATYPE(Tp::MultipleStatusMap)
03193 Q_DECLARE_METATYPE(Tp::ObjectImmutablePropertiesMap)
03194 Q_DECLARE_METATYPE(Tp::ObjectImmutablePropertiesMapList)
03195 Q_DECLARE_METATYPE(Tp::ObjectPathList)
03196 Q_DECLARE_METATYPE(Tp::ParamSpec)
03197 Q_DECLARE_METATYPE(Tp::ParamSpecList)
03198 Q_DECLARE_METATYPE(Tp::PendingTextMessage)
03199 Q_DECLARE_METATYPE(Tp::PendingTextMessageList)
03200 Q_DECLARE_METATYPE(Tp::PropertyFlagsChange)
03201 Q_DECLARE_METATYPE(Tp::PropertyFlagsChangeList)
03202 Q_DECLARE_METATYPE(Tp::PropertySpec)
03203 Q_DECLARE_METATYPE(Tp::PropertySpecList)
03204 Q_DECLARE_METATYPE(Tp::PropertyValue)
03205 Q_DECLARE_METATYPE(Tp::PropertyValueList)
03206 Q_DECLARE_METATYPE(Tp::ProtocolPropertiesMap)
03207 Q_DECLARE_METATYPE(Tp::QualifiedPropertyValueMap)
03208 Q_DECLARE_METATYPE(Tp::QualifiedPropertyValueMapList)
03209 Q_DECLARE_METATYPE(Tp::RequestableChannelClass)
03210 Q_DECLARE_METATYPE(Tp::RequestableChannelClassList)
03211 Q_DECLARE_METATYPE(Tp::RichPresenceAccessControl)
03212 Q_DECLARE_METATYPE(Tp::RoomInfo)
03213 Q_DECLARE_METATYPE(Tp::RoomInfoList)
03214 Q_DECLARE_METATYPE(Tp::ServicePoint)
03215 Q_DECLARE_METATYPE(Tp::ServicePointInfo)
03216 Q_DECLARE_METATYPE(Tp::ServicePointInfoList)
03217 Q_DECLARE_METATYPE(Tp::SimpleContactPresences)
03218 Q_DECLARE_METATYPE(Tp::SimplePresence)
03219 Q_DECLARE_METATYPE(Tp::SimpleStatusSpec)
03220 Q_DECLARE_METATYPE(Tp::SimpleStatusSpecMap)
03221 Q_DECLARE_METATYPE(Tp::SingleContactAttributesMap)
03222 Q_DECLARE_METATYPE(Tp::SocketAddressIP)
03223 Q_DECLARE_METATYPE(Tp::SocketAddressIPList)
03224 Q_DECLARE_METATYPE(Tp::SocketAddressIPv4)
03225 Q_DECLARE_METATYPE(Tp::SocketAddressIPv6)
03226 Q_DECLARE_METATYPE(Tp::SocketNetmaskIPv4)
03227 Q_DECLARE_METATYPE(Tp::SocketNetmaskIPv6)
03228 Q_DECLARE_METATYPE(Tp::StatusSpec)
03229 Q_DECLARE_METATYPE(Tp::StatusSpecMap)
03230 Q_DECLARE_METATYPE(Tp::StringStringMap)
03231 Q_DECLARE_METATYPE(Tp::StringStringMapList)
03232 Q_DECLARE_METATYPE(Tp::StringVariantMap)
03233 Q_DECLARE_METATYPE(Tp::StringVariantMapList)
03234 Q_DECLARE_METATYPE(Tp::SupportedSocketMap)
03235 Q_DECLARE_METATYPE(Tp::TubeInfo)
03236 Q_DECLARE_METATYPE(Tp::TubeInfoList)
03237 Q_DECLARE_METATYPE(Tp::UIntList)