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

types-body.hpp

    00001 /* Generated from Telepathy D-Bus Interface Specification, TelepathyQt copy, version 0.17.7 */
    00002
    00003 #define IN_TP_QT_HEADER
    00004 #include "TelepathyQt/types.h"
    00005
    00006 namespace Tp
    00007 {
    00008 TP_QT_EXPORT bool operator==(const AccessControl& v1, const AccessControl& v2)
    00009 {
    00010     return ((v1.type == v2.type)
    00011             && (v1.detail.variant() == v2.detail.variant())
    00012             );
    00013 }
    00014
    00015 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AccessControl& val)
    00016 {
    00017     arg.beginStructure();
    00018     arg << val.type << val.detail;
    00019     arg.endStructure();
    00020     return arg;
    00021 }
    00022
    00023 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AccessControl& val)
    00024 {
    00025     arg.beginStructure();
    00026     arg >> val.type >> val.detail;
    00027     arg.endStructure();
    00028     return arg;
    00029 }
    00030
    00031 TP_QT_EXPORT bool operator==(const AliasPair& v1, const AliasPair& v2)
    00032 {
    00033     return ((v1.handle == v2.handle)
    00034             && (v1.alias == v2.alias)
    00035             );
    00036 }
    00037
    00038 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AliasPair& val)
    00039 {
    00040     arg.beginStructure();
    00041     arg << val.handle << val.alias;
    00042     arg.endStructure();
    00043     return arg;
    00044 }
    00045
    00046 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AliasPair& val)
    00047 {
    00048     arg.beginStructure();
    00049     arg >> val.handle >> val.alias;
    00050     arg.endStructure();
    00051     return arg;
    00052 }
    00053
    00054 TP_QT_EXPORT bool operator==(const Avatar& v1, const Avatar& v2)
    00055 {
    00056     return ((v1.avatarData == v2.avatarData)
    00057             && (v1.MIMEType == v2.MIMEType)
    00058             );
    00059 }
    00060
    00061 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Avatar& val)
    00062 {
    00063     arg.beginStructure();
    00064     arg << val.avatarData << val.MIMEType;
    00065     arg.endStructure();
    00066     return arg;
    00067 }
    00068
    00069 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Avatar& val)
    00070 {
    00071     arg.beginStructure();
    00072     arg >> val.avatarData >> val.MIMEType;
    00073     arg.endStructure();
    00074     return arg;
    00075 }
    00076
    00077 TP_QT_EXPORT bool operator==(const CallStateReason& v1, const CallStateReason& v2)
    00078 {
    00079     return ((v1.actor == v2.actor)
    00080             && (v1.reason == v2.reason)
    00081             && (v1.DBusReason == v2.DBusReason)
    00082             && (v1.message == v2.message)
    00083             );
    00084 }
    00085
    00086 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CallStateReason& val)
    00087 {
    00088     arg.beginStructure();
    00089     arg << val.actor << val.reason << val.DBusReason << val.message;
    00090     arg.endStructure();
    00091     return arg;
    00092 }
    00093
    00094 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CallStateReason& val)
    00095 {
    00096     arg.beginStructure();
    00097     arg >> val.actor >> val.reason >> val.DBusReason >> val.message;
    00098     arg.endStructure();
    00099     return arg;
    00100 }
    00101
    00102 TP_QT_EXPORT bool operator==(const Candidate& v1, const Candidate& v2)
    00103 {
    00104     return ((v1.component == v2.component)
    00105             && (v1.IP == v2.IP)
    00106             && (v1.port == v2.port)
    00107             && (v1.info == v2.info)
    00108             );
    00109 }
    00110
    00111 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Candidate& val)
    00112 {
    00113     arg.beginStructure();
    00114     arg << val.component << val.IP << val.port << val.info;
    00115     arg.endStructure();
    00116     return arg;
    00117 }
    00118
    00119 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Candidate& val)
    00120 {
    00121     arg.beginStructure();
    00122     arg >> val.component >> val.IP >> val.port >> val.info;
    00123     arg.endStructure();
    00124     return arg;
    00125 }
    00126
    00127 TP_QT_EXPORT bool operator==(const CapabilityChange& v1, const CapabilityChange& v2)
    00128 {
    00129     return ((v1.handle == v2.handle)
    00130             && (v1.channelType == v2.channelType)
    00131             && (v1.oldGenericFlags == v2.oldGenericFlags)
    00132             && (v1.newGenericFlags == v2.newGenericFlags)
    00133             && (v1.oldTypeSpecificFlags == v2.oldTypeSpecificFlags)
    00134             && (v1.newTypeSpecificFlags == v2.newTypeSpecificFlags)
    00135             );
    00136 }
    00137
    00138 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityChange& val)
    00139 {
    00140     arg.beginStructure();
    00141     arg << val.handle << val.channelType << val.oldGenericFlags << val.newGenericFlags << val.oldTypeSpecificFlags << val.newTypeSpecificFlags;
    00142     arg.endStructure();
    00143     return arg;
    00144 }
    00145
    00146 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityChange& val)
    00147 {
    00148     arg.beginStructure();
    00149     arg >> val.handle >> val.channelType >> val.oldGenericFlags >> val.newGenericFlags >> val.oldTypeSpecificFlags >> val.newTypeSpecificFlags;
    00150     arg.endStructure();
    00151     return arg;
    00152 }
    00153
    00154 TP_QT_EXPORT bool operator==(const CapabilityPair& v1, const CapabilityPair& v2)
    00155 {
    00156     return ((v1.channelType == v2.channelType)
    00157             && (v1.typeSpecificFlags == v2.typeSpecificFlags)
    00158             );
    00159 }
    00160
    00161 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityPair& val)
    00162 {
    00163     arg.beginStructure();
    00164     arg << val.channelType << val.typeSpecificFlags;
    00165     arg.endStructure();
    00166     return arg;
    00167 }
    00168
    00169 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityPair& val)
    00170 {
    00171     arg.beginStructure();
    00172     arg >> val.channelType >> val.typeSpecificFlags;
    00173     arg.endStructure();
    00174     return arg;
    00175 }
    00176
    00177 TP_QT_EXPORT bool operator==(const CaptchaInfo& v1, const CaptchaInfo& v2)
    00178 {
    00179     return ((v1.ID == v2.ID)
    00180             && (v1.type == v2.type)
    00181             && (v1.label == v2.label)
    00182             && (v1.flags == v2.flags)
    00183             && (v1.availableMIMETypes == v2.availableMIMETypes)
    00184             );
    00185 }
    00186
    00187 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CaptchaInfo& val)
    00188 {
    00189     arg.beginStructure();
    00190     arg << val.ID << val.type << val.label << val.flags << val.availableMIMETypes;
    00191     arg.endStructure();
    00192     return arg;
    00193 }
    00194
    00195 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CaptchaInfo& val)
    00196 {
    00197     arg.beginStructure();
    00198     arg >> val.ID >> val.type >> val.label >> val.flags >> val.availableMIMETypes;
    00199     arg.endStructure();
    00200     return arg;
    00201 }
    00202
    00203 TP_QT_EXPORT bool operator==(const ChannelDetails& v1, const ChannelDetails& v2)
    00204 {
    00205     return ((v1.channel == v2.channel)
    00206             && (v1.properties == v2.properties)
    00207             );
    00208 }
    00209
    00210 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelDetails& val)
    00211 {
    00212     arg.beginStructure();
    00213     arg << val.channel << val.properties;
    00214     arg.endStructure();
    00215     return arg;
    00216 }
    00217
    00218 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelDetails& val)
    00219 {
    00220     arg.beginStructure();
    00221     arg >> val.channel >> val.properties;
    00222     arg.endStructure();
    00223     return arg;
    00224 }
    00225
    00226 TP_QT_EXPORT bool operator==(const ChannelInfo& v1, const ChannelInfo& v2)
    00227 {
    00228     return ((v1.channel == v2.channel)
    00229             && (v1.channelType == v2.channelType)
    00230             && (v1.handleType == v2.handleType)
    00231             && (v1.handle == v2.handle)
    00232             );
    00233 }
    00234
    00235 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelInfo& val)
    00236 {
    00237     arg.beginStructure();
    00238     arg << val.channel << val.channelType << val.handleType << val.handle;
    00239     arg.endStructure();
    00240     return arg;
    00241 }
    00242
    00243 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelInfo& val)
    00244 {
    00245     arg.beginStructure();
    00246     arg >> val.channel >> val.channelType >> val.handleType >> val.handle;
    00247     arg.endStructure();
    00248     return arg;
    00249 }
    00250
    00251 TP_QT_EXPORT bool operator==(const ContactCapability& v1, const ContactCapability& v2)
    00252 {
    00253     return ((v1.handle == v2.handle)
    00254             && (v1.channelType == v2.channelType)
    00255             && (v1.genericFlags == v2.genericFlags)
    00256             && (v1.typeSpecificFlags == v2.typeSpecificFlags)
    00257             );
    00258 }
    00259
    00260 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactCapability& val)
    00261 {
    00262     arg.beginStructure();
    00263     arg << val.handle << val.channelType << val.genericFlags << val.typeSpecificFlags;
    00264     arg.endStructure();
    00265     return arg;
    00266 }
    00267
    00268 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactCapability& val)
    00269 {
    00270     arg.beginStructure();
    00271     arg >> val.handle >> val.channelType >> val.genericFlags >> val.typeSpecificFlags;
    00272     arg.endStructure();
    00273     return arg;
    00274 }
    00275
    00276 TP_QT_EXPORT bool operator==(const ContactInfoField& v1, const ContactInfoField& v2)
    00277 {
    00278     return ((v1.fieldName == v2.fieldName)
    00279             && (v1.parameters == v2.parameters)
    00280             && (v1.fieldValue == v2.fieldValue)
    00281             );
    00282 }
    00283
    00284 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactInfoField& val)
    00285 {
    00286     arg.beginStructure();
    00287     arg << val.fieldName << val.parameters << val.fieldValue;
    00288     arg.endStructure();
    00289     return arg;
    00290 }
    00291
    00292 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactInfoField& val)
    00293 {
    00294     arg.beginStructure();
    00295     arg >> val.fieldName >> val.parameters >> val.fieldValue;
    00296     arg.endStructure();
    00297     return arg;
    00298 }
    00299
    00300 TP_QT_EXPORT bool operator==(const ContactSubscriptions& v1, const ContactSubscriptions& v2)
    00301 {
    00302     return ((v1.subscribe == v2.subscribe)
    00303             && (v1.publish == v2.publish)
    00304             && (v1.publishRequest == v2.publishRequest)
    00305             );
    00306 }
    00307
    00308 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactSubscriptions& val)
    00309 {
    00310     arg.beginStructure();
    00311     arg << val.subscribe << val.publish << val.publishRequest;
    00312     arg.endStructure();
    00313     return arg;
    00314 }
    00315
    00316 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactSubscriptions& val)
    00317 {
    00318     arg.beginStructure();
    00319     arg >> val.subscribe >> val.publish >> val.publishRequest;
    00320     arg.endStructure();
    00321     return arg;
    00322 }
    00323
    00324 TP_QT_EXPORT bool operator==(const CurrencyAmount& v1, const CurrencyAmount& v2)
    00325 {
    00326     return ((v1.amount == v2.amount)
    00327             && (v1.scale == v2.scale)
    00328             && (v1.currency == v2.currency)
    00329             );
    00330 }
    00331
    00332 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CurrencyAmount& val)
    00333 {
    00334     arg.beginStructure();
    00335     arg << val.amount << val.scale << val.currency;
    00336     arg.endStructure();
    00337     return arg;
    00338 }
    00339
    00340 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CurrencyAmount& val)
    00341 {
    00342     arg.beginStructure();
    00343     arg >> val.amount >> val.scale >> val.currency;
    00344     arg.endStructure();
    00345     return arg;
    00346 }
    00347
    00348 TP_QT_EXPORT bool operator==(const DBusTubeMember& v1, const DBusTubeMember& v2)
    00349 {
    00350     return ((v1.handle == v2.handle)
    00351             && (v1.uniqueName == v2.uniqueName)
    00352             );
    00353 }
    00354
    00355 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DBusTubeMember& val)
    00356 {
    00357     arg.beginStructure();
    00358     arg << val.handle << val.uniqueName;
    00359     arg.endStructure();
    00360     return arg;
    00361 }
    00362
    00363 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DBusTubeMember& val)
    00364 {
    00365     arg.beginStructure();
    00366     arg >> val.handle >> val.uniqueName;
    00367     arg.endStructure();
    00368     return arg;
    00369 }
    00370
    00371 TP_QT_EXPORT bool operator==(const FieldSpec& v1, const FieldSpec& v2)
    00372 {
    00373     return ((v1.name == v2.name)
    00374             && (v1.parameters == v2.parameters)
    00375             && (v1.flags == v2.flags)
    00376             && (v1.max == v2.max)
    00377             );
    00378 }
    00379
    00380 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const FieldSpec& val)
    00381 {
    00382     arg.beginStructure();
    00383     arg << val.name << val.parameters << val.flags << val.max;
    00384     arg.endStructure();
    00385     return arg;
    00386 }
    00387
    00388 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, FieldSpec& val)
    00389 {
    00390     arg.beginStructure();
    00391     arg >> val.name >> val.parameters >> val.flags >> val.max;
    00392     arg.endStructure();
    00393     return arg;
    00394 }
    00395
    00396 TP_QT_EXPORT bool operator==(const HTTPPostData& v1, const HTTPPostData& v2)
    00397 {
    00398     return ((v1.key == v2.key)
    00399             && (v1.value == v2.value)
    00400             );
    00401 }
    00402
    00403 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HTTPPostData& val)
    00404 {
    00405     arg.beginStructure();
    00406     arg << val.key << val.value;
    00407     arg.endStructure();
    00408     return arg;
    00409 }
    00410
    00411 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HTTPPostData& val)
    00412 {
    00413     arg.beginStructure();
    00414     arg >> val.key >> val.value;
    00415     arg.endStructure();
    00416     return arg;
    00417 }
    00418
    00419 TP_QT_EXPORT bool operator==(const LocalPendingInfo& v1, const LocalPendingInfo& v2)
    00420 {
    00421     return ((v1.toBeAdded == v2.toBeAdded)
    00422             && (v1.actor == v2.actor)
    00423             && (v1.reason == v2.reason)
    00424             && (v1.message == v2.message)
    00425             );
    00426 }
    00427
    00428 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LocalPendingInfo& val)
    00429 {
    00430     arg.beginStructure();
    00431     arg << val.toBeAdded << val.actor << val.reason << val.message;
    00432     arg.endStructure();
    00433     return arg;
    00434 }
    00435
    00436 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LocalPendingInfo& val)
    00437 {
    00438     arg.beginStructure();
    00439     arg >> val.toBeAdded >> val.actor >> val.reason >> val.message;
    00440     arg.endStructure();
    00441     return arg;
    00442 }
    00443
    00444 TP_QT_EXPORT bool operator==(const MailAddress& v1, const MailAddress& v2)
    00445 {
    00446     return ((v1.name == v2.name)
    00447             && (v1.address == v2.address)
    00448             );
    00449 }
    00450
    00451 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailAddress& val)
    00452 {
    00453     arg.beginStructure();
    00454     arg << val.name << val.address;
    00455     arg.endStructure();
    00456     return arg;
    00457 }
    00458
    00459 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailAddress& val)
    00460 {
    00461     arg.beginStructure();
    00462     arg >> val.name >> val.address;
    00463     arg.endStructure();
    00464     return arg;
    00465 }
    00466
    00467 TP_QT_EXPORT bool operator==(const MediaDescriptionOffer& v1, const MediaDescriptionOffer& v2)
    00468 {
    00469     return ((v1.mediaDescription == v2.mediaDescription)
    00470             && (v1.properties == v2.properties)
    00471             );
    00472 }
    00473
    00474 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaDescriptionOffer& val)
    00475 {
    00476     arg.beginStructure();
    00477     arg << val.mediaDescription << val.properties;
    00478     arg.endStructure();
    00479     return arg;
    00480 }
    00481
    00482 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaDescriptionOffer& val)
    00483 {
    00484     arg.beginStructure();
    00485     arg >> val.mediaDescription >> val.properties;
    00486     arg.endStructure();
    00487     return arg;
    00488 }
    00489
    00490 TP_QT_EXPORT bool operator==(const MediaSessionHandlerInfo& v1, const MediaSessionHandlerInfo& v2)
    00491 {
    00492     return ((v1.sessionHandler == v2.sessionHandler)
    00493             && (v1.mediaSessionType == v2.mediaSessionType)
    00494             );
    00495 }
    00496
    00497 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaSessionHandlerInfo& val)
    00498 {
    00499     arg.beginStructure();
    00500     arg << val.sessionHandler << val.mediaSessionType;
    00501     arg.endStructure();
    00502     return arg;
    00503 }
    00504
    00505 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaSessionHandlerInfo& val)
    00506 {
    00507     arg.beginStructure();
    00508     arg >> val.sessionHandler >> val.mediaSessionType;
    00509     arg.endStructure();
    00510     return arg;
    00511 }
    00512
    00513 TP_QT_EXPORT bool operator==(const MediaStreamHandlerTransport& v1, const MediaStreamHandlerTransport& v2)
    00514 {
    00515     return ((v1.componentNumber == v2.componentNumber)
    00516             && (v1.IPAddress == v2.IPAddress)
    00517             && (v1.port == v2.port)
    00518             && (v1.protocol == v2.protocol)
    00519             && (v1.subtype == v2.subtype)
    00520             && (v1.profile == v2.profile)
    00521             && (v1.preferenceValue == v2.preferenceValue)
    00522             && (v1.transportType == v2.transportType)
    00523             && (v1.username == v2.username)
    00524             && (v1.password == v2.password)
    00525             );
    00526 }
    00527
    00528 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerTransport& val)
    00529 {
    00530     arg.beginStructure();
    00531     arg << val.componentNumber << val.IPAddress << val.port << val.protocol << val.subtype << val.profile << val.preferenceValue << val.transportType << val.username << val.password;
    00532     arg.endStructure();
    00533     return arg;
    00534 }
    00535
    00536 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerTransport& val)
    00537 {
    00538     arg.beginStructure();
    00539     arg >> val.componentNumber >> val.IPAddress >> val.port >> val.protocol >> val.subtype >> val.profile >> val.preferenceValue >> val.transportType >> val.username >> val.password;
    00540     arg.endStructure();
    00541     return arg;
    00542 }
    00543
    00544 TP_QT_EXPORT bool operator==(const MediaStreamInfo& v1, const MediaStreamInfo& v2)
    00545 {
    00546     return ((v1.identifier == v2.identifier)
    00547             && (v1.contact == v2.contact)
    00548             && (v1.type == v2.type)
    00549             && (v1.state == v2.state)
    00550             && (v1.direction == v2.direction)
    00551             && (v1.pendingSendFlags == v2.pendingSendFlags)
    00552             );
    00553 }
    00554
    00555 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamInfo& val)
    00556 {
    00557     arg.beginStructure();
    00558     arg << val.identifier << val.contact << val.type << val.state << val.direction << val.pendingSendFlags;
    00559     arg.endStructure();
    00560     return arg;
    00561 }
    00562
    00563 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamInfo& val)
    00564 {
    00565     arg.beginStructure();
    00566     arg >> val.identifier >> val.contact >> val.type >> val.state >> val.direction >> val.pendingSendFlags;
    00567     arg.endStructure();
    00568     return arg;
    00569 }
    00570
    00571 TP_QT_EXPORT bool operator==(const NotDelegatedError& v1, const NotDelegatedError& v2)
    00572 {
    00573     return ((v1.errorName == v2.errorName)
    00574             && (v1.errorMessage == v2.errorMessage)
    00575             );
    00576 }
    00577
    00578 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const NotDelegatedError& val)
    00579 {
    00580     arg.beginStructure();
    00581     arg << val.errorName << val.errorMessage;
    00582     arg.endStructure();
    00583     return arg;
    00584 }
    00585
    00586 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, NotDelegatedError& val)
    00587 {
    00588     arg.beginStructure();
    00589     arg >> val.errorName >> val.errorMessage;
    00590     arg.endStructure();
    00591     return arg;
    00592 }
    00593
    00594 TP_QT_EXPORT bool operator==(const ParamSpec& v1, const ParamSpec& v2)
    00595 {
    00596     return ((v1.name == v2.name)
    00597             && (v1.flags == v2.flags)
    00598             && (v1.signature == v2.signature)
    00599             && (v1.defaultValue.variant() == v2.defaultValue.variant())
    00600             );
    00601 }
    00602
    00603 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ParamSpec& val)
    00604 {
    00605     arg.beginStructure();
    00606     arg << val.name << val.flags << val.signature << val.defaultValue;
    00607     arg.endStructure();
    00608     return arg;
    00609 }
    00610
    00611 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ParamSpec& val)
    00612 {
    00613     arg.beginStructure();
    00614     arg >> val.name >> val.flags >> val.signature >> val.defaultValue;
    00615     arg.endStructure();
    00616     return arg;
    00617 }
    00618
    00619 TP_QT_EXPORT bool operator==(const PendingTextMessage& v1, const PendingTextMessage& v2)
    00620 {
    00621     return ((v1.identifier == v2.identifier)
    00622             && (v1.unixTimestamp == v2.unixTimestamp)
    00623             && (v1.sender == v2.sender)
    00624             && (v1.messageType == v2.messageType)
    00625             && (v1.flags == v2.flags)
    00626             && (v1.text == v2.text)
    00627             );
    00628 }
    00629
    00630 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PendingTextMessage& val)
    00631 {
    00632     arg.beginStructure();
    00633     arg << val.identifier << val.unixTimestamp << val.sender << val.messageType << val.flags << val.text;
    00634     arg.endStructure();
    00635     return arg;
    00636 }
    00637
    00638 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PendingTextMessage& val)
    00639 {
    00640     arg.beginStructure();
    00641     arg >> val.identifier >> val.unixTimestamp >> val.sender >> val.messageType >> val.flags >> val.text;
    00642     arg.endStructure();
    00643     return arg;
    00644 }
    00645
    00646 TP_QT_EXPORT bool operator==(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2)
    00647 {
    00648     return ((v1.propertyID == v2.propertyID)
    00649             && (v1.newFlags == v2.newFlags)
    00650             );
    00651 }
    00652
    00653 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyFlagsChange& val)
    00654 {
    00655     arg.beginStructure();
    00656     arg << val.propertyID << val.newFlags;
    00657     arg.endStructure();
    00658     return arg;
    00659 }
    00660
    00661 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyFlagsChange& val)
    00662 {
    00663     arg.beginStructure();
    00664     arg >> val.propertyID >> val.newFlags;
    00665     arg.endStructure();
    00666     return arg;
    00667 }
    00668
    00669 TP_QT_EXPORT bool operator==(const PropertySpec& v1, const PropertySpec& v2)
    00670 {
    00671     return ((v1.propertyID == v2.propertyID)
    00672             && (v1.name == v2.name)
    00673             && (v1.signature == v2.signature)
    00674             && (v1.flags == v2.flags)
    00675             );
    00676 }
    00677
    00678 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertySpec& val)
    00679 {
    00680     arg.beginStructure();
    00681     arg << val.propertyID << val.name << val.signature << val.flags;
    00682     arg.endStructure();
    00683     return arg;
    00684 }
    00685
    00686 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertySpec& val)
    00687 {
    00688     arg.beginStructure();
    00689     arg >> val.propertyID >> val.name >> val.signature >> val.flags;
    00690     arg.endStructure();
    00691     return arg;
    00692 }
    00693
    00694 TP_QT_EXPORT bool operator==(const PropertyValue& v1, const PropertyValue& v2)
    00695 {
    00696     return ((v1.identifier == v2.identifier)
    00697             && (v1.value.variant() == v2.value.variant())
    00698             );
    00699 }
    00700
    00701 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyValue& val)
    00702 {
    00703     arg.beginStructure();
    00704     arg << val.identifier << val.value;
    00705     arg.endStructure();
    00706     return arg;
    00707 }
    00708
    00709 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyValue& val)
    00710 {
    00711     arg.beginStructure();
    00712     arg >> val.identifier >> val.value;
    00713     arg.endStructure();
    00714     return arg;
    00715 }
    00716
    00717 TP_QT_EXPORT bool operator==(const RTCPFeedbackMessage& v1, const RTCPFeedbackMessage& v2)
    00718 {
    00719     return ((v1.type == v2.type)
    00720             && (v1.subtype == v2.subtype)
    00721             && (v1.parameters == v2.parameters)
    00722             );
    00723 }
    00724
    00725 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTCPFeedbackMessage& val)
    00726 {
    00727     arg.beginStructure();
    00728     arg << val.type << val.subtype << val.parameters;
    00729     arg.endStructure();
    00730     return arg;
    00731 }
    00732
    00733 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTCPFeedbackMessage& val)
    00734 {
    00735     arg.beginStructure();
    00736     arg >> val.type >> val.subtype >> val.parameters;
    00737     arg.endStructure();
    00738     return arg;
    00739 }
    00740
    00741 TP_QT_EXPORT bool operator==(const RTPHeaderExtension& v1, const RTPHeaderExtension& v2)
    00742 {
    00743     return ((v1.ID == v2.ID)
    00744             && (v1.direction == v2.direction)
    00745             && (v1.URI == v2.URI)
    00746             && (v1.parameters == v2.parameters)
    00747             );
    00748 }
    00749
    00750 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTPHeaderExtension& val)
    00751 {
    00752     arg.beginStructure();
    00753     arg << val.ID << val.direction << val.URI << val.parameters;
    00754     arg.endStructure();
    00755     return arg;
    00756 }
    00757
    00758 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTPHeaderExtension& val)
    00759 {
    00760     arg.beginStructure();
    00761     arg >> val.ID >> val.direction >> val.URI >> val.parameters;
    00762     arg.endStructure();
    00763     return arg;
    00764 }
    00765
    00766 TP_QT_EXPORT bool operator==(const RequestableChannelClass& v1, const RequestableChannelClass& v2)
    00767 {
    00768     return ((v1.fixedProperties == v2.fixedProperties)
    00769             && (v1.allowedProperties == v2.allowedProperties)
    00770             );
    00771 }
    00772
    00773 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RequestableChannelClass& val)
    00774 {
    00775     arg.beginStructure();
    00776     arg << val.fixedProperties << val.allowedProperties;
    00777     arg.endStructure();
    00778     return arg;
    00779 }
    00780
    00781 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RequestableChannelClass& val)
    00782 {
    00783     arg.beginStructure();
    00784     arg >> val.fixedProperties >> val.allowedProperties;
    00785     arg.endStructure();
    00786     return arg;
    00787 }
    00788
    00789 TP_QT_EXPORT bool operator==(const RichPresenceAccessControl& v1, const RichPresenceAccessControl& v2)
    00790 {
    00791     return ((v1.type == v2.type)
    00792             && (v1.detail.variant() == v2.detail.variant())
    00793             );
    00794 }
    00795
    00796 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RichPresenceAccessControl& val)
    00797 {
    00798     arg.beginStructure();
    00799     arg << val.type << val.detail;
    00800     arg.endStructure();
    00801     return arg;
    00802 }
    00803
    00804 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RichPresenceAccessControl& val)
    00805 {
    00806     arg.beginStructure();
    00807     arg >> val.type >> val.detail;
    00808     arg.endStructure();
    00809     return arg;
    00810 }
    00811
    00812 TP_QT_EXPORT bool operator==(const RoomInfo& v1, const RoomInfo& v2)
    00813 {
    00814     return ((v1.handle == v2.handle)
    00815             && (v1.channelType == v2.channelType)
    00816             && (v1.info == v2.info)
    00817             );
    00818 }
    00819
    00820 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RoomInfo& val)
    00821 {
    00822     arg.beginStructure();
    00823     arg << val.handle << val.channelType << val.info;
    00824     arg.endStructure();
    00825     return arg;
    00826 }
    00827
    00828 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RoomInfo& val)
    00829 {
    00830     arg.beginStructure();
    00831     arg >> val.handle >> val.channelType >> val.info;
    00832     arg.endStructure();
    00833     return arg;
    00834 }
    00835
    00836 TP_QT_EXPORT bool operator==(const ServicePoint& v1, const ServicePoint& v2)
    00837 {
    00838     return ((v1.servicePointType == v2.servicePointType)
    00839             && (v1.service == v2.service)
    00840             );
    00841 }
    00842
    00843 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePoint& val)
    00844 {
    00845     arg.beginStructure();
    00846     arg << val.servicePointType << val.service;
    00847     arg.endStructure();
    00848     return arg;
    00849 }
    00850
    00851 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePoint& val)
    00852 {
    00853     arg.beginStructure();
    00854     arg >> val.servicePointType >> val.service;
    00855     arg.endStructure();
    00856     return arg;
    00857 }
    00858
    00859 TP_QT_EXPORT bool operator==(const SimplePresence& v1, const SimplePresence& v2)
    00860 {
    00861     return ((v1.type == v2.type)
    00862             && (v1.status == v2.status)
    00863             && (v1.statusMessage == v2.statusMessage)
    00864             );
    00865 }
    00866
    00867 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimplePresence& val)
    00868 {
    00869     arg.beginStructure();
    00870     arg << val.type << val.status << val.statusMessage;
    00871     arg.endStructure();
    00872     return arg;
    00873 }
    00874
    00875 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimplePresence& val)
    00876 {
    00877     arg.beginStructure();
    00878     arg >> val.type >> val.status >> val.statusMessage;
    00879     arg.endStructure();
    00880     return arg;
    00881 }
    00882
    00883 TP_QT_EXPORT bool operator==(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2)
    00884 {
    00885     return ((v1.type == v2.type)
    00886             && (v1.maySetOnSelf == v2.maySetOnSelf)
    00887             && (v1.canHaveMessage == v2.canHaveMessage)
    00888             );
    00889 }
    00890
    00891 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimpleStatusSpec& val)
    00892 {
    00893     arg.beginStructure();
    00894     arg << val.type << val.maySetOnSelf << val.canHaveMessage;
    00895     arg.endStructure();
    00896     return arg;
    00897 }
    00898
    00899 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimpleStatusSpec& val)
    00900 {
    00901     arg.beginStructure();
    00902     arg >> val.type >> val.maySetOnSelf >> val.canHaveMessage;
    00903     arg.endStructure();
    00904     return arg;
    00905 }
    00906
    00907 TP_QT_EXPORT bool operator==(const SocketAddressIP& v1, const SocketAddressIP& v2)
    00908 {
    00909     return ((v1.address == v2.address)
    00910             && (v1.port == v2.port)
    00911             );
    00912 }
    00913
    00914 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIP& val)
    00915 {
    00916     arg.beginStructure();
    00917     arg << val.address << val.port;
    00918     arg.endStructure();
    00919     return arg;
    00920 }
    00921
    00922 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIP& val)
    00923 {
    00924     arg.beginStructure();
    00925     arg >> val.address >> val.port;
    00926     arg.endStructure();
    00927     return arg;
    00928 }
    00929
    00930 TP_QT_EXPORT bool operator==(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2)
    00931 {
    00932     return ((v1.address == v2.address)
    00933             && (v1.port == v2.port)
    00934             );
    00935 }
    00936
    00937 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv4& val)
    00938 {
    00939     arg.beginStructure();
    00940     arg << val.address << val.port;
    00941     arg.endStructure();
    00942     return arg;
    00943 }
    00944
    00945 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv4& val)
    00946 {
    00947     arg.beginStructure();
    00948     arg >> val.address >> val.port;
    00949     arg.endStructure();
    00950     return arg;
    00951 }
    00952
    00953 TP_QT_EXPORT bool operator==(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2)
    00954 {
    00955     return ((v1.address == v2.address)
    00956             && (v1.port == v2.port)
    00957             );
    00958 }
    00959
    00960 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv6& val)
    00961 {
    00962     arg.beginStructure();
    00963     arg << val.address << val.port;
    00964     arg.endStructure();
    00965     return arg;
    00966 }
    00967
    00968 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv6& val)
    00969 {
    00970     arg.beginStructure();
    00971     arg >> val.address >> val.port;
    00972     arg.endStructure();
    00973     return arg;
    00974 }
    00975
    00976 TP_QT_EXPORT bool operator==(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2)
    00977 {
    00978     return ((v1.address == v2.address)
    00979             && (v1.prefixLength == v2.prefixLength)
    00980             );
    00981 }
    00982
    00983 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv4& val)
    00984 {
    00985     arg.beginStructure();
    00986     arg << val.address << val.prefixLength;
    00987     arg.endStructure();
    00988     return arg;
    00989 }
    00990
    00991 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv4& val)
    00992 {
    00993     arg.beginStructure();
    00994     arg >> val.address >> val.prefixLength;
    00995     arg.endStructure();
    00996     return arg;
    00997 }
    00998
    00999 TP_QT_EXPORT bool operator==(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2)
    01000 {
    01001     return ((v1.address == v2.address)
    01002             && (v1.prefixLength == v2.prefixLength)
    01003             );
    01004 }
    01005
    01006 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv6& val)
    01007 {
    01008     arg.beginStructure();
    01009     arg << val.address << val.prefixLength;
    01010     arg.endStructure();
    01011     return arg;
    01012 }
    01013
    01014 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv6& val)
    01015 {
    01016     arg.beginStructure();
    01017     arg >> val.address >> val.prefixLength;
    01018     arg.endStructure();
    01019     return arg;
    01020 }
    01021
    01022 TP_QT_EXPORT bool operator==(const StreamCredentials& v1, const StreamCredentials& v2)
    01023 {
    01024     return ((v1.username == v2.username)
    01025             && (v1.password == v2.password)
    01026             );
    01027 }
    01028
    01029 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StreamCredentials& val)
    01030 {
    01031     arg.beginStructure();
    01032     arg << val.username << val.password;
    01033     arg.endStructure();
    01034     return arg;
    01035 }
    01036
    01037 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StreamCredentials& val)
    01038 {
    01039     arg.beginStructure();
    01040     arg >> val.username >> val.password;
    01041     arg.endStructure();
    01042     return arg;
    01043 }
    01044
    01045 TP_QT_EXPORT bool operator==(const TLSCertificateRejection& v1, const TLSCertificateRejection& v2)
    01046 {
    01047     return ((v1.reason == v2.reason)
    01048             && (v1.error == v2.error)
    01049             && (v1.details == v2.details)
    01050             );
    01051 }
    01052
    01053 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TLSCertificateRejection& val)
    01054 {
    01055     arg.beginStructure();
    01056     arg << val.reason << val.error << val.details;
    01057     arg.endStructure();
    01058     return arg;
    01059 }
    01060
    01061 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TLSCertificateRejection& val)
    01062 {
    01063     arg.beginStructure();
    01064     arg >> val.reason >> val.error >> val.details;
    01065     arg.endStructure();
    01066     return arg;
    01067 }
    01068
    01069 TP_QT_EXPORT bool operator==(const TubeInfo& v1, const TubeInfo& v2)
    01070 {
    01071     return ((v1.identifier == v2.identifier)
    01072             && (v1.initiator == v2.initiator)
    01073             && (v1.type == v2.type)
    01074             && (v1.service == v2.service)
    01075             && (v1.parameters == v2.parameters)
    01076             && (v1.state == v2.state)
    01077             );
    01078 }
    01079
    01080 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TubeInfo& val)
    01081 {
    01082     arg.beginStructure();
    01083     arg << val.identifier << val.initiator << val.type << val.service << val.parameters << val.state;
    01084     arg.endStructure();
    01085     return arg;
    01086 }
    01087
    01088 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TubeInfo& val)
    01089 {
    01090     arg.beginStructure();
    01091     arg >> val.identifier >> val.initiator >> val.type >> val.service >> val.parameters >> val.state;
    01092     arg.endStructure();
    01093     return arg;
    01094 }
    01095
    01096 TP_QT_EXPORT bool operator==(const VideoResolution& v1, const VideoResolution& v2)
    01097 {
    01098     return ((v1.width == v2.width)
    01099             && (v1.height == v2.height)
    01100             );
    01101 }
    01102
    01103 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const VideoResolution& val)
    01104 {
    01105     arg.beginStructure();
    01106     arg << val.width << val.height;
    01107     arg.endStructure();
    01108     return arg;
    01109 }
    01110
    01111 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, VideoResolution& val)
    01112 {
    01113     arg.beginStructure();
    01114     arg >> val.width >> val.height;
    01115     arg.endStructure();
    01116     return arg;
    01117 }
    01118
    01119 TP_QT_EXPORT bool operator==(const CandidatePair& v1, const CandidatePair& v2)
    01120 {
    01121     return ((v1.local == v2.local)
    01122             && (v1.remote == v2.remote)
    01123             );
    01124 }
    01125
    01126 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CandidatePair& val)
    01127 {
    01128     arg.beginStructure();
    01129     arg << val.local << val.remote;
    01130     arg.endStructure();
    01131     return arg;
    01132 }
    01133
    01134 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CandidatePair& val)
    01135 {
    01136     arg.beginStructure();
    01137     arg >> val.local >> val.remote;
    01138     arg.endStructure();
    01139     return arg;
    01140 }
    01141
    01142 TP_QT_EXPORT bool operator==(const Codec& v1, const Codec& v2)
    01143 {
    01144     return ((v1.identifier == v2.identifier)
    01145             && (v1.name == v2.name)
    01146             && (v1.clockrate == v2.clockrate)
    01147             && (v1.channels == v2.channels)
    01148             && (v1.updated == v2.updated)
    01149             && (v1.parameters == v2.parameters)
    01150             );
    01151 }
    01152
    01153 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Codec& val)
    01154 {
    01155     arg.beginStructure();
    01156     arg << val.identifier << val.name << val.clockrate << val.channels << val.updated << val.parameters;
    01157     arg.endStructure();
    01158     return arg;
    01159 }
    01160
    01161 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Codec& val)
    01162 {
    01163     arg.beginStructure();
    01164     arg >> val.identifier >> val.name >> val.clockrate >> val.channels >> val.updated >> val.parameters;
    01165     arg.endStructure();
    01166     return arg;
    01167 }
    01168
    01169 TP_QT_EXPORT bool operator==(const HandlerCapabilities& v1, const HandlerCapabilities& v2)
    01170 {
    01171     return ((v1.wellKnownName == v2.wellKnownName)
    01172             && (v1.channelClasses == v2.channelClasses)
    01173             && (v1.capabilities == v2.capabilities)
    01174             );
    01175 }
    01176
    01177 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HandlerCapabilities& val)
    01178 {
    01179     arg.beginStructure();
    01180     arg << val.wellKnownName << val.channelClasses << val.capabilities;
    01181     arg.endStructure();
    01182     return arg;
    01183 }
    01184
    01185 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HandlerCapabilities& val)
    01186 {
    01187     arg.beginStructure();
    01188     arg >> val.wellKnownName >> val.channelClasses >> val.capabilities;
    01189     arg.endStructure();
    01190     return arg;
    01191 }
    01192
    01193 TP_QT_EXPORT bool operator==(const LastActivityAndStatuses& v1, const LastActivityAndStatuses& v2)
    01194 {
    01195     return ((v1.lastActivity == v2.lastActivity)
    01196             && (v1.statuses == v2.statuses)
    01197             );
    01198 }
    01199
    01200 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LastActivityAndStatuses& val)
    01201 {
    01202     arg.beginStructure();
    01203     arg << val.lastActivity << val.statuses;
    01204     arg.endStructure();
    01205     return arg;
    01206 }
    01207
    01208 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LastActivityAndStatuses& val)
    01209 {
    01210     arg.beginStructure();
    01211     arg >> val.lastActivity >> val.statuses;
    01212     arg.endStructure();
    01213     return arg;
    01214 }
    01215
    01216 TP_QT_EXPORT bool operator==(const MailURL& v1, const MailURL& v2)
    01217 {
    01218     return ((v1.URL == v2.URL)
    01219             && (v1.method == v2.method)
    01220             && (v1.postData == v2.postData)
    01221             );
    01222 }
    01223
    01224 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailURL& val)
    01225 {
    01226     arg.beginStructure();
    01227     arg << val.URL << val.method << val.postData;
    01228     arg.endStructure();
    01229     return arg;
    01230 }
    01231
    01232 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailURL& val)
    01233 {
    01234     arg.beginStructure();
    01235     arg >> val.URL >> val.method >> val.postData;
    01236     arg.endStructure();
    01237     return arg;
    01238 }
    01239
    01240 TP_QT_EXPORT bool operator==(const MediaStreamHandlerCandidate& v1, const MediaStreamHandlerCandidate& v2)
    01241 {
    01242     return ((v1.name == v2.name)
    01243             && (v1.transports == v2.transports)
    01244             );
    01245 }
    01246
    01247 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCandidate& val)
    01248 {
    01249     arg.beginStructure();
    01250     arg << val.name << val.transports;
    01251     arg.endStructure();
    01252     return arg;
    01253 }
    01254
    01255 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCandidate& val)
    01256 {
    01257     arg.beginStructure();
    01258     arg >> val.name >> val.transports;
    01259     arg.endStructure();
    01260     return arg;
    01261 }
    01262
    01263 TP_QT_EXPORT bool operator==(const MediaStreamHandlerCodec& v1, const MediaStreamHandlerCodec& v2)
    01264 {
    01265     return ((v1.codecID == v2.codecID)
    01266             && (v1.name == v2.name)
    01267             && (v1.mediaType == v2.mediaType)
    01268             && (v1.clockRate == v2.clockRate)
    01269             && (v1.numberOfChannels == v2.numberOfChannels)
    01270             && (v1.parameters == v2.parameters)
    01271             );
    01272 }
    01273
    01274 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCodec& val)
    01275 {
    01276     arg.beginStructure();
    01277     arg << val.codecID << val.name << val.mediaType << val.clockRate << val.numberOfChannels << val.parameters;
    01278     arg.endStructure();
    01279     return arg;
    01280 }
    01281
    01282 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCodec& val)
    01283 {
    01284     arg.beginStructure();
    01285     arg >> val.codecID >> val.name >> val.mediaType >> val.clockRate >> val.numberOfChannels >> val.parameters;
    01286     arg.endStructure();
    01287     return arg;
    01288 }
    01289
    01290 TP_QT_EXPORT bool operator==(const RTCPFeedbackMessageProperties& v1, const RTCPFeedbackMessageProperties& v2)
    01291 {
    01292     return ((v1.RTCPMinimumInterval == v2.RTCPMinimumInterval)
    01293             && (v1.messages == v2.messages)
    01294             );
    01295 }
    01296
    01297 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTCPFeedbackMessageProperties& val)
    01298 {
    01299     arg.beginStructure();
    01300     arg << val.RTCPMinimumInterval << val.messages;
    01301     arg.endStructure();
    01302     return arg;
    01303 }
    01304
    01305 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTCPFeedbackMessageProperties& val)
    01306 {
    01307     arg.beginStructure();
    01308     arg >> val.RTCPMinimumInterval >> val.messages;
    01309     arg.endStructure();
    01310     return arg;
    01311 }
    01312
    01313 TP_QT_EXPORT bool operator==(const ServicePointInfo& v1, const ServicePointInfo& v2)
    01314 {
    01315     return ((v1.servicePoint == v2.servicePoint)
    01316             && (v1.serviceIDs == v2.serviceIDs)
    01317             );
    01318 }
    01319
    01320 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePointInfo& val)
    01321 {
    01322     arg.beginStructure();
    01323     arg << val.servicePoint << val.serviceIDs;
    01324     arg.endStructure();
    01325     return arg;
    01326 }
    01327
    01328 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePointInfo& val)
    01329 {
    01330     arg.beginStructure();
    01331     arg >> val.servicePoint >> val.serviceIDs;
    01332     arg.endStructure();
    01333     return arg;
    01334 }
    01335
    01336 TP_QT_EXPORT bool operator==(const StatusSpec& v1, const StatusSpec& v2)
    01337 {
    01338     return ((v1.type == v2.type)
    01339             && (v1.maySetOnSelf == v2.maySetOnSelf)
    01340             && (v1.exclusive == v2.exclusive)
    01341             && (v1.parameterTypes == v2.parameterTypes)
    01342             );
    01343 }
    01344
    01345 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StatusSpec& val)
    01346 {
    01347     arg.beginStructure();
    01348     arg << val.type << val.maySetOnSelf << val.exclusive << val.parameterTypes;
    01349     arg.endStructure();
    01350     return arg;
    01351 }
    01352
    01353 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StatusSpec& val)
    01354 {
    01355     arg.beginStructure();
    01356     arg >> val.type >> val.maySetOnSelf >> val.exclusive >> val.parameterTypes;
    01357     arg.endStructure();
    01358     return arg;
    01359 }
    01360
    01361 TP_QT_NO_EXPORT void _registerTypes()
    01362 {
    01363     static bool registered = false;
    01364     if (registered)
    01365         return;
    01366     registered = true;
    01367
    01368     qDBusRegisterMetaType<Tp::AccessControl>();
    01369     qDBusRegisterMetaType<Tp::AddressingNormalizationMap>();
    01370     qDBusRegisterMetaType<Tp::AliasMap>();
    01371     qDBusRegisterMetaType<Tp::AliasPair>();
    01372     qDBusRegisterMetaType<Tp::AliasPairList>();
    01373     qDBusRegisterMetaType<Tp::Avatar>();
    01374     qDBusRegisterMetaType<Tp::AvatarTokenMap>();
    01375     qDBusRegisterMetaType<Tp::ByteArrayList>();
    01376     qDBusRegisterMetaType<Tp::CallMemberMap>();
    01377     qDBusRegisterMetaType<Tp::CallMemberMapList>();
    01378     qDBusRegisterMetaType<Tp::CallStateReason>();
    01379     qDBusRegisterMetaType<Tp::Candidate>();
    01380     qDBusRegisterMetaType<Tp::CandidateInfo>();
    01381     qDBusRegisterMetaType<Tp::CandidateList>();
    01382     qDBusRegisterMetaType<Tp::CandidatePair>();
    01383     qDBusRegisterMetaType<Tp::CandidatePairList>();
    01384     qDBusRegisterMetaType<Tp::CapabilityChange>();
    01385     qDBusRegisterMetaType<Tp::CapabilityChangeList>();
    01386     qDBusRegisterMetaType<Tp::CapabilityPair>();
    01387     qDBusRegisterMetaType<Tp::CapabilityPairList>();
    01388     qDBusRegisterMetaType<Tp::CaptchaAnswers>();
    01389     qDBusRegisterMetaType<Tp::CaptchaInfo>();
    01390     qDBusRegisterMetaType<Tp::CaptchaInfoList>();
    01391     qDBusRegisterMetaType<Tp::ChannelCallStateMap>();
    01392     qDBusRegisterMetaType<Tp::ChannelClass>();
    01393     qDBusRegisterMetaType<Tp::ChannelClassList>();
    01394     qDBusRegisterMetaType<Tp::ChannelDetails>();
    01395     qDBusRegisterMetaType<Tp::ChannelDetailsList>();
    01396     qDBusRegisterMetaType<Tp::ChannelInfo>();
    01397     qDBusRegisterMetaType<Tp::ChannelInfoList>();
    01398     qDBusRegisterMetaType<Tp::ChannelOriginatorMap>();
    01399     qDBusRegisterMetaType<Tp::ChatStateMap>();
    01400     qDBusRegisterMetaType<Tp::Codec>();
    01401     qDBusRegisterMetaType<Tp::CodecList>();
    01402     qDBusRegisterMetaType<Tp::ComponentStateMap>();
    01403     qDBusRegisterMetaType<Tp::ContactAttributesMap>();
    01404     qDBusRegisterMetaType<Tp::ContactCapabilitiesMap>();
    01405     qDBusRegisterMetaType<Tp::ContactCapabilitiesMapList>();
    01406     qDBusRegisterMetaType<Tp::ContactCapability>();
    01407     qDBusRegisterMetaType<Tp::ContactCapabilityList>();
    01408     qDBusRegisterMetaType<Tp::ContactClientTypes>();
    01409     qDBusRegisterMetaType<Tp::ContactCodecMap>();
    01410     qDBusRegisterMetaType<Tp::ContactInfoField>();
    01411     qDBusRegisterMetaType<Tp::ContactInfoFieldList>();
    01412     qDBusRegisterMetaType<Tp::ContactInfoMap>();
    01413     qDBusRegisterMetaType<Tp::ContactLocations>();
    01414     qDBusRegisterMetaType<Tp::ContactMediaDescriptionPropertiesMap>();
    01415     qDBusRegisterMetaType<Tp::ContactPresences>();
    01416     qDBusRegisterMetaType<Tp::ContactSSRCsMap>();
    01417     qDBusRegisterMetaType<Tp::ContactSearchMap>();
    01418     qDBusRegisterMetaType<Tp::ContactSearchResultMap>();
    01419     qDBusRegisterMetaType<Tp::ContactSendingStateMap>();
    01420     qDBusRegisterMetaType<Tp::ContactSubscriptionMap>();
    01421     qDBusRegisterMetaType<Tp::ContactSubscriptions>();
    01422     qDBusRegisterMetaType<Tp::CurrencyAmount>();
    01423     qDBusRegisterMetaType<Tp::DBusTubeMember>();
    01424     qDBusRegisterMetaType<Tp::DBusTubeMemberList>();
    01425     qDBusRegisterMetaType<Tp::DBusTubeParticipants>();
    01426     qDBusRegisterMetaType<Tp::FieldSpec>();
    01427     qDBusRegisterMetaType<Tp::FieldSpecs>();
    01428     qDBusRegisterMetaType<Tp::HTTPPostData>();
    01429     qDBusRegisterMetaType<Tp::HTTPPostDataList>();
    01430     qDBusRegisterMetaType<Tp::HandleIdentifierMap>();
    01431     qDBusRegisterMetaType<Tp::HandleOwnerMap>();
    01432     qDBusRegisterMetaType<Tp::HandlerCapabilities>();
    01433     qDBusRegisterMetaType<Tp::HandlerCapabilitiesList>();
    01434     qDBusRegisterMetaType<Tp::LastActivityAndStatuses>();
    01435     qDBusRegisterMetaType<Tp::LocalPendingInfo>();
    01436     qDBusRegisterMetaType<Tp::LocalPendingInfoList>();
    01437     qDBusRegisterMetaType<Tp::Location>();
    01438     qDBusRegisterMetaType<Tp::Mail>();
    01439     qDBusRegisterMetaType<Tp::MailAddress>();
    01440     qDBusRegisterMetaType<Tp::MailAddressList>();
    01441     qDBusRegisterMetaType<Tp::MailList>();
    01442     qDBusRegisterMetaType<Tp::MailURL>();
    01443     qDBusRegisterMetaType<Tp::MediaDescriptionOffer>();
    01444     qDBusRegisterMetaType<Tp::MediaDescriptionProperties>();
    01445     qDBusRegisterMetaType<Tp::MediaSessionHandlerInfo>();
    01446     qDBusRegisterMetaType<Tp::MediaSessionHandlerInfoList>();
    01447     qDBusRegisterMetaType<Tp::MediaStreamHandlerCandidate>();
    01448     qDBusRegisterMetaType<Tp::MediaStreamHandlerCandidateList>();
    01449     qDBusRegisterMetaType<Tp::MediaStreamHandlerCodec>();
    01450     qDBusRegisterMetaType<Tp::MediaStreamHandlerCodecList>();
    01451     qDBusRegisterMetaType<Tp::MediaStreamHandlerTransport>();
    01452     qDBusRegisterMetaType<Tp::MediaStreamHandlerTransportList>();
    01453     qDBusRegisterMetaType<Tp::MediaStreamInfo>();
    01454     qDBusRegisterMetaType<Tp::MediaStreamInfoList>();
    01455     qDBusRegisterMetaType<Tp::MessagePart>();
    01456     qDBusRegisterMetaType<Tp::MessagePartContentMap>();
    01457     qDBusRegisterMetaType<Tp::MessagePartList>();
    01458     qDBusRegisterMetaType<Tp::MessagePartListList>();
    01459     qDBusRegisterMetaType<Tp::Metadata>();
    01460     qDBusRegisterMetaType<Tp::MultipleStatusMap>();
    01461     qDBusRegisterMetaType<Tp::NotDelegatedError>();
    01462     qDBusRegisterMetaType<Tp::NotDelegatedMap>();
    01463     qDBusRegisterMetaType<Tp::ObjectImmutablePropertiesMap>();
    01464     qDBusRegisterMetaType<Tp::ObjectImmutablePropertiesMapList>();
    01465     qDBusRegisterMetaType<Tp::ObjectPathList>();
    01466     qDBusRegisterMetaType<Tp::ParamSpec>();
    01467     qDBusRegisterMetaType<Tp::ParamSpecList>();
    01468     qDBusRegisterMetaType<Tp::PendingTextMessage>();
    01469     qDBusRegisterMetaType<Tp::PendingTextMessageList>();
    01470     qDBusRegisterMetaType<Tp::PropertyFlagsChange>();
    01471     qDBusRegisterMetaType<Tp::PropertyFlagsChangeList>();
    01472     qDBusRegisterMetaType<Tp::PropertySpec>();
    01473     qDBusRegisterMetaType<Tp::PropertySpecList>();
    01474     qDBusRegisterMetaType<Tp::PropertyValue>();
    01475     qDBusRegisterMetaType<Tp::PropertyValueList>();
    01476     qDBusRegisterMetaType<Tp::ProtocolPropertiesMap>();
    01477     qDBusRegisterMetaType<Tp::QualifiedPropertyValueMap>();
    01478     qDBusRegisterMetaType<Tp::QualifiedPropertyValueMapList>();
    01479     qDBusRegisterMetaType<Tp::RTCPFeedbackMessage>();
    01480     qDBusRegisterMetaType<Tp::RTCPFeedbackMessageList>();
    01481     qDBusRegisterMetaType<Tp::RTCPFeedbackMessageMap>();
    01482     qDBusRegisterMetaType<Tp::RTCPFeedbackMessageProperties>();
    01483     qDBusRegisterMetaType<Tp::RTPHeaderExtension>();
    01484     qDBusRegisterMetaType<Tp::RTPHeaderExtensionsList>();
    01485     qDBusRegisterMetaType<Tp::RequestableChannelClass>();
    01486     qDBusRegisterMetaType<Tp::RequestableChannelClassList>();
    01487     qDBusRegisterMetaType<Tp::RichPresenceAccessControl>();
    01488     qDBusRegisterMetaType<Tp::RoomInfo>();
    01489     qDBusRegisterMetaType<Tp::RoomInfoList>();
    01490     qDBusRegisterMetaType<Tp::ServicePoint>();
    01491     qDBusRegisterMetaType<Tp::ServicePointInfo>();
    01492     qDBusRegisterMetaType<Tp::ServicePointInfoList>();
    01493     qDBusRegisterMetaType<Tp::SimpleContactPresences>();
    01494     qDBusRegisterMetaType<Tp::SimplePresence>();
    01495     qDBusRegisterMetaType<Tp::SimpleStatusSpec>();
    01496     qDBusRegisterMetaType<Tp::SimpleStatusSpecMap>();
    01497     qDBusRegisterMetaType<Tp::SingleContactAttributesMap>();
    01498     qDBusRegisterMetaType<Tp::SocketAddressIP>();
    01499     qDBusRegisterMetaType<Tp::SocketAddressIPList>();
    01500     qDBusRegisterMetaType<Tp::SocketAddressIPv4>();
    01501     qDBusRegisterMetaType<Tp::SocketAddressIPv6>();
    01502     qDBusRegisterMetaType<Tp::SocketNetmaskIPv4>();
    01503     qDBusRegisterMetaType<Tp::SocketNetmaskIPv6>();
    01504     qDBusRegisterMetaType<Tp::StatusSpec>();
    01505     qDBusRegisterMetaType<Tp::StatusSpecMap>();
    01506     qDBusRegisterMetaType<Tp::StreamCredentials>();
    01507     qDBusRegisterMetaType<Tp::StringStringMap>();
    01508     qDBusRegisterMetaType<Tp::StringStringMapList>();
    01509     qDBusRegisterMetaType<Tp::StringVariantMap>();
    01510     qDBusRegisterMetaType<Tp::StringVariantMapList>();
    01511     qDBusRegisterMetaType<Tp::SupportedSocketMap>();
    01512     qDBusRegisterMetaType<Tp::TLSCertificateRejection>();
    01513     qDBusRegisterMetaType<Tp::TLSCertificateRejectionList>();
    01514     qDBusRegisterMetaType<Tp::TubeInfo>();
    01515     qDBusRegisterMetaType<Tp::TubeInfoList>();
    01516     qDBusRegisterMetaType<Tp::UIntList>();
    01517     qDBusRegisterMetaType<Tp::VCardFieldAddressMap>();
    01518     qDBusRegisterMetaType<Tp::VideoResolution>();
    01519     qDBusRegisterMetaType<Tp::VideoResolutionStruct>();
    01520 }
    01521
    01522 } // namespace Tp