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