/usr/include/telepathy-qt4/TelepathyQt/_gen/types.h is in libtelepathy-qt4-dev 0.9.6~git1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 | /* Generated from Telepathy D-Bus Interface Specification, TelepathyQt copy, version 0.17.7 */
#ifndef IN_TP_QT_HEADER
#error IN_TP_QT_HEADER
#endif
#include <QtGlobal>
#include <QByteArray>
#include <QString>
#include <QStringList>
#include <QVariantList>
#include <QVariantMap>
#include <QDBusArgument>
#include <QDBusMetaType>
#include <QDBusObjectPath>
#include <QDBusSignature>
#include <QDBusVariant>
#include <TelepathyQt/Global>
/**
* \addtogroup typesconstants Types and constants
*
* Enumerated, flag, structure, list and mapping types and utility constants.
*/
/**
* \defgroup struct Structure types
* \ingroup typesconstants
*
* Structure types generated from the specification.
*/
/**
* \defgroup list List types
* \ingroup typesconstants
*
* List types generated from the specification.
*/
/**
* \defgroup mapping Mapping types
* \ingroup typesconstants
*
* Mapping types generated from the specification.
*/
namespace Tp
{
/**
* \struct ByteArrayList
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Generic list type with QByteArray elements. Convertible with
* QList<QByteArray>, but needed to have a discrete type in the Qt type system.
*/
struct TP_QT_EXPORT ByteArrayList : public QList<QByteArray>
{
inline ByteArrayList() : QList<QByteArray>() {}
inline ByteArrayList(const QList<QByteArray>& a) : QList<QByteArray>(a) {}
inline ByteArrayList& operator=(const QList<QByteArray>& a)
{
*(static_cast<QList<QByteArray>*>(this)) = a;
return *this;
}
};
/**
* \struct ObjectPathList
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Generic list type with QDBusObjectPath elements. Convertible with
* QList<QDBusObjectPath>, but needed to have a discrete type in the Qt type system.
*/
struct TP_QT_EXPORT ObjectPathList : public QList<QDBusObjectPath>
{
inline ObjectPathList() : QList<QDBusObjectPath>() {}
inline ObjectPathList(const QList<QDBusObjectPath>& a) : QList<QDBusObjectPath>(a) {}
inline ObjectPathList& operator=(const QList<QDBusObjectPath>& a)
{
*(static_cast<QList<QDBusObjectPath>*>(this)) = a;
return *this;
}
};
/**
* \struct UIntList
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Generic list type with uint elements. Convertible with
* QList<uint>, but needed to have a discrete type in the Qt type system.
*/
struct TP_QT_EXPORT UIntList : public QList<uint>
{
inline UIntList() : QList<uint>() {}
inline UIntList(const QList<uint>& a) : QList<uint>(a) {}
inline UIntList& operator=(const QList<uint>& a)
{
*(static_cast<QList<uint>*>(this)) = a;
return *this;
}
};
/**
* \struct AccessControl
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* \htmlonly
* <p>An access control mode for extended presence items like geolocation.
* This type isn't actually used by the SimplePresence interface, but
* it's included here so it can be referenced by rich presence
* interfaces.</p>
*
* <p>New interfaces should use this type, and NOT
* <tp:type>Rich_Presence_Access_Control</tp:type>.</p>
* \endhtmlonly
*/
struct TP_QT_EXPORT AccessControl
{
/**
* The type of access control to apply.
*/
uint type;
/**
* Any additional information required by the Type. The required type and
* semantics are defined for each Access_Control_Type.
*/
QDBusVariant detail;
};
TP_QT_EXPORT bool operator==(const AccessControl& v1, const AccessControl& v2);
inline bool operator!=(const AccessControl& v1, const AccessControl& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AccessControl& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AccessControl& val);
/**
* \struct AddressingNormalizationMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, uint>, but needed to have a discrete type in the Qt type system.
*
* A map from URIs/vCard addresses to the corresponding handle.
*/
struct TP_QT_EXPORT AddressingNormalizationMap : public QMap<QString, uint>
{
inline AddressingNormalizationMap() : QMap<QString, uint>() {}
inline AddressingNormalizationMap(const QMap<QString, uint>& a) : QMap<QString, uint>(a) {}
inline AddressingNormalizationMap& operator=(const QMap<QString, uint>& a)
{
*(static_cast<QMap<QString, uint>*>(this)) = a;
return *this;
}
};
/**
* \struct AliasMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, QString>, but needed to have a discrete type in the Qt type system.
*
* A dictionary whose keys are contact handles and whose values are aliases.
*/
struct TP_QT_EXPORT AliasMap : public QMap<uint, QString>
{
inline AliasMap() : QMap<uint, QString>() {}
inline AliasMap(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
inline AliasMap& operator=(const QMap<uint, QString>& a)
{
*(static_cast<QMap<uint, QString>*>(this)) = a;
return *this;
}
};
/**
* \struct AliasPair
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A pair (contact handle, alias) as seen in the AliasesChanged signal.
*/
struct TP_QT_EXPORT AliasPair
{
uint handle;
QString alias;
};
TP_QT_EXPORT bool operator==(const AliasPair& v1, const AliasPair& v2);
inline bool operator!=(const AliasPair& v1, const AliasPair& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AliasPair& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AliasPair& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of AliasPair values.
*/
typedef QList<AliasPair> AliasPairList;
/**
* \struct Avatar
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* \htmlonly
* <p>A struct containing avatar data marked with its MIME type.</p>
*
* <p>May be set to an empty byte-array and an empty string, indicating
* no avatar.</p>
* \endhtmlonly
*/
struct TP_QT_EXPORT Avatar
{
QByteArray avatarData;
QString MIMEType;
};
TP_QT_EXPORT bool operator==(const Avatar& v1, const Avatar& v2);
inline bool operator!=(const Avatar& v1, const Avatar& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Avatar& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Avatar& val);
/**
* \struct AvatarTokenMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, QString>, but needed to have a discrete type in the Qt type system.
*
* A dictionary whose keys are contact handles and whose values are avatar
* tokens.
*/
struct TP_QT_EXPORT AvatarTokenMap : public QMap<uint, QString>
{
inline AvatarTokenMap() : QMap<uint, QString>() {}
inline AvatarTokenMap(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
inline AvatarTokenMap& operator=(const QMap<uint, QString>& a)
{
*(static_cast<QMap<uint, QString>*>(this)) = a;
return *this;
}
};
/**
* \struct CallMemberMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, uint>, but needed to have a discrete type in the Qt type system.
*
* A mapping from handles to their current state in the call.
*/
struct TP_QT_EXPORT CallMemberMap : public QMap<uint, uint>
{
inline CallMemberMap() : QMap<uint, uint>() {}
inline CallMemberMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
inline CallMemberMap& operator=(const QMap<uint, uint>& a)
{
*(static_cast<QMap<uint, uint>*>(this)) = a;
return *this;
}
};
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of CallMemberMap values.
*/
typedef QList<CallMemberMap> CallMemberMapList;
/**
* \struct CallStateReason
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* \htmlonly
* <p>A description of the reason for a change to the
* \endhtmlonly \link requestPropertyCallState() CallState \endlink \htmlonly and/or
* \endhtmlonly \link requestPropertyCallFlags() CallFlags \endlink \htmlonly .</p>
* \endhtmlonly
*/
struct TP_QT_EXPORT CallStateReason
{
/**
* The contact responsible for the change, or 0 if no contact was
* responsible.
*/
uint actor;
/**
* The reason, chosen from a limited set of possibilities defined by the
* Telepathy specification. If User_Requested then the Actor member will
* dictate whether it was the local user or a remote contact responsible.
*/
uint reason;
/**
* \htmlonly
* <p>A specific reason for the change, which may be a D-Bus error in
* the Telepathy namespace, a D-Bus error in any other namespace
* (for implementation-specific errors), or the empty string to
* indicate that the state change was not an error.</p>
*
* <p>This SHOULD be an empty string for changes to any state other
* than Ended.</p>
*
* <p>The errors Cancelled and Terminated SHOULD NOT be used here;
* an empty string SHOULD be used instead.</p>
*
* <div class="rationale">
* <p>Those error names are used to indicate normal call
* termination by the local user or another user, respectively,
* in contexts where a D-Bus error name must appear.</p>
* </div>
* \endhtmlonly
*/
QString DBusReason;
/**
* An optional debug message, to expediate debugging the potentially many
* processes involved in a call. This may be communicated across the
* network in protocols that support doing so, but it is not essential.
*/
QString message;
};
TP_QT_EXPORT bool operator==(const CallStateReason& v1, const CallStateReason& v2);
inline bool operator!=(const CallStateReason& v1, const CallStateReason& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CallStateReason& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CallStateReason& val);
/**
* \struct Candidate
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A Stream Candidate.
*/
struct TP_QT_EXPORT Candidate
{
/**
* The component number.
*/
uint component;
/**
* The IP address to use.
*/
QString IP;
/**
* The port number to use.
*/
uint port;
/**
* Additional information about the candidate.
*/
QVariantMap info;
};
TP_QT_EXPORT bool operator==(const Candidate& v1, const Candidate& v2);
inline bool operator!=(const Candidate& v1, const Candidate& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Candidate& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Candidate& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of Candidate values.
*/
typedef QList<Candidate> CandidateList;
/**
* \struct CandidateInfo
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.
*
* \htmlonly
* <p>Extra information about the candidate. Allowed and mandatory keys
* depend on the transport protocol used. The following keys are commenly
* used:</p>
*
* <dl>
* <dt><code>type</code> - u</dt>
* <dd>The type of candidate
* (<tp:type>Call_Stream_Candidate_Type</tp:type>)</dd>
*
* <dt><code>foundation</code> - s</dt>
* <dd>The foundation of this candidate</dd>
*
* <dt><code>protocol</code> - u</dt>
* <dd>Underlying protocol of the candidate
* (<tp:type>Media_Stream_Base_Proto</tp:type>) </dd>
*
* <dt><code>priority</code> - u</dt>
* <dd>Priority of the candidate (should be a number between 0 and
* 65535). Most ICE implementations will prefer the highest priority
* candidate pair that manages to connect. For backwards
* compatibility with non-ICE SIP clients, the lowest priority
* candidate may be sent as a raw UDP fallback candidate.
* It is recommended that a relay candidate is used as the lowest
* priority candidate if possible. If both IPv4 and IPv6 raw udp
* fallback candidates are available, they should be set to the
* same priority and advertised to the CM at the same time. The CM
* will decide which to advertise to the remote end.</dd>
*
* <dt><code>base-ip</code> - s</dt>
* <dd>The underlying Host address where media sent to this
* (non-host-type) candidate will eventually arrive.</dd>
*
* <dt><code>base-port</code> - u</dt>
* <dd>The underlying Host port where media sent to this
* (non-host-type) candidate will eventually arrive.</dd>
*
* <dt><code>username</code> - s</dt>
* <dd>Username of this candidate
* (only if credentials are per candidate)</dd>
*
* <dt><code>password</code> - s</dt>
* <dd>Password of this candidate
* (only if credentials are per candidate)</dd>
*
* <dt><code>ttl</code> - u</dt>
* <dd>The TTL mandated for RTP/RTCP packets sent to a multicast group
* (only valid for Multicast Streams)</dd>
* </dl>
* \endhtmlonly
*/
struct TP_QT_EXPORT CandidateInfo : public QMap<QString, QDBusVariant>
{
inline CandidateInfo() : QMap<QString, QDBusVariant>() {}
inline CandidateInfo(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
inline CandidateInfo& operator=(const QMap<QString, QDBusVariant>& a)
{
*(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
return *this;
}
};
/**
* \struct CapabilityChange
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct (contact handle, channel type, old generic flags, new generic
* flags, old type-specific flags, new type-specific flags) representing a
* change to one of a contact's capabilities, as seen in the
* CapabilitiesChanged signal on the Capabilities interface.
*/
struct TP_QT_EXPORT CapabilityChange
{
uint handle;
QString channelType;
uint oldGenericFlags;
uint newGenericFlags;
uint oldTypeSpecificFlags;
uint newTypeSpecificFlags;
};
TP_QT_EXPORT bool operator==(const CapabilityChange& v1, const CapabilityChange& v2);
inline bool operator!=(const CapabilityChange& v1, const CapabilityChange& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityChange& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityChange& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of CapabilityChange values.
*/
typedef QList<CapabilityChange> CapabilityChangeList;
/**
* \struct CapabilityPair
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A pair (channel type, type-specific flags) as passed to
* AdvertiseCapabilities on the Capabilities interface.
*/
struct TP_QT_EXPORT CapabilityPair
{
QString channelType;
uint typeSpecificFlags;
};
TP_QT_EXPORT bool operator==(const CapabilityPair& v1, const CapabilityPair& v2);
inline bool operator!=(const CapabilityPair& v1, const CapabilityPair& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityPair& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityPair& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of CapabilityPair values.
*/
typedef QList<CapabilityPair> CapabilityPairList;
/**
* \struct CaptchaAnswers
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, QString>, but needed to have a discrete type in the Qt type system.
*
* \htmlonly
* A mapping of captcha IDs to answer strings.
* \endhtmlonly
*/
struct TP_QT_EXPORT CaptchaAnswers : public QMap<uint, QString>
{
inline CaptchaAnswers() : QMap<uint, QString>() {}
inline CaptchaAnswers(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
inline CaptchaAnswers& operator=(const QMap<uint, QString>& a)
{
*(static_cast<QMap<uint, QString>*>(this)) = a;
return *this;
}
};
/**
* \struct CaptchaInfo
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* \htmlonly
* <p>A struct containing information regarding a single captcha
* mechanism.</p>
* \endhtmlonly
*/
struct TP_QT_EXPORT CaptchaInfo
{
/**
* \htmlonly
* <p>The ID with which to reference this captcha method
* when retrieving its data and answering it.
* They are unique within this channel instance only.</p>
* \endhtmlonly
*/
uint ID;
/**
* \htmlonly
* <p>The type of challenge
* <a href="http://xmpp.org/extensions/xep-0158.html#challenge">
* as defined by XEP-0158</a>. For instance, the commonly-used
* "type the letters/words you see in this image" challenge is
* represented by <code>ocr</code></p>
* \endhtmlonly
*/
QString type;
/**
* \htmlonly
* <p>A human-readable label for the challenge, as defined in
* XEP-0158.</p>
*
* <p>If the server does not supply a label for a challenge of type
* other than <code>qa</code>, connection managers SHOULD set Label
* to an empty string instead of generating their own text.
* If the Label is an empty string, the Handler SHOULD replace
* it with a generic label in the user's locale, such as
* the strings suggested in XEP-0158 (for instance,
* <code>Enter the text you see</code> for <code>ocr</code>
* challenges). The Handler MAY use those generic labels
* in any case, as per
* <a href="http://xmpp.org/extensions/xep-0158.html#i18n">the
* Internationalization Considerations section of XEP-0158</a>.</p>
*
* <div class="rationale">
* <p>Connection managers are not usually localized, so text
* generated by the connection manager would be in English,
* regardless of the user's locale. The Handler is better-placed
* to generate a generic Label in the user's locale.</p>
* </div>
*
* <p>For challenges of type <code>qa</code>, the Label is a plain-text
* question for the user to answer. The connection manager
* SHOULD NOT provide an empty Label; if it does, the Handler
* SHOULD treat that challenge as impossible, and SHOULD NOT
* attempt to display it.</p>
* \endhtmlonly
*/
QString label;
/**
* \htmlonly
* <p>One flag defined: Required. Most captchas will have no flags.</p>
* \endhtmlonly
*/
uint flags;
/**
* \htmlonly
* <p>A list of MIME types the server is offering to provide
* for this captcha method.</p>
* \endhtmlonly
*/
QStringList availableMIMETypes;
};
TP_QT_EXPORT bool operator==(const CaptchaInfo& v1, const CaptchaInfo& v2);
inline bool operator!=(const CaptchaInfo& v1, const CaptchaInfo& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CaptchaInfo& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CaptchaInfo& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of CaptchaInfo values.
*/
typedef QList<CaptchaInfo> CaptchaInfoList;
/**
* \struct ChannelCallStateMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, uint>, but needed to have a discrete type in the Qt type system.
*
* A map from contacts to call states.
*/
struct TP_QT_EXPORT ChannelCallStateMap : public QMap<uint, uint>
{
inline ChannelCallStateMap() : QMap<uint, uint>() {}
inline ChannelCallStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
inline ChannelCallStateMap& operator=(const QMap<uint, uint>& a)
{
*(static_cast<QMap<uint, uint>*>(this)) = a;
return *this;
}
};
/**
* \struct ChannelClass
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.
*
* \htmlonly
* <p>Mapping representing a class of channels that can be requested
* from a connection manager, can be handled by a user interface,
* are supported by a contact, etc.</p>
*
* <p>Classes of channel are identified by the fixed values of
* a subset of their properties.</p>
*
* <p>Channel classes SHOULD always include the keys
* \endhtmlonly \link ChannelInterface::requestPropertyChannelType() ChannelInterface::ChannelType \endlink \htmlonly
* and
* \endhtmlonly \link ChannelInterface::requestPropertyTargetHandleType() ChannelInterface::TargetHandleType \endlink \htmlonly .
* (One exception is that \endhtmlonly ChannelTypeContactSearchInterface \htmlonly channels do not have TargetHandleType
* <code>None</code> in their requestable channel classes, for
* historical reasons.)</p>
* \endhtmlonly
*/
struct TP_QT_EXPORT ChannelClass : public QMap<QString, QDBusVariant>
{
inline ChannelClass() : QMap<QString, QDBusVariant>() {}
inline ChannelClass(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
inline ChannelClass& operator=(const QMap<QString, QDBusVariant>& a)
{
*(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
return *this;
}
};
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of ChannelClass values.
*/
typedef QList<ChannelClass> ChannelClassList;
/**
* \struct ChannelDetails
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* Enough details of a channel that clients can work out how to dispatch or
* handle it.
*/
struct TP_QT_EXPORT ChannelDetails
{
/**
* The object path of the channel.
*/
QDBusObjectPath channel;
/**
* \htmlonly
* <p>Properties of the channel.</p>
*
* <p>Connection managers MUST NOT include properties in this mapping
* if their values can change. Clients MUST ignore properties
* that appear in this mapping if their values can change.</p>
*
* <div class="rationale">
* <p>If properties that could change were included, the following
* race condition would be likely to exist in some cases:</p>
*
* <ul>
* <li>NewChannels or Get("Channels") includes a property P with
* value V1</li>
* <li>Client creates a proxy object for the channel</li>
* <li>The value of P changes to V2</li>
* <li>Client connects to PChanged signal</li>
* <li>Client should call Get("P") or GetAll here, to avoid the
* race, but client's author has forgotten to do so</li>
* <li>Proxy object thinks P == V1, but actually P == V2</li>
* </ul>
*
* <p>We've taken the opportunity to make the API encourage the
* client author to get it right. Where possible, we intend that
* properties whose value will be used in channel dispatching
* or other "early" processing will be defined so that they are
* immutable (can never change).</p>
* </div>
*
* <p>Each dictionary MUST contain the keys
* \endhtmlonly \link ChannelInterface::requestPropertyChannelType() ChannelInterface::ChannelType \endlink \htmlonly ,
* \endhtmlonly \link ChannelInterface::requestPropertyTargetHandleType() ChannelInterface::TargetHandleType \endlink \htmlonly ,
* \endhtmlonly \link ChannelInterface::requestPropertyTargetHandle() ChannelInterface::TargetHandle \endlink \htmlonly ,
* \endhtmlonly \link ChannelInterface::requestPropertyTargetID() ChannelInterface::TargetID \endlink \htmlonly
* and
* \endhtmlonly \link ChannelInterface::requestPropertyRequested() ChannelInterface::Requested \endlink \htmlonly .
* </p>
*
* <div class="rationale">
* <p>We expect these to be crucial to the channel-dispatching
* process.</p>
* </div>
* \endhtmlonly
*/
QVariantMap properties;
};
TP_QT_EXPORT bool operator==(const ChannelDetails& v1, const ChannelDetails& v2);
inline bool operator!=(const ChannelDetails& v1, const ChannelDetails& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelDetails& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelDetails& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of ChannelDetails values.
*/
typedef QList<ChannelDetails> ChannelDetailsList;
/**
* \struct ChannelInfo
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct representing a channel, as returned by ListChannels on the
* Connection interface.
*/
struct TP_QT_EXPORT ChannelInfo
{
/**
* The object path of the channel, which is on the same bus name as the
* connection
*/
QDBusObjectPath channel;
/**
* The channel's type
*/
QString channelType;
/**
* The type of the handle that the channel communicates with, or
* Handle_Type_None if there is no associated handle
*/
uint handleType;
/**
* The handle that the channel communicates with, or 0 if there is no
* associated handle
*/
uint handle;
};
TP_QT_EXPORT bool operator==(const ChannelInfo& v1, const ChannelInfo& v2);
inline bool operator!=(const ChannelInfo& v1, const ChannelInfo& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelInfo& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelInfo& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of ChannelInfo values.
*/
typedef QList<ChannelInfo> ChannelInfoList;
/**
* \struct ChannelOriginatorMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, QDBusObjectPath>, but needed to have a discrete type in the Qt type system.
*
* \htmlonly
* A mapping from members of a conference to the original 1-1 channel with
* that contact, if any. See
* \endhtmlonly \link requestPropertyOriginalChannels() OriginalChannels \endlink \htmlonly for details.
* \endhtmlonly
*/
struct TP_QT_EXPORT ChannelOriginatorMap : public QMap<uint, QDBusObjectPath>
{
inline ChannelOriginatorMap() : QMap<uint, QDBusObjectPath>() {}
inline ChannelOriginatorMap(const QMap<uint, QDBusObjectPath>& a) : QMap<uint, QDBusObjectPath>(a) {}
inline ChannelOriginatorMap& operator=(const QMap<uint, QDBusObjectPath>& a)
{
*(static_cast<QMap<uint, QDBusObjectPath>*>(this)) = a;
return *this;
}
};
/**
* \struct ChatStateMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, uint>, but needed to have a discrete type in the Qt type system.
*
* A map from contacts to their chat states.
*/
struct TP_QT_EXPORT ChatStateMap : public QMap<uint, uint>
{
inline ChatStateMap() : QMap<uint, uint>() {}
inline ChatStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
inline ChatStateMap& operator=(const QMap<uint, uint>& a)
{
*(static_cast<QMap<uint, uint>*>(this)) = a;
return *this;
}
};
/**
* \struct ComponentStateMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, uint>, but needed to have a discrete type in the Qt type system.
*/
struct TP_QT_EXPORT ComponentStateMap : public QMap<uint, uint>
{
inline ComponentStateMap() : QMap<uint, uint>() {}
inline ComponentStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
inline ComponentStateMap& operator=(const QMap<uint, uint>& a)
{
*(static_cast<QMap<uint, uint>*>(this)) = a;
return *this;
}
};
/**
* \struct ContactAttributesMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, QVariantMap>, but needed to have a discrete type in the Qt type system.
*
* Mapping returned by GetContactAttributes, representing a collection of
* Contacts and their requested attributes.
*/
struct TP_QT_EXPORT ContactAttributesMap : public QMap<uint, QVariantMap>
{
inline ContactAttributesMap() : QMap<uint, QVariantMap>() {}
inline ContactAttributesMap(const QMap<uint, QVariantMap>& a) : QMap<uint, QVariantMap>(a) {}
inline ContactAttributesMap& operator=(const QMap<uint, QVariantMap>& a)
{
*(static_cast<QMap<uint, QVariantMap>*>(this)) = a;
return *this;
}
};
/**
* \struct ContactCapability
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct (contact handle, channel type, generic flags, type-specific flags)
* representing a capability posessed by a contact, as returned by
* GetCapabilities on the Capabilities interface.
*/
struct TP_QT_EXPORT ContactCapability
{
uint handle;
QString channelType;
uint genericFlags;
uint typeSpecificFlags;
};
TP_QT_EXPORT bool operator==(const ContactCapability& v1, const ContactCapability& v2);
inline bool operator!=(const ContactCapability& v1, const ContactCapability& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactCapability& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactCapability& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of ContactCapability values.
*/
typedef QList<ContactCapability> ContactCapabilityList;
/**
* \struct ContactClientTypes
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, QStringList>, but needed to have a discrete type in the Qt type system.
*
* A mapping from contact handle to client types.
*/
struct TP_QT_EXPORT ContactClientTypes : public QMap<uint, QStringList>
{
inline ContactClientTypes() : QMap<uint, QStringList>() {}
inline ContactClientTypes(const QMap<uint, QStringList>& a) : QMap<uint, QStringList>(a) {}
inline ContactClientTypes& operator=(const QMap<uint, QStringList>& a)
{
*(static_cast<QMap<uint, QStringList>*>(this)) = a;
return *this;
}
};
/**
* \struct ContactInfoField
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* \htmlonly
* <p>Represents one piece of information about a contact, as modelled by
* a single vCard field. Of the fields defined in RFC 2426, common
* examples include:</p>
*
* <dl>
* <dt>fn</dt>
* <dd>The contact's full name, formatted to their liking</dd>
*
* <dt>n</dt>
* <dd>The contact's full name, divided into five parts: family name,
* given name, additional names, honorific prefixes, and honorific
* suffixes</dd>
*
* <dt>org</dt>
* <dd>The contact's organisation, divided into the organization's name
* possibly followed by one or more organizational unit names.</dd>
*
* <dt>adr</dt>
* <dd>A street address for the contact, divided into seven components:
* post office box, extended address, street address, locality (e.g.,
* city), region (e.g., state or province), the postal code, and the
* country name.</dd>
*
* <dt>label</dt>
* <dd>A free-form street address for the contact, formatted as a
* single value (with embedded newlines where necessary) suitable for
* printing on an address label</dd>
*
* <dt>tel</dt>
* <dd>A telephone number for the contact.</dd>
*
* <dt>email</dt>
* <dd>An email address for the contact.</dd>
* </dl>
*
* <p>For example, the following vCard:</p>
*
* <pre>
* BEGIN:vCard
* VERSION:3.0
* FN:Wee Ninja
* N;LANGUAGE=ja:Ninja;Wee;;;-san
* ORG:Collabora, Ltd.;Management Division;Human Resources\\; Company Policy Enforcement
* ADR;TYPE=WORK,POSTAL,PARCEL:;;11 Kings Parade;Cambridge;Cambridgeshire
* ;CB2 1SJ;UK
* LABEL;TYPE=WORK,POSTAL,PARCEL:11 Kings Parade\\nCambridge\\nCambridgeshire\\nUK\\nCB2 1SJ
* TEL;TYPE=VOICE,WORK:+44 1223 362967, +44 7700 900753
* EMAIL;TYPE=INTERNET,PREF:wee.ninja@collabora.co.uk
* EMAIL;TYPE=INTERNET:wee.ninja@example.com
* URL:http://www.thinkgeek.com/geektoys/plush/8823/
* NICKNAME:HR Ninja,Enforcement Ninja
* END:vCard</pre>
*
* <p>would be represented by (in Python-like syntax):</p>
*
* <pre>
* [
* ('fn', [], ['Wee Ninja']),
* ('n', ['language=ja'], ['Ninja', 'Wee', '', '', '-san']),
* ('org', [], ['Collabora, Ltd.', 'Management Division',
* 'Human Resources; Company Policy Enforcement']),
* ('adr', ['type=work','type=postal','type=parcel'],
* ['','','11 Kings Parade','Cambridge', 'Cambridgeshire','CB2 1SJ','UK']),
* ('label', ['type=work','type=postal','type=parcel'],
* ['''11 Kings Parade
* Cambridge
* Cambridgeshire
* UK
* CB2 1SJ''']),
* ('tel', ['type=voice','type=work'], ['+44 1223 362967']),
* ('tel', ['type=voice','type=work'], ['+44 7700 900753']),
* ('email', ['type=internet','type=pref'], ['wee.ninja@collabora.co.uk']),
* ('email', ['type=internet'], ['wee.ninja@example.com']),
* ('url', [], ['http://www.thinkgeek.com/geektoys/plush/8823/']),
* ('nickname', [], ['HR Ninja']),
* ('nickname', [], ['Enforcement Ninja'])
* ]</pre>
* \endhtmlonly
*/
struct TP_QT_EXPORT ContactInfoField
{
/**
* The name of the field; this is the lowercased name of a vCard field.
* For example, a field representing a contact's address would be
* named "adr".
*/
QString fieldName;
/**
* \htmlonly
* <p>A list of vCard type parameters applicable to this field, with their
* values. The type parameter names, and any values that are
* case-insensitive in vCard, MUST be in lower case. For example, a
* contact's preferred home address would have parameters
* 'type=home' and 'type=pref'.</p>
*
* <div class="rationale">
* The type parameter 'type' is likely to be the most common, but
* there can be others, such as 'language=en'.
* </div>
*
* <p>Characters which are required to be escaped in vCard type
* parameters should not be escaped in this list. For instance,
* a field "X-FOO;SEMICOLON=\\;:bar" in a vCard would become
* ('x-foo', ['semicolon=;'], ['bar']) in this interface.</p>
*
* <div class="rationale">
* This avoids Telepathy UIs having to understand the escaping and
* unescaping rules for vCards. The type parameter name is not
* allowed (by RFC 2425) to contain an '=' character, so no ambiguity
* is introduced.
* </div>
* \endhtmlonly
*/
QStringList parameters;
/**
* \htmlonly
* <p>For unstructured vCard fields (such as 'fn', a formatted name
* field), a single-element array containing the field's value.</p>
*
* <p>For structured fields (such as 'adr', an address field), an array
* corresponding to the semicolon-separated elements of the field (with
* empty strings for empty elements).</p>
*
* <p>A vCard field with multiple comma-separated values, such as
* 'nickname', should be represented by several
* <tp:type>Contact_Info_Field</tp:type>s.</p>
*
* <p>Characters which are required to be escaped in vCard values, such as
* semi-colons and newlines, should not be escaped in this list (e.g. if
* a value contains a newline, the data passed over D-Bus should
* contain a literal newline character).</p>
*
* <div class="rationale">
* An earlier draft of this interface split structured vCard fields
* into multiple Telepathy-level fields; for example, 'n' became
* 'family-name', 'given-name', etc. But under this representation,
* omitting empty components leads to difficulty identifying where one
* name ends and another begins. Consider the fields ['given-name',
* 'honorific-suffixes', 'family-name', 'honorific-prefixes']: does
* this represent two 'n' fields, or one with incorrect component
* ordering?
* </div>
* \endhtmlonly
*/
QStringList fieldValue;
};
TP_QT_EXPORT bool operator==(const ContactInfoField& v1, const ContactInfoField& v2);
inline bool operator!=(const ContactInfoField& v1, const ContactInfoField& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactInfoField& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactInfoField& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of ContactInfoField values.
*/
typedef QList<ContactInfoField> ContactInfoFieldList;
/**
* \struct ContactLocations
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, QVariantMap>, but needed to have a discrete type in the Qt type system.
*
* A map from contacts to their locations.
*/
struct TP_QT_EXPORT ContactLocations : public QMap<uint, QVariantMap>
{
inline ContactLocations() : QMap<uint, QVariantMap>() {}
inline ContactLocations(const QMap<uint, QVariantMap>& a) : QMap<uint, QVariantMap>(a) {}
inline ContactLocations& operator=(const QMap<uint, QVariantMap>& a)
{
*(static_cast<QMap<uint, QVariantMap>*>(this)) = a;
return *this;
}
};
/**
* \struct ContactMediaDescriptionPropertiesMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, QVariantMap>, but needed to have a discrete type in the Qt type system.
*/
struct TP_QT_EXPORT ContactMediaDescriptionPropertiesMap : public QMap<uint, QVariantMap>
{
inline ContactMediaDescriptionPropertiesMap() : QMap<uint, QVariantMap>() {}
inline ContactMediaDescriptionPropertiesMap(const QMap<uint, QVariantMap>& a) : QMap<uint, QVariantMap>(a) {}
inline ContactMediaDescriptionPropertiesMap& operator=(const QMap<uint, QVariantMap>& a)
{
*(static_cast<QMap<uint, QVariantMap>*>(this)) = a;
return *this;
}
};
/**
* \struct ContactSSRCsMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, UIntList>, but needed to have a discrete type in the Qt type system.
*/
struct TP_QT_EXPORT ContactSSRCsMap : public QMap<uint, UIntList>
{
inline ContactSSRCsMap() : QMap<uint, UIntList>() {}
inline ContactSSRCsMap(const QMap<uint, UIntList>& a) : QMap<uint, UIntList>(a) {}
inline ContactSSRCsMap& operator=(const QMap<uint, UIntList>& a)
{
*(static_cast<QMap<uint, UIntList>*>(this)) = a;
return *this;
}
};
/**
* \struct ContactSearchMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QString>, but needed to have a discrete type in the Qt type system.
*
* A map from search keys to search terms.
*/
struct TP_QT_EXPORT ContactSearchMap : public QMap<QString, QString>
{
inline ContactSearchMap() : QMap<QString, QString>() {}
inline ContactSearchMap(const QMap<QString, QString>& a) : QMap<QString, QString>(a) {}
inline ContactSearchMap& operator=(const QMap<QString, QString>& a)
{
*(static_cast<QMap<QString, QString>*>(this)) = a;
return *this;
}
};
/**
* \struct ContactSendingStateMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, uint>, but needed to have a discrete type in the Qt type system.
*
* A map from a contact to his or her sending state.
*/
struct TP_QT_EXPORT ContactSendingStateMap : public QMap<uint, uint>
{
inline ContactSendingStateMap() : QMap<uint, uint>() {}
inline ContactSendingStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
inline ContactSendingStateMap& operator=(const QMap<uint, uint>& a)
{
*(static_cast<QMap<uint, uint>*>(this)) = a;
return *this;
}
};
/**
* \struct ContactSubscriptions
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A single contact's subscribe, publish and publish-request attributes.
*/
struct TP_QT_EXPORT ContactSubscriptions
{
/**
* The new value of the contact's "subscribe" attribute.
*/
uint subscribe;
/**
* The new value of the contact's "publish" attribute.
*/
uint publish;
/**
* The new value of the contact's "publish-request"
* attribute, or the empty string if that attribute would be omitted.
*/
QString publishRequest;
};
TP_QT_EXPORT bool operator==(const ContactSubscriptions& v1, const ContactSubscriptions& v2);
inline bool operator!=(const ContactSubscriptions& v1, const ContactSubscriptions& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactSubscriptions& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactSubscriptions& val);
/**
* \struct CurrencyAmount
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* \htmlonly
* <p>An amount of money in a specified currency. For example,
* 3.21 British pounds would conventionally be represented by
* (<var>Amount</var> = <tt>321</tt>, <var>Scale</var> = <tt>2</tt>,
* <var>Currency</var> = <tt>"GBP"</tt>), but could be represented by
* (<var>Amount</var> = <tt>3210</tt>, <var>Scale</var> = <tt>3</tt>,
* <var>Currency</var> = <tt>"GBP"</tt>) in a service that records
* balance in units of 0.001 pounds.</p>
*
* <p>As a special case, if <var>Amount</var> = <tt>0</tt>,
* <var>Scale</var> = <tt>2**32 - 1</tt> (i.e. the largest possible
* 32-bit unsigned integer) and <var>Currency</var> = <tt>""</tt>, this
* indicates an unknown amount.</p>
* \endhtmlonly
*/
struct TP_QT_EXPORT CurrencyAmount
{
/**
* \htmlonly
* <p>The amount, expressed as a fixed-point number with decimal scale
* defined by the <var>Scale</var> field; for instance, an
* <var>Amount</var> value of <tt>1234</tt> with <var>Scale</var> of
* <tt>2</tt> represents 12.34 in the currency unit given by the
* <var>Currency</var> field.</p>
* \endhtmlonly
*/
int amount;
/**
* \htmlonly
* <p>The decimal scale for the fixed point value of the
* <var>Amount</var> field, defining the number of rightmost decimal
* digits from the integer value which form the fractional part of the
* resulting currency value.</p>
*
* <p>As well as defining the interpretation of <var>Amount</var>, user
* interfaces may use this value to determine the precision with which
* to display the amount.</p>
* \endhtmlonly
*/
uint scale;
/**
* The currency code represented by this amount, which SHOULD be an
* international currency code such as "EUR", "USD",
* or "JPY" if possible. An empty string can be used to indicate
* that the currency is not known.
*/
QString currency;
};
TP_QT_EXPORT bool operator==(const CurrencyAmount& v1, const CurrencyAmount& v2);
inline bool operator!=(const CurrencyAmount& v1, const CurrencyAmount& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CurrencyAmount& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CurrencyAmount& val);
/**
* \struct DBusTubeMember
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* Represents a participant in a multi-user D-Bus tube, as returned by
* GetDBusNames and seen in the DBusNamesChanged signal.
*/
struct TP_QT_EXPORT DBusTubeMember
{
/**
* The handle of a participant in this D-Bus tube.
*/
uint handle;
/**
* That participant's unique name.
*/
QString uniqueName;
};
TP_QT_EXPORT bool operator==(const DBusTubeMember& v1, const DBusTubeMember& v2);
inline bool operator!=(const DBusTubeMember& v1, const DBusTubeMember& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DBusTubeMember& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DBusTubeMember& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of DBusTubeMember values.
*/
typedef QList<DBusTubeMember> DBusTubeMemberList;
/**
* \struct DBusTubeParticipants
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, QString>, but needed to have a discrete type in the Qt type system.
*
* Represents the participants in a multi-user D-Bus tube, as used by the
* DBusNames property and the DBusNamesChanged signal.
*/
struct TP_QT_EXPORT DBusTubeParticipants : public QMap<uint, QString>
{
inline DBusTubeParticipants() : QMap<uint, QString>() {}
inline DBusTubeParticipants(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
inline DBusTubeParticipants& operator=(const QMap<uint, QString>& a)
{
*(static_cast<QMap<uint, QString>*>(this)) = a;
return *this;
}
};
/**
* \struct DebugMessage
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct representing a debug message, as returned by GetMessages.
*/
struct TP_QT_EXPORT DebugMessage
{
/**
* Timestamp of the debug message. This is a double to allow more accuracy
* in the time the message was logged.
*/
double timestamp;
/**
* \htmlonly
* <p>Domain of the debug message. This is used to identify
* the source of debug messages. For example, debug messages
* from a connection manager could have this Domain struct
* member be the name of the connection manager, and logs
* from any helper library could have the name of the helper
* library.</p>
*
* <p>The domain could also contain a category as to where
* the log message originated separated by a forward-slash.
* For example, if a debug message was output in a connection
* manager called "dummy", in the file-transfer code, this
* Domain struct member might be <tt>dummy/file-transfer</tt>.</p>
* \endhtmlonly
*/
QString domain;
/**
* Level of the debug message. This states the severity of the debug
* message.
*/
uint level;
/**
* The text of the debug message.
*/
QString message;
};
TP_QT_EXPORT bool operator==(const DebugMessage& v1, const DebugMessage& v2);
inline bool operator!=(const DebugMessage& v1, const DebugMessage& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DebugMessage& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DebugMessage& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of DebugMessage values.
*/
typedef QList<DebugMessage> DebugMessageList;
/**
* \struct FieldSpec
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct describing a vCard field, with parameters, that may be passed to
* SetContactInfo on this Connection.
*/
struct TP_QT_EXPORT FieldSpec
{
/**
* A vCard field name, such as 'tel'.
*/
QString name;
/**
* The set of vCard type parameters which may be set on this field. If
* this list is empty and the Contact_Info_Field_Flag_Parameters_Exact
* flag is not set, any vCard type parameters may be used.
*/
QStringList parameters;
/**
* Flags describing the behaviour of this field.
*/
uint flags;
/**
* Maximum number of instances of this field which may be set. MAXUINT32
* is used to indicate that there is no limit.
*/
uint max;
};
TP_QT_EXPORT bool operator==(const FieldSpec& v1, const FieldSpec& v2);
inline bool operator!=(const FieldSpec& v1, const FieldSpec& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const FieldSpec& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, FieldSpec& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of FieldSpec values.
*/
typedef QList<FieldSpec> FieldSpecs;
/**
* \struct HTTPPostData
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* \htmlonly
* <p>A pair (key, value) representing POST data compatible with the
* application/x-www-form-urlencoded MIME type. The strings MUST be
* valid UTF-8 strings, and the characters used in the key MUST obey
* the requirements of the
* <a href="http://www.w3.org/TR/html401/types.html#type-cdata">
* HTML CDATA type</a>. The value MUST NOT be
* encoded with HTML entities.</p>
*
* <p>For example, if the POST data should contain a key "less-than" with value
* "<", and a key "percent" with value "%", this should be represented as
* two HTTP_Post_Data structures, ("less-than", "<") and ("percent", "%"),
* resulting in a POST request whose request body is "less-than=&lt;&percent=%25".
* If a client passes this to a browser by writing it into an HTML form, it
* could do so by representing it as:</p>
*
* <pre>
* <input type="hidden" name="less-than">&lt;</input>
* <input type="hidden" name="percent">%</input>
* </pre>
*
* <div class="rationale">
* <p>This data can be used to generate a HTML file that will
* automatically load the URL with appropriate POST data, in which case
* the client MUST convert any characters that are special within HTML
* into HTML entities. Alternatively, it can be used in an API that will
* instruct the browser how to load the URL (like the Netscape Plug-in
* API), in which case the client MUST escape
* <a href="http://www.ietf.org/rfc/rfc1738.txt">characters that are
* reserved in URLs</a>, if appropriate for that API.</p>
*
* <p>An array of pairs is used instead of a map from keys to values,
* because it's valid to repeat keys in both HTML and
* x-www-form-urlencoded data.</p>
* </div>
* \endhtmlonly
*/
struct TP_QT_EXPORT HTTPPostData
{
/**
* The key, corresponding to a HTML control name
*/
QString key;
/**
* The value
*/
QString value;
};
TP_QT_EXPORT bool operator==(const HTTPPostData& v1, const HTTPPostData& v2);
inline bool operator!=(const HTTPPostData& v1, const HTTPPostData& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HTTPPostData& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HTTPPostData& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of HTTPPostData values.
*/
typedef QList<HTTPPostData> HTTPPostDataList;
/**
* \struct HandleIdentifierMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, QString>, but needed to have a discrete type in the Qt type system.
*
* A map from handles to the corresponding normalized string identifier.
*/
struct TP_QT_EXPORT HandleIdentifierMap : public QMap<uint, QString>
{
inline HandleIdentifierMap() : QMap<uint, QString>() {}
inline HandleIdentifierMap(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
inline HandleIdentifierMap& operator=(const QMap<uint, QString>& a)
{
*(static_cast<QMap<uint, QString>*>(this)) = a;
return *this;
}
};
/**
* \struct HandleOwnerMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, uint>, but needed to have a discrete type in the Qt type system.
*
* A map from channel-specific handles to their owners.
*/
struct TP_QT_EXPORT HandleOwnerMap : public QMap<uint, uint>
{
inline HandleOwnerMap() : QMap<uint, uint>() {}
inline HandleOwnerMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
inline HandleOwnerMap& operator=(const QMap<uint, uint>& a)
{
*(static_cast<QMap<uint, uint>*>(this)) = a;
return *this;
}
};
/**
* \struct LocalPendingInfo
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A structure representing a contact whose attempt to join a group is to be
* confirmed by the local user using AddMembers.
*/
struct TP_QT_EXPORT LocalPendingInfo
{
/**
* The contact to be added to the group
*/
uint toBeAdded;
/**
* The contact requesting or causing the change
*/
uint actor;
/**
* The reason for the change
*/
uint reason;
/**
* A human-readable message from the Actor, or an empty string if there is
* no message
*/
QString message;
};
TP_QT_EXPORT bool operator==(const LocalPendingInfo& v1, const LocalPendingInfo& v2);
inline bool operator!=(const LocalPendingInfo& v1, const LocalPendingInfo& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LocalPendingInfo& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LocalPendingInfo& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of LocalPendingInfo values.
*/
typedef QList<LocalPendingInfo> LocalPendingInfoList;
/**
* \struct Location
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.
*
* A user's location, represented as an extensible mapping.
*/
struct TP_QT_EXPORT Location : public QMap<QString, QDBusVariant>
{
inline Location() : QMap<QString, QDBusVariant>() {}
inline Location(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
inline Location& operator=(const QMap<QString, QDBusVariant>& a)
{
*(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
return *this;
}
};
/**
* \struct Mail
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.
*
* An extensible map representing a mail, or (on protocols where Thread_Based
* appears in MailNotificationFlags) a thread of mails. All keys are optional
* where not otherwise stated; however, at least one of "senders"
* and "subject" must be included.
*/
struct TP_QT_EXPORT Mail : public QMap<QString, QDBusVariant>
{
inline Mail() : QMap<QString, QDBusVariant>() {}
inline Mail(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
inline Mail& operator=(const QMap<QString, QDBusVariant>& a)
{
*(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
return *this;
}
};
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of Mail values.
*/
typedef QList<Mail> MailList;
/**
* \struct MailAddress
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* \htmlonly
* <p>A pair (name, address) representing an e-mail address,
* such as ("Nicolas Dufresne", "nicolas.dufresne@collabora.co.uk"). At
* least one of name and address MUST be provided. A missing element will
* be represented by the empty string.</p>
* <div class="rationale">
* <p>The CM should provide as much information as possible, but not all
* protocols provide both the displayed name and the address. (If a
* protocol doesn't provide either, it should omit the appropriate
* field from the <tp:type>Mail</tp:type> entirely.)</p>
* </div>
* \endhtmlonly
*/
struct TP_QT_EXPORT MailAddress
{
/**
* The displayed name corresponding to the e-mail address
*/
QString name;
/**
* The actual e-mail address
*/
QString address;
};
TP_QT_EXPORT bool operator==(const MailAddress& v1, const MailAddress& v2);
inline bool operator!=(const MailAddress& v1, const MailAddress& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailAddress& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailAddress& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of MailAddress values.
*/
typedef QList<MailAddress> MailAddressList;
/**
* \struct MediaDescriptionOffer
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* The remote description offer and its information
*/
struct TP_QT_EXPORT MediaDescriptionOffer
{
/**
* \htmlonly
* The object path to the \endhtmlonly CallContentMediaDescriptionInterface \htmlonly
* \endhtmlonly
*/
QDBusObjectPath mediaDescription;
/**
* The immutable properties of all interfaces of the codec description.
* Having all the codec description properties here saves a D-Bus
* round-trip - it shouldn't be necessary to get the properties from
* the MediaDescription object, in practice.
*/
QVariantMap properties;
};
TP_QT_EXPORT bool operator==(const MediaDescriptionOffer& v1, const MediaDescriptionOffer& v2);
inline bool operator!=(const MediaDescriptionOffer& v1, const MediaDescriptionOffer& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaDescriptionOffer& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaDescriptionOffer& val);
/**
* \struct MediaDescriptionProperties
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.
*
* \htmlonly
* <p>
* A mapping containing all properties that define the information from a
* \endhtmlonly CallContentMediaDescriptionInterface \htmlonly and its interfaces.
* </p>
*
* <p>
* If \endhtmlonly \link CallContentMediaDescriptionInterface::requestPropertyHasRemoteInformation() CallContentMediaDescriptionInterface::HasRemoteInformation \endlink \htmlonly is True, then this mapping
* will always contains at least
* \endhtmlonly \link CallContentMediaDescriptionInterface::requestPropertyCodecs() CallContentMediaDescriptionInterface::Codecs \endlink \htmlonly
* </p>
* \endhtmlonly
*/
struct TP_QT_EXPORT MediaDescriptionProperties : public QMap<QString, QDBusVariant>
{
inline MediaDescriptionProperties() : QMap<QString, QDBusVariant>() {}
inline MediaDescriptionProperties(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
inline MediaDescriptionProperties& operator=(const QMap<QString, QDBusVariant>& a)
{
*(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
return *this;
}
};
/**
* \struct MediaSessionHandlerInfo
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct representing a active session handler.
*/
struct TP_QT_EXPORT MediaSessionHandlerInfo
{
/**
* The object path of the session handler, which is on the same bus name
* as the channel.
*/
QDBusObjectPath sessionHandler;
/**
* The media session's type
*/
QString mediaSessionType;
};
TP_QT_EXPORT bool operator==(const MediaSessionHandlerInfo& v1, const MediaSessionHandlerInfo& v2);
inline bool operator!=(const MediaSessionHandlerInfo& v1, const MediaSessionHandlerInfo& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaSessionHandlerInfo& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaSessionHandlerInfo& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of MediaSessionHandlerInfo values.
*/
typedef QList<MediaSessionHandlerInfo> MediaSessionHandlerInfoList;
/**
* \struct MediaStreamHandlerTransport
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*/
struct TP_QT_EXPORT MediaStreamHandlerTransport
{
uint componentNumber;
QString IPAddress;
uint port;
uint protocol;
QString subtype;
QString profile;
double preferenceValue;
uint transportType;
QString username;
QString password;
};
TP_QT_EXPORT bool operator==(const MediaStreamHandlerTransport& v1, const MediaStreamHandlerTransport& v2);
inline bool operator!=(const MediaStreamHandlerTransport& v1, const MediaStreamHandlerTransport& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerTransport& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerTransport& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of MediaStreamHandlerTransport values.
*/
typedef QList<MediaStreamHandlerTransport> MediaStreamHandlerTransportList;
/**
* \struct MediaStreamInfo
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*/
struct TP_QT_EXPORT MediaStreamInfo
{
uint identifier;
uint contact;
uint type;
uint state;
uint direction;
uint pendingSendFlags;
};
TP_QT_EXPORT bool operator==(const MediaStreamInfo& v1, const MediaStreamInfo& v2);
inline bool operator!=(const MediaStreamInfo& v1, const MediaStreamInfo& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamInfo& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamInfo& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of MediaStreamInfo values.
*/
typedef QList<MediaStreamInfo> MediaStreamInfoList;
/**
* \struct MessagePart
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.
*/
struct TP_QT_EXPORT MessagePart : public QMap<QString, QDBusVariant>
{
inline MessagePart() : QMap<QString, QDBusVariant>() {}
inline MessagePart(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
inline MessagePart& operator=(const QMap<QString, QDBusVariant>& a)
{
*(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
return *this;
}
};
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of MessagePart values.
*/
typedef QList<MessagePart> MessagePartList;
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of MessagePartList values.
*/
typedef QList<MessagePartList> MessagePartListList;
/**
* \struct MessagePartContentMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, QDBusVariant>, but needed to have a discrete type in the Qt type system.
*
* A mapping from message part indexes to their content, as returned by
* GetPendingMessageContent.
*/
struct TP_QT_EXPORT MessagePartContentMap : public QMap<uint, QDBusVariant>
{
inline MessagePartContentMap() : QMap<uint, QDBusVariant>() {}
inline MessagePartContentMap(const QMap<uint, QDBusVariant>& a) : QMap<uint, QDBusVariant>(a) {}
inline MessagePartContentMap& operator=(const QMap<uint, QDBusVariant>& a)
{
*(static_cast<QMap<uint, QDBusVariant>*>(this)) = a;
return *this;
}
};
/**
* \struct Metadata
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QStringList>, but needed to have a discrete type in the Qt type system.
*
* A mapping from string key to a list of strings, used in the Metadata
* property. To emulate a simple string → string hash table one should have
* exactly one member in the value string list. This property is an a{sas}
* primarily because this maps easily to XEP-0004 Data Forms, and allows more
* structured metadata than a{ss} would. (For instance, a list of RDF triples
* could be expressed as one long array of strings, or as three-element values
* for a series of dummy key names, rather than as one big string blob.) While
* it might be convenient for applications to allow keys of arbitrary types,
* the added convenience would be outweighed by having to define the XMPP
* representation
*/
struct TP_QT_EXPORT Metadata : public QMap<QString, QStringList>
{
inline Metadata() : QMap<QString, QStringList>() {}
inline Metadata(const QMap<QString, QStringList>& a) : QMap<QString, QStringList>(a) {}
inline Metadata& operator=(const QMap<QString, QStringList>& a)
{
*(static_cast<QMap<QString, QStringList>*>(this)) = a;
return *this;
}
};
/**
* \struct MultipleStatusMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QVariantMap>, but needed to have a discrete type in the Qt type system.
*
* Mapping used in Last_Activity_And_Statuses and passed to SetStatus,
* representing a collection of statuses. Use of this mapping with more than
* one member is deprecated.
*/
struct TP_QT_EXPORT MultipleStatusMap : public QMap<QString, QVariantMap>
{
inline MultipleStatusMap() : QMap<QString, QVariantMap>() {}
inline MultipleStatusMap(const QMap<QString, QVariantMap>& a) : QMap<QString, QVariantMap>(a) {}
inline MultipleStatusMap& operator=(const QMap<QString, QVariantMap>& a)
{
*(static_cast<QMap<QString, QVariantMap>*>(this)) = a;
return *this;
}
};
/**
* \struct NotDelegatedError
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*/
struct TP_QT_EXPORT NotDelegatedError
{
/**
* the name of a D-Bus error describing what went wrong.
*/
QString errorName;
/**
* a human-readable informative error message.
*/
QString errorMessage;
};
TP_QT_EXPORT bool operator==(const NotDelegatedError& v1, const NotDelegatedError& v2);
inline bool operator!=(const NotDelegatedError& v1, const NotDelegatedError& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const NotDelegatedError& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, NotDelegatedError& val);
/**
* \struct ObjectImmutablePropertiesMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QDBusObjectPath, QVariantMap>, but needed to have a discrete type in the Qt type system.
*
* A mapping from object path to the immutable properties of the object.
*/
struct TP_QT_EXPORT ObjectImmutablePropertiesMap : public QMap<QDBusObjectPath, QVariantMap>
{
inline ObjectImmutablePropertiesMap() : QMap<QDBusObjectPath, QVariantMap>() {}
inline ObjectImmutablePropertiesMap(const QMap<QDBusObjectPath, QVariantMap>& a) : QMap<QDBusObjectPath, QVariantMap>(a) {}
inline ObjectImmutablePropertiesMap& operator=(const QMap<QDBusObjectPath, QVariantMap>& a)
{
*(static_cast<QMap<QDBusObjectPath, QVariantMap>*>(this)) = a;
return *this;
}
};
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of ObjectImmutablePropertiesMap values.
*/
typedef QList<ObjectImmutablePropertiesMap> ObjectImmutablePropertiesMapList;
/**
* \struct ParamSpec
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct representing an allowed parameter, as returned by GetParameters on
* the ConnectionManager interface.
*/
struct TP_QT_EXPORT ParamSpec
{
/**
* A string parameter name
*/
QString name;
/**
* A bitwise OR of the parameter flags
*/
uint flags;
/**
* A string containing the D-Bus type signature for this parameter
*/
QString signature;
/**
* The default value (if the Has_Default flag is not present, there is no
* default and this takes some dummy value, which SHOULD be of the
* appropriate D-Bus type)
*/
QDBusVariant defaultValue;
};
TP_QT_EXPORT bool operator==(const ParamSpec& v1, const ParamSpec& v2);
inline bool operator!=(const ParamSpec& v1, const ParamSpec& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ParamSpec& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ParamSpec& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of ParamSpec values.
*/
typedef QList<ParamSpec> ParamSpecList;
/**
* \struct PendingTextMessage
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct (message ID, timestamp in seconds since 1970-01-01 00:00 UTC,
* sender's handle, message type, flags, text) representing a pending
* text message, as returned by ListPendingMessages. The arguments of the
* Received signal also match this struct's signature.
*/
struct TP_QT_EXPORT PendingTextMessage
{
uint identifier;
uint unixTimestamp;
uint sender;
uint messageType;
uint flags;
QString text;
};
TP_QT_EXPORT bool operator==(const PendingTextMessage& v1, const PendingTextMessage& v2);
inline bool operator!=(const PendingTextMessage& v1, const PendingTextMessage& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PendingTextMessage& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PendingTextMessage& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of PendingTextMessage values.
*/
typedef QList<PendingTextMessage> PendingTextMessageList;
/**
* \struct PropertyFlagsChange
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct (property ID, flags) representing a change to a property's
* flags, as seen in the PropertyFlagsChanged signal on the Properties
* interface.
*/
struct TP_QT_EXPORT PropertyFlagsChange
{
uint propertyID;
uint newFlags;
};
TP_QT_EXPORT bool operator==(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2);
inline bool operator!=(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyFlagsChange& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyFlagsChange& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of PropertyFlagsChange values.
*/
typedef QList<PropertyFlagsChange> PropertyFlagsChangeList;
/**
* \struct PropertySpec
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct (property ID, property name, D-Bus signature, flags) representing
* a property, as returned by ListProperties on the Properties interface.
*/
struct TP_QT_EXPORT PropertySpec
{
uint propertyID;
QString name;
QString signature;
uint flags;
};
TP_QT_EXPORT bool operator==(const PropertySpec& v1, const PropertySpec& v2);
inline bool operator!=(const PropertySpec& v1, const PropertySpec& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertySpec& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertySpec& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of PropertySpec values.
*/
typedef QList<PropertySpec> PropertySpecList;
/**
* \struct PropertyValue
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct (property ID, value) representing a property's value, as seen
* in the PropertiesChanged signal on the Properties interface, returned by
* the GetProperties method and passed to the SetProperties method.
*/
struct TP_QT_EXPORT PropertyValue
{
uint identifier;
QDBusVariant value;
};
TP_QT_EXPORT bool operator==(const PropertyValue& v1, const PropertyValue& v2);
inline bool operator!=(const PropertyValue& v1, const PropertyValue& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyValue& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyValue& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of PropertyValue values.
*/
typedef QList<PropertyValue> PropertyValueList;
/**
* \struct ProtocolPropertiesMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QVariantMap>, but needed to have a discrete type in the Qt type system.
*
* \htmlonly
* <p>A map from protocol identifiers supported by a connection
* manager to the immutable properties of the corresponding
* \endhtmlonly ProtocolInterface \htmlonly objects.</p>
* \endhtmlonly
*/
struct TP_QT_EXPORT ProtocolPropertiesMap : public QMap<QString, QVariantMap>
{
inline ProtocolPropertiesMap() : QMap<QString, QVariantMap>() {}
inline ProtocolPropertiesMap(const QMap<QString, QVariantMap>& a) : QMap<QString, QVariantMap>(a) {}
inline ProtocolPropertiesMap& operator=(const QMap<QString, QVariantMap>& a)
{
*(static_cast<QMap<QString, QVariantMap>*>(this)) = a;
return *this;
}
};
/**
* \struct QualifiedPropertyValueMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.
*
* A mapping from strings representing D-Bus properties (by their namespaced
* names) to their values.
*/
struct TP_QT_EXPORT QualifiedPropertyValueMap : public QMap<QString, QDBusVariant>
{
inline QualifiedPropertyValueMap() : QMap<QString, QDBusVariant>() {}
inline QualifiedPropertyValueMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
inline QualifiedPropertyValueMap& operator=(const QMap<QString, QDBusVariant>& a)
{
*(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
return *this;
}
};
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of QualifiedPropertyValueMap values.
*/
typedef QList<QualifiedPropertyValueMap> QualifiedPropertyValueMapList;
/**
* \struct RTCPFeedbackMessage
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct defining an RTCP feedback message.
*/
struct TP_QT_EXPORT RTCPFeedbackMessage
{
/**
* Feedback type, for example "ack", "nack", or
* "ccm".
*/
QString type;
/**
* Feedback subtype, according to the Type, can be an empty string
* (""), if there is no subtype. For example, generic nack is
* Type="nack" Subtype="".
*/
QString subtype;
/**
* Feedback parameters as a string. Format is defined in the relevant RFC
*/
QString parameters;
};
TP_QT_EXPORT bool operator==(const RTCPFeedbackMessage& v1, const RTCPFeedbackMessage& v2);
inline bool operator!=(const RTCPFeedbackMessage& v1, const RTCPFeedbackMessage& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTCPFeedbackMessage& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTCPFeedbackMessage& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of RTCPFeedbackMessage values.
*/
typedef QList<RTCPFeedbackMessage> RTCPFeedbackMessageList;
/**
* \struct RTPHeaderExtension
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct defining a RTP Header extension.
*/
struct TP_QT_EXPORT RTPHeaderExtension
{
/**
* Identifier to be negotiated.
*/
uint ID;
/**
* Direction in which the Header Extension is negotiated.
*/
uint direction;
/**
* URI defining the extension.
*/
QString URI;
/**
* Feedback parameters as a string. Format is defined in the relevant RFC.
*/
QString parameters;
};
TP_QT_EXPORT bool operator==(const RTPHeaderExtension& v1, const RTPHeaderExtension& v2);
inline bool operator!=(const RTPHeaderExtension& v1, const RTPHeaderExtension& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTPHeaderExtension& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTPHeaderExtension& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of RTPHeaderExtension values.
*/
typedef QList<RTPHeaderExtension> RTPHeaderExtensionsList;
/**
* \struct RequestableChannelClass
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* \htmlonly
* <p>Structure representing a class of channels that can be requested,
* identified by a set of properties that identify that class of
* channel.</p>
*
* <div class="rationale">
* <p>This will often just be the channel type and the handle type,
* but can include other properties of the channel - for instance,
* encrypted channels might require properties that
* unencrypted channels do not, like an encryption key.</p>
* </div>
*
* <p>In some cases, these classes of channel may overlap, in the sense
* that one class fixes all the properties that another class does,
* plus some more properties.</p>
*
* <div class="rationale">
* <p>For older clients to still be able to understand how to request
* channels in the presence of a hypothetical "encryption" interface,
* we'd need to represent it like this:</p>
*
* <ul>
* <li>class 1: ChannelType = Text, TargetHandleType = CONTACT</li>
* <li>class 2: Channel.ChannelType = Text,
* Channel.TargetHandleType = CONTACT,
* Encryption.Encrypted = TRUE</li>
* </ul>
* </div>
* \endhtmlonly
*/
struct TP_QT_EXPORT RequestableChannelClass
{
/**
* \htmlonly
* <p>The property values that identify this requestable channel class.
* These properties MUST be included in requests for a channel of this
* class, and MUST take these values.</p>
*
* <p>Clients that do not understand the semantics of all the
* Fixed_Properties MUST NOT request channels of this class, since
* they would be unable to avoid making an incorrect request.</p>
*
* <p>This implies that connection managers wishing to make channels
* available to old or minimal clients SHOULD have a channel class
* with the minimum number of Fixed_Properties, and MAY additionally
* have channel classes with extra Fixed_Properties.</p>
*
* <p>Interface designers SHOULD avoid introducing fixed properties
* whose types are not serializable in a <code>.manager</code>
* file.</p>
*
* <div class="rationale">
* <p>Connection managers with a fixed property that is not
* serializable cannot have a complete <code>.manager</code>
* file.</p>
* </div>
* \endhtmlonly
*/
QVariantMap fixedProperties;
/**
* \htmlonly
* <p>Properties that MAY be set when requesting a channel of this
* channel type and handle type.</p>
*
* <p>This array MUST NOT include properties that are in the
* Fixed_Properties mapping.</p>
*
* <p>Properties in this array may either be required or optional,
* according to their documented semantics.</p>
*
* <div class="rationale">
* <p>For instance, if
* TargetHandleType takes a value that is not Handle_Type_None,
* one or the other of TargetHandle and TargetID is required.
* Clients are expected to understand the documented relationship
* between the properties, so we do not have separate arrays
* of required and optional properties.</p>
* </div>
*
* <p>If this array contains the
* \endhtmlonly org.freedesktop.Telepathy.Channel.FUTURE.Bundle \htmlonly
* property, then this class of channel can be combined with other
* channels with that property in a request, or added to an existing
* bundle. If not, this signifies that the connection manager is
* unable to mark channels of this class as part of a bundle - this
* means that to the remote contact they are likely to be
* indistinguishable from channels requested separately.</p>
* \endhtmlonly
*/
QStringList allowedProperties;
};
TP_QT_EXPORT bool operator==(const RequestableChannelClass& v1, const RequestableChannelClass& v2);
inline bool operator!=(const RequestableChannelClass& v1, const RequestableChannelClass& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RequestableChannelClass& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RequestableChannelClass& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of RequestableChannelClass values.
*/
typedef QList<RequestableChannelClass> RequestableChannelClassList;
/**
* \struct RichPresenceAccessControl
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* \htmlonly
* <p>An access control mode for extended presence items like geolocation.
* This type isn't actually used by the SimplePresence interface, but
* it's included here so it can be referenced by rich presence interfaces
* such as \endhtmlonly ConnectionInterfaceLocationInterface \htmlonly .</p>
*
* <p> \endhtmlonly ConnectionInterfaceLocationInterface \htmlonly
* uses this for historical reasons, new interfaces will use
* <tp:type>Access_Control_Type</tp:type>.</p>
* \endhtmlonly
*/
struct TP_QT_EXPORT RichPresenceAccessControl
{
/**
* The type of access control to apply.
*/
uint type;
/**
* Any additional information required by the Type. The required type and
* semantics are defined for each Rich_Presence_Access_Control_Type.
*/
QDBusVariant detail;
};
TP_QT_EXPORT bool operator==(const RichPresenceAccessControl& v1, const RichPresenceAccessControl& v2);
inline bool operator!=(const RichPresenceAccessControl& v1, const RichPresenceAccessControl& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RichPresenceAccessControl& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RichPresenceAccessControl& val);
/**
* \struct RoomInfo
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*/
struct TP_QT_EXPORT RoomInfo
{
uint handle;
QString channelType;
QVariantMap info;
};
TP_QT_EXPORT bool operator==(const RoomInfo& v1, const RoomInfo& v2);
inline bool operator!=(const RoomInfo& v1, const RoomInfo& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RoomInfo& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RoomInfo& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of RoomInfo values.
*/
typedef QList<RoomInfo> RoomInfoList;
/**
* \struct ServicePoint
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A service point.
*/
struct TP_QT_EXPORT ServicePoint
{
/**
* The service type.
*/
uint servicePointType;
/**
* String representation of the service point. The representation is
* service specific; it may be a 'service' Uniform Resource Name
* as specified by RFC 5031, or may be in some other form. Empty, unused
* or unknown value is represented by "".
*/
QString service;
};
TP_QT_EXPORT bool operator==(const ServicePoint& v1, const ServicePoint& v2);
inline bool operator!=(const ServicePoint& v1, const ServicePoint& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePoint& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePoint& val);
/**
* \struct SimplePresence
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct representing the presence of a contact.
*/
struct TP_QT_EXPORT SimplePresence
{
/**
* The presence type, e.g. Connection_Presence_Type_Away.
*/
uint type;
/**
* The string identifier of the status, e.g. "brb", as defined
* in the Statuses property.
*/
QString status;
/**
* \htmlonly
* <p>The user-defined status message, e.g. "Back soon!".</p>
*
* <p>Clients SHOULD set the status message for the local
* user to the empty string, unless the user has actually provided
* a specific message (i.e. one that conveys more information than the
* Status).</p>
*
* <p>User interfaces SHOULD regard an empty status message as unset,
* and MAY replace it with a localized string corresponding to the
* Status or Type.</p>
*
* <div class="rationale">
* Use case: Daf sets his status in Empathy by choosing the Welsh
* translation of "Available" from a menu.
* It is more informative for his English-speaking colleagues
* to see the English translation of "Available" (as localized
* by their own clients) than to see "Ar Gael" (which they don't
* understand anyway).
* </div>
* \endhtmlonly
*/
QString statusMessage;
};
TP_QT_EXPORT bool operator==(const SimplePresence& v1, const SimplePresence& v2);
inline bool operator!=(const SimplePresence& v1, const SimplePresence& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimplePresence& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimplePresence& val);
/**
* \struct SimpleStatusSpec
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct containing information about a status.
*/
struct TP_QT_EXPORT SimpleStatusSpec
{
/**
* The type of a presence. This SHOULD NOT be used as a way to set
* statuses that the client does not recognise (as explained in
* SetPresence), but MAY be used to check that the client's
* assumptions about a particular status name match the connection
* manager's.
*/
uint type;
/**
* If true, the user can set this status on themselves using SetPresence.
*/
bool maySetOnSelf;
/**
* If true, a non-empty message can be set for this status. Otherwise, the
* empty string is the only acceptable message. On IRC you can be Away
* with a status message, but if you are available you cannot set a status
* message.
*/
bool canHaveMessage;
};
TP_QT_EXPORT bool operator==(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2);
inline bool operator!=(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimpleStatusSpec& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimpleStatusSpec& val);
/**
* \struct SingleContactAttributesMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.
*
* Some of the attributes of a single contact.
*/
struct TP_QT_EXPORT SingleContactAttributesMap : public QMap<QString, QDBusVariant>
{
inline SingleContactAttributesMap() : QMap<QString, QDBusVariant>() {}
inline SingleContactAttributesMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
inline SingleContactAttributesMap& operator=(const QMap<QString, QDBusVariant>& a)
{
*(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
return *this;
}
};
/**
* \struct SocketAddressIP
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* An IP address and port.
*/
struct TP_QT_EXPORT SocketAddressIP
{
/**
* Either a dotted-quad IPv4 address literal as for Socket_Address_IPv4,
* or an RFC2373 IPv6 address as for Socket_Address_IPv6.
*/
QString address;
/**
* The TCP or UDP port number.
*/
ushort port;
};
TP_QT_EXPORT bool operator==(const SocketAddressIP& v1, const SocketAddressIP& v2);
inline bool operator!=(const SocketAddressIP& v1, const SocketAddressIP& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIP& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIP& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of SocketAddressIP values.
*/
typedef QList<SocketAddressIP> SocketAddressIPList;
/**
* \struct SocketAddressIPv4
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* An IPv4 address and port.
*/
struct TP_QT_EXPORT SocketAddressIPv4
{
/**
* A dotted-quad IPv4 address literal: four ASCII decimal numbers, each
* between 0 and 255 inclusive, e.g. "192.168.0.1".
*/
QString address;
/**
* The TCP or UDP port number.
*/
ushort port;
};
TP_QT_EXPORT bool operator==(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2);
inline bool operator!=(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv4& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv4& val);
/**
* \struct SocketAddressIPv6
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* An IPv6 address and port.
*/
struct TP_QT_EXPORT SocketAddressIPv6
{
/**
* An IPv6 address literal as specified by RFC2373 section 2.2, e.g.
* "2001:DB8::8:800:200C:4171".
*/
QString address;
/**
* The TCP or UDP port number.
*/
ushort port;
};
TP_QT_EXPORT bool operator==(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2);
inline bool operator!=(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv6& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv6& val);
/**
* \struct SocketNetmaskIPv4
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* An IPv4 network or subnet.
*/
struct TP_QT_EXPORT SocketNetmaskIPv4
{
/**
* A dotted-quad IPv4 address literal: four ASCII decimal numbers, each
* between 0 and 255 inclusive, e.g. "192.168.0.1".
*/
QString address;
/**
* The number of leading bits of the address that must match, for this
* netmask to be considered to match an address.
*/
uchar prefixLength;
};
TP_QT_EXPORT bool operator==(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2);
inline bool operator!=(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv4& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv4& val);
/**
* \struct SocketNetmaskIPv6
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* An IPv6 network or subnet.
*/
struct TP_QT_EXPORT SocketNetmaskIPv6
{
/**
* An IPv6 address literal as specified by RFC2373 section 2.2, e.g.
* "2001:DB8::8:800:200C:4171".
*/
QString address;
/**
* The number of leading bits of the address that must match, for this
* netmask to be considered to match an address.
*/
uchar prefixLength;
};
TP_QT_EXPORT bool operator==(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2);
inline bool operator!=(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv6& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv6& val);
/**
* \struct StreamCredentials
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A username and password pair.
*/
struct TP_QT_EXPORT StreamCredentials
{
/**
* The username.
*/
QString username;
/**
* The password.
*/
QString password;
};
TP_QT_EXPORT bool operator==(const StreamCredentials& v1, const StreamCredentials& v2);
inline bool operator!=(const StreamCredentials& v1, const StreamCredentials& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StreamCredentials& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StreamCredentials& val);
/**
* \struct StringStringMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QString>, but needed to have a discrete type in the Qt type system.
*
* A mapping from strings to strings representing extra key-value pairs.
*/
struct TP_QT_EXPORT StringStringMap : public QMap<QString, QString>
{
inline StringStringMap() : QMap<QString, QString>() {}
inline StringStringMap(const QMap<QString, QString>& a) : QMap<QString, QString>(a) {}
inline StringStringMap& operator=(const QMap<QString, QString>& a)
{
*(static_cast<QMap<QString, QString>*>(this)) = a;
return *this;
}
};
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of StringStringMap values.
*/
typedef QList<StringStringMap> StringStringMapList;
/**
* \struct StringVariantMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.
*
* A mapping from strings to variants representing extra key-value pairs.
*/
struct TP_QT_EXPORT StringVariantMap : public QMap<QString, QDBusVariant>
{
inline StringVariantMap() : QMap<QString, QDBusVariant>() {}
inline StringVariantMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
inline StringVariantMap& operator=(const QMap<QString, QDBusVariant>& a)
{
*(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
return *this;
}
};
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of StringVariantMap values.
*/
typedef QList<StringVariantMap> StringVariantMapList;
/**
* \struct SupportedSocketMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, UIntList>, but needed to have a discrete type in the Qt type system.
*
* The supported socket address and access-control types for tubes. See
* GetAvailableStreamTubeTypes.
*/
struct TP_QT_EXPORT SupportedSocketMap : public QMap<uint, UIntList>
{
inline SupportedSocketMap() : QMap<uint, UIntList>() {}
inline SupportedSocketMap(const QMap<uint, UIntList>& a) : QMap<uint, UIntList>(a) {}
inline SupportedSocketMap& operator=(const QMap<uint, UIntList>& a)
{
*(static_cast<QMap<uint, UIntList>*>(this)) = a;
return *this;
}
};
/**
* \struct TLSCertificateRejection
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* \htmlonly
* <p>Struct representing one reason why a TLS certificate was rejected.</p>
* <p>Since there can be multiple things wrong with a TLS certificate,
* arrays of this type are used to represent lists of reasons for
* rejection. In that case, the most important reason SHOULD be placed
* first in the list.</p>
* \endhtmlonly
*/
struct TP_QT_EXPORT TLSCertificateRejection
{
/**
* \htmlonly
* <p>The value of the TLS_Certificate_Reject_Reason enumeration for
* this certificate rejection.
* <div class="rationale">
* Clients that do not understand the <code>Error</code> member,
* which may be implementation-specific, can use this property to
* classify rejection reasons into common categories.
* </div>
* </p>
* \endhtmlonly
*/
uint reason;
/**
* \htmlonly
* <p>The DBus error name for this certificate rejection.</p>
* <p>This MAY correspond to the value of the <code>Reason</code> member,
* or MAY be a more specific D-Bus error name, perhaps implementation-specific.</p>
* \endhtmlonly
*/
QString error;
/**
* \htmlonly
* <p>Additional information about why the certificate was rejected.
* This MAY also include one or more of the following well-known keys:</p>
* <p>
* <dl>
* <dt>user-requested (b)</dt>
* <dd>True if the error was due to an user-requested rejection of
* the certificate; False if there was an unrecoverable error in the
* verification process.</dd>
* <dt>expected-hostname (s)</dt>
* <dd>If the rejection reason is Hostname_Mismatch, the hostname that
* the server certificate was expected to have.</dd>
* <dt>certificate-hostname (s)</dt>
* <dd>If the rejection reason is Hostname_Mismatch, the hostname of
* the certificate that was presented.
* <div class="rationale">
* <p>For instance, if you try to connect to gmail.com but are presented
* with a TLS certificate issued to evil.example.org, the error details
* for Hostname_Mismatch MAY include:</p>
* <pre>
* {
* 'expected-hostname': 'gmail.com',
* 'certificate-hostname': 'evil.example.org',
* }
* </pre>
* </div>
* </dd>
* <dt>debug-message (s)</dt>
* <dd>Debugging information on the error, corresponding to the
* message part of a D-Bus error message, which SHOULD NOT be
* displayed to users under normal circumstances</dd>
* </dl>
* </p>
* \endhtmlonly
*/
QVariantMap details;
};
TP_QT_EXPORT bool operator==(const TLSCertificateRejection& v1, const TLSCertificateRejection& v2);
inline bool operator!=(const TLSCertificateRejection& v1, const TLSCertificateRejection& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TLSCertificateRejection& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TLSCertificateRejection& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of TLSCertificateRejection values.
*/
typedef QList<TLSCertificateRejection> TLSCertificateRejectionList;
/**
* \struct TubeInfo
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A struct (tube ID, initiator handle, tube type, service name, parameters,
* state) representing a tube, as returned by ListTubes on the Tubes channel
* type.
*/
struct TP_QT_EXPORT TubeInfo
{
uint identifier;
uint initiator;
uint type;
QString service;
QVariantMap parameters;
uint state;
};
TP_QT_EXPORT bool operator==(const TubeInfo& v1, const TubeInfo& v2);
inline bool operator!=(const TubeInfo& v1, const TubeInfo& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TubeInfo& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TubeInfo& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of TubeInfo values.
*/
typedef QList<TubeInfo> TubeInfoList;
/**
* \struct VCardFieldAddressMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, QString>, but needed to have a discrete type in the Qt type system.
*
* \htmlonly
* <p>A mapping of vCard fields and addresses equivalent to a
* particular contact's protocol identifier. For instance,
* on XMPP this would contain <code>x-jabber</code> for all
* contacts, and <code>x-facebook-id</code> for contacts on
* Facebook's server.</p>
* \endhtmlonly
*/
struct TP_QT_EXPORT VCardFieldAddressMap : public QMap<QString, QString>
{
inline VCardFieldAddressMap() : QMap<QString, QString>() {}
inline VCardFieldAddressMap(const QMap<QString, QString>& a) : QMap<QString, QString>(a) {}
inline VCardFieldAddressMap& operator=(const QMap<QString, QString>& a)
{
*(static_cast<QMap<QString, QString>*>(this)) = a;
return *this;
}
};
/**
* \struct VideoResolution
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*/
struct TP_QT_EXPORT VideoResolution
{
/**
* With of the video stream.
*/
uint width;
/**
* Height of the video stream.
*/
uint height;
};
TP_QT_EXPORT bool operator==(const VideoResolution& v1, const VideoResolution& v2);
inline bool operator!=(const VideoResolution& v1, const VideoResolution& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const VideoResolution& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, VideoResolution& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of VideoResolution values.
*/
typedef QList<VideoResolution> VideoResolutionStruct;
/**
* \struct CandidatePair
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A Pair of candidates.
*/
struct TP_QT_EXPORT CandidatePair
{
/**
* The local candidate.
*/
Candidate local;
/**
* The remote candidate.
*/
Candidate remote;
};
TP_QT_EXPORT bool operator==(const CandidatePair& v1, const CandidatePair& v2);
inline bool operator!=(const CandidatePair& v1, const CandidatePair& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CandidatePair& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CandidatePair& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of CandidatePair values.
*/
typedef QList<CandidatePair> CandidatePairList;
/**
* \struct Codec
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A description of a codec.
*/
struct TP_QT_EXPORT Codec
{
/**
* \htmlonly
* Numeric identifier for the codec. This will be used as the PT in the
* SDP or content description.
* \endhtmlonly
*/
uint identifier;
/**
* \htmlonly
* The name of the codec.
* \endhtmlonly
*/
QString name;
/**
* \htmlonly
* The clockrate of the codec.
* \endhtmlonly
*/
uint clockrate;
/**
* \htmlonly
* Number of channels of the codec if applicable, otherwise 0.
* \endhtmlonly
*/
uint channels;
/**
* \htmlonly
* This should be set to true in calls to \endhtmlonly CallContentMediaDescriptionInterface::Accept() \htmlonly and
* \endhtmlonly UpdateLocalMediaDescription() \htmlonly if this
* codec has changed in a way that needs to be signalled over the
* network. If it is set to false, the CM is allowed ignore any
* differences between the current parameters and the previous ones
* <div class="rationale">
* This mechanism may be used to save bandwidth and avoid the CM
* having to calculate diffs against previous versions of this
* struct, which can lead to false-positives (e.g. redundant ptime
* updates).
* </div>
* \endhtmlonly
*/
bool updated;
/**
* \htmlonly
* Extra parameters for this codec.
* \endhtmlonly
*/
StringStringMap parameters;
};
TP_QT_EXPORT bool operator==(const Codec& v1, const Codec& v2);
inline bool operator!=(const Codec& v1, const Codec& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Codec& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Codec& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of Codec values.
*/
typedef QList<Codec> CodecList;
/**
* \struct ContactCapabilitiesMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, RequestableChannelClassList>, but needed to have a discrete type in the Qt type system.
*
* A mapping from contact handle to their capabilities.
*/
struct TP_QT_EXPORT ContactCapabilitiesMap : public QMap<uint, RequestableChannelClassList>
{
inline ContactCapabilitiesMap() : QMap<uint, RequestableChannelClassList>() {}
inline ContactCapabilitiesMap(const QMap<uint, RequestableChannelClassList>& a) : QMap<uint, RequestableChannelClassList>(a) {}
inline ContactCapabilitiesMap& operator=(const QMap<uint, RequestableChannelClassList>& a)
{
*(static_cast<QMap<uint, RequestableChannelClassList>*>(this)) = a;
return *this;
}
};
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of ContactCapabilitiesMap values.
*/
typedef QList<ContactCapabilitiesMap> ContactCapabilitiesMapList;
/**
* \struct ContactInfoMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, ContactInfoFieldList>, but needed to have a discrete type in the Qt type system.
*
* A dictionary whose keys are contact handles and whose values are contact
* information..
*/
struct TP_QT_EXPORT ContactInfoMap : public QMap<uint, ContactInfoFieldList>
{
inline ContactInfoMap() : QMap<uint, ContactInfoFieldList>() {}
inline ContactInfoMap(const QMap<uint, ContactInfoFieldList>& a) : QMap<uint, ContactInfoFieldList>(a) {}
inline ContactInfoMap& operator=(const QMap<uint, ContactInfoFieldList>& a)
{
*(static_cast<QMap<uint, ContactInfoFieldList>*>(this)) = a;
return *this;
}
};
/**
* \struct ContactSearchResultMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, ContactInfoFieldList>, but needed to have a discrete type in the Qt type system.
*
* A map from contact identifier to search result, emitted in the
* SearchResultReceived signal.
*/
struct TP_QT_EXPORT ContactSearchResultMap : public QMap<QString, ContactInfoFieldList>
{
inline ContactSearchResultMap() : QMap<QString, ContactInfoFieldList>() {}
inline ContactSearchResultMap(const QMap<QString, ContactInfoFieldList>& a) : QMap<QString, ContactInfoFieldList>(a) {}
inline ContactSearchResultMap& operator=(const QMap<QString, ContactInfoFieldList>& a)
{
*(static_cast<QMap<QString, ContactInfoFieldList>*>(this)) = a;
return *this;
}
};
/**
* \struct ContactSubscriptionMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, ContactSubscriptions>, but needed to have a discrete type in the Qt type system.
*
* A map from contacts to their subscribe, publish and publish-request
* attributes.
*/
struct TP_QT_EXPORT ContactSubscriptionMap : public QMap<uint, ContactSubscriptions>
{
inline ContactSubscriptionMap() : QMap<uint, ContactSubscriptions>() {}
inline ContactSubscriptionMap(const QMap<uint, ContactSubscriptions>& a) : QMap<uint, ContactSubscriptions>(a) {}
inline ContactSubscriptionMap& operator=(const QMap<uint, ContactSubscriptions>& a)
{
*(static_cast<QMap<uint, ContactSubscriptions>*>(this)) = a;
return *this;
}
};
/**
* \struct HandlerCapabilities
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* A structure representing the capabilities of a single client.
*/
struct TP_QT_EXPORT HandlerCapabilities
{
/**
* For implementations of the Client interface, the well-known bus name
* name of the client; for any other process, any other reversed domain
* name that uniquely identifies it.
*/
QString wellKnownName;
/**
* \htmlonly
* An array of channel classes that can be handled by this client.
* This will usually be a copy of the client's \endhtmlonly \link ClientHandlerInterface::requestPropertyHandlerChannelFilter() ClientHandlerInterface::HandlerChannelFilter \endlink \htmlonly
* property.
* \endhtmlonly
*/
StringVariantMapList channelClasses;
/**
* \htmlonly
* An array of client capabilities supported by this client, to be
* used by the connection manager to determine what capabilities to
* advertise. This will usually be a copy of the client's \endhtmlonly \link ClientHandlerInterface::requestPropertyCapabilities() ClientHandlerInterface::Capabilities \endlink \htmlonly
* property.
* \endhtmlonly
*/
QStringList capabilities;
};
TP_QT_EXPORT bool operator==(const HandlerCapabilities& v1, const HandlerCapabilities& v2);
inline bool operator!=(const HandlerCapabilities& v1, const HandlerCapabilities& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HandlerCapabilities& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HandlerCapabilities& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of HandlerCapabilities values.
*/
typedef QList<HandlerCapabilities> HandlerCapabilitiesList;
/**
* \struct LastActivityAndStatuses
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* Structure representing a contact's presence, containing a
* last-activity time (deprecated) and a Multiple_Status_Map.
*/
struct TP_QT_EXPORT LastActivityAndStatuses
{
uint lastActivity;
MultipleStatusMap statuses;
};
TP_QT_EXPORT bool operator==(const LastActivityAndStatuses& v1, const LastActivityAndStatuses& v2);
inline bool operator!=(const LastActivityAndStatuses& v1, const LastActivityAndStatuses& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LastActivityAndStatuses& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LastActivityAndStatuses& val);
/**
* \struct MailURL
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* \htmlonly
* <p>A structure containing the required information to open a web-based
* e-mail UI, without needing re-authentication (if possible).</p>
*
* <p>Because the URL and POST data frequently contain short-lived
* credential tokens, a new URL should be requested (by calling one of
* the methods that returns a Mail_URL) for each visit to the web-based
* UI, and the URL should be visited soon after it is returned.</p>
* \endhtmlonly
*/
struct TP_QT_EXPORT MailURL
{
/**
* The URL to which to send a request.
*/
QString URL;
/**
* The HTTP method of the request.
*/
uint method;
/**
* An array of name-value pairs containing the POST data to use when
* opening the URL. This MUST be an empty array if the Method is not POST.
*/
HTTPPostDataList postData;
};
TP_QT_EXPORT bool operator==(const MailURL& v1, const MailURL& v2);
inline bool operator!=(const MailURL& v1, const MailURL& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailURL& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailURL& val);
/**
* \struct MediaStreamHandlerCandidate
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*/
struct TP_QT_EXPORT MediaStreamHandlerCandidate
{
QString name;
MediaStreamHandlerTransportList transports;
};
TP_QT_EXPORT bool operator==(const MediaStreamHandlerCandidate& v1, const MediaStreamHandlerCandidate& v2);
inline bool operator!=(const MediaStreamHandlerCandidate& v1, const MediaStreamHandlerCandidate& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCandidate& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCandidate& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of MediaStreamHandlerCandidate values.
*/
typedef QList<MediaStreamHandlerCandidate> MediaStreamHandlerCandidateList;
/**
* \struct MediaStreamHandlerCodec
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* Information about a codec supported by a client or a peer's client.
*/
struct TP_QT_EXPORT MediaStreamHandlerCodec
{
/**
* The codec's payload identifier, as per RFC 3551 (static or dynamic)
*/
uint codecID;
/**
* The codec's name
*/
QString name;
/**
* Type of stream this codec supports
*/
uint mediaType;
/**
* Sampling frequency in Hertz
*/
uint clockRate;
/**
* Number of supported channels
*/
uint numberOfChannels;
/**
* Codec-specific optional parameters
*/
StringStringMap parameters;
};
TP_QT_EXPORT bool operator==(const MediaStreamHandlerCodec& v1, const MediaStreamHandlerCodec& v2);
inline bool operator!=(const MediaStreamHandlerCodec& v1, const MediaStreamHandlerCodec& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCodec& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCodec& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of MediaStreamHandlerCodec values.
*/
typedef QList<MediaStreamHandlerCodec> MediaStreamHandlerCodecList;
/**
* \struct NotDelegatedMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QDBusObjectPath, NotDelegatedError>, but needed to have a discrete type in the Qt type system.
*
* A mapping associating not delegated channel with an error.
*/
struct TP_QT_EXPORT NotDelegatedMap : public QMap<QDBusObjectPath, NotDelegatedError>
{
inline NotDelegatedMap() : QMap<QDBusObjectPath, NotDelegatedError>() {}
inline NotDelegatedMap(const QMap<QDBusObjectPath, NotDelegatedError>& a) : QMap<QDBusObjectPath, NotDelegatedError>(a) {}
inline NotDelegatedMap& operator=(const QMap<QDBusObjectPath, NotDelegatedError>& a)
{
*(static_cast<QMap<QDBusObjectPath, NotDelegatedError>*>(this)) = a;
return *this;
}
};
/**
* \struct RTCPFeedbackMessageProperties
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*/
struct TP_QT_EXPORT RTCPFeedbackMessageProperties
{
/**
* The minimum interval between two regular RTCP packets in milliseconds
* for this content. If no special value is desired, one should put
* MAXUINT (0xFFFFFFFF). Implementors and users of Call's
* RTCPFeedback should not use the MAXUINT default. Instead, in RTP/AVP,
* the default should be 5000 (5 seconds). If using the RTP/AVPF profile,
* it can be set to a lower value, the default being 0.
*/
uint RTCPMinimumInterval;
/**
* The RTCP feedback messages for this codec.
*/
RTCPFeedbackMessageList messages;
};
TP_QT_EXPORT bool operator==(const RTCPFeedbackMessageProperties& v1, const RTCPFeedbackMessageProperties& v2);
inline bool operator!=(const RTCPFeedbackMessageProperties& v1, const RTCPFeedbackMessageProperties& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTCPFeedbackMessageProperties& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTCPFeedbackMessageProperties& val);
/**
* \struct ServicePointInfo
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*
* Description of a service point and IDs which are mapped to it. An example
* Service Point info for GSM emergency calls (callable through
* "911" and "112") could look like: ServicePointInfo = (
* Service_Point: ( Service_Point_Type: 1 (Emergency), Service_Point:
* "urn:service:sos" ), Service_IDs: [ "911",
* "112" ] )
*/
struct TP_QT_EXPORT ServicePointInfo
{
/**
* The service point.
*/
ServicePoint servicePoint;
/**
* A list of IDs that are mapped to this service. This is provided as a
* convenience for the UIs, but the preferred method for requesting
* channel to a service is by setting the InitialServicePoint property in
* a channel request.
*/
QStringList serviceIDs;
};
TP_QT_EXPORT bool operator==(const ServicePointInfo& v1, const ServicePointInfo& v2);
inline bool operator!=(const ServicePointInfo& v1, const ServicePointInfo& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePointInfo& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePointInfo& val);
/**
* \ingroup list
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Array of ServicePointInfo values.
*/
typedef QList<ServicePointInfo> ServicePointInfoList;
/**
* \struct SimpleContactPresences
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, SimplePresence>, but needed to have a discrete type in the Qt type system.
*
* Mapping returned by GetPresences and signalled by PresencesChanged,
* indicating the presence of a number of contacts.
*/
struct TP_QT_EXPORT SimpleContactPresences : public QMap<uint, SimplePresence>
{
inline SimpleContactPresences() : QMap<uint, SimplePresence>() {}
inline SimpleContactPresences(const QMap<uint, SimplePresence>& a) : QMap<uint, SimplePresence>(a) {}
inline SimpleContactPresences& operator=(const QMap<uint, SimplePresence>& a)
{
*(static_cast<QMap<uint, SimplePresence>*>(this)) = a;
return *this;
}
};
/**
* \struct SimpleStatusSpecMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, SimpleStatusSpec>, but needed to have a discrete type in the Qt type system.
*
* A mapping describing possible statuses.
*/
struct TP_QT_EXPORT SimpleStatusSpecMap : public QMap<QString, SimpleStatusSpec>
{
inline SimpleStatusSpecMap() : QMap<QString, SimpleStatusSpec>() {}
inline SimpleStatusSpecMap(const QMap<QString, SimpleStatusSpec>& a) : QMap<QString, SimpleStatusSpec>(a) {}
inline SimpleStatusSpecMap& operator=(const QMap<QString, SimpleStatusSpec>& a)
{
*(static_cast<QMap<QString, SimpleStatusSpec>*>(this)) = a;
return *this;
}
};
/**
* \struct StatusSpec
* \ingroup struct
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Structure type generated from the specification.
*/
struct TP_QT_EXPORT StatusSpec
{
uint type;
bool maySetOnSelf;
bool exclusive;
StringStringMap parameterTypes;
};
TP_QT_EXPORT bool operator==(const StatusSpec& v1, const StatusSpec& v2);
inline bool operator!=(const StatusSpec& v1, const StatusSpec& v2)
{
return !operator==(v1, v2);
}
TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StatusSpec& val);
TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StatusSpec& val);
/**
* \struct ContactCodecMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, CodecList>, but needed to have a discrete type in the Qt type system.
*
* A map from contact to the list of codecs he or she supports.
*/
struct TP_QT_EXPORT ContactCodecMap : public QMap<uint, CodecList>
{
inline ContactCodecMap() : QMap<uint, CodecList>() {}
inline ContactCodecMap(const QMap<uint, CodecList>& a) : QMap<uint, CodecList>(a) {}
inline ContactCodecMap& operator=(const QMap<uint, CodecList>& a)
{
*(static_cast<QMap<uint, CodecList>*>(this)) = a;
return *this;
}
};
/**
* \struct ContactPresences
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, LastActivityAndStatuses>, but needed to have a discrete type in the Qt type system.
*
* Mapping returned by GetPresence and signalled by PresenceUpdate, where the
* keys are contacts and the values represent their presences.
*/
struct TP_QT_EXPORT ContactPresences : public QMap<uint, LastActivityAndStatuses>
{
inline ContactPresences() : QMap<uint, LastActivityAndStatuses>() {}
inline ContactPresences(const QMap<uint, LastActivityAndStatuses>& a) : QMap<uint, LastActivityAndStatuses>(a) {}
inline ContactPresences& operator=(const QMap<uint, LastActivityAndStatuses>& a)
{
*(static_cast<QMap<uint, LastActivityAndStatuses>*>(this)) = a;
return *this;
}
};
/**
* \struct RTCPFeedbackMessageMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<uint, RTCPFeedbackMessageProperties>, but needed to have a discrete type in the Qt type system.
*
* A map of codec and its feedback properties.
*/
struct TP_QT_EXPORT RTCPFeedbackMessageMap : public QMap<uint, RTCPFeedbackMessageProperties>
{
inline RTCPFeedbackMessageMap() : QMap<uint, RTCPFeedbackMessageProperties>() {}
inline RTCPFeedbackMessageMap(const QMap<uint, RTCPFeedbackMessageProperties>& a) : QMap<uint, RTCPFeedbackMessageProperties>(a) {}
inline RTCPFeedbackMessageMap& operator=(const QMap<uint, RTCPFeedbackMessageProperties>& a)
{
*(static_cast<QMap<uint, RTCPFeedbackMessageProperties>*>(this)) = a;
return *this;
}
};
/**
* \struct StatusSpecMap
* \ingroup mapping
* \headerfile TelepathyQt/types.h <TelepathyQt/Types>
*
* Mapping type generated from the specification. Convertible with
* QMap<QString, StatusSpec>, but needed to have a discrete type in the Qt type system.
*/
struct TP_QT_EXPORT StatusSpecMap : public QMap<QString, StatusSpec>
{
inline StatusSpecMap() : QMap<QString, StatusSpec>() {}
inline StatusSpecMap(const QMap<QString, StatusSpec>& a) : QMap<QString, StatusSpec>(a) {}
inline StatusSpecMap& operator=(const QMap<QString, StatusSpec>& a)
{
*(static_cast<QMap<QString, StatusSpec>*>(this)) = a;
return *this;
}
};
} // namespace Tp
Q_DECLARE_METATYPE(Tp::AccessControl)
Q_DECLARE_METATYPE(Tp::AddressingNormalizationMap)
Q_DECLARE_METATYPE(Tp::AliasMap)
Q_DECLARE_METATYPE(Tp::AliasPair)
Q_DECLARE_METATYPE(Tp::AliasPairList)
Q_DECLARE_METATYPE(Tp::Avatar)
Q_DECLARE_METATYPE(Tp::AvatarTokenMap)
Q_DECLARE_METATYPE(Tp::ByteArrayList)
Q_DECLARE_METATYPE(Tp::CallMemberMap)
Q_DECLARE_METATYPE(Tp::CallMemberMapList)
Q_DECLARE_METATYPE(Tp::CallStateReason)
Q_DECLARE_METATYPE(Tp::Candidate)
Q_DECLARE_METATYPE(Tp::CandidateInfo)
Q_DECLARE_METATYPE(Tp::CandidateList)
Q_DECLARE_METATYPE(Tp::CandidatePair)
Q_DECLARE_METATYPE(Tp::CandidatePairList)
Q_DECLARE_METATYPE(Tp::CapabilityChange)
Q_DECLARE_METATYPE(Tp::CapabilityChangeList)
Q_DECLARE_METATYPE(Tp::CapabilityPair)
Q_DECLARE_METATYPE(Tp::CapabilityPairList)
Q_DECLARE_METATYPE(Tp::CaptchaAnswers)
Q_DECLARE_METATYPE(Tp::CaptchaInfo)
Q_DECLARE_METATYPE(Tp::CaptchaInfoList)
Q_DECLARE_METATYPE(Tp::ChannelCallStateMap)
Q_DECLARE_METATYPE(Tp::ChannelClass)
Q_DECLARE_METATYPE(Tp::ChannelClassList)
Q_DECLARE_METATYPE(Tp::ChannelDetails)
Q_DECLARE_METATYPE(Tp::ChannelDetailsList)
Q_DECLARE_METATYPE(Tp::ChannelInfo)
Q_DECLARE_METATYPE(Tp::ChannelInfoList)
Q_DECLARE_METATYPE(Tp::ChannelOriginatorMap)
Q_DECLARE_METATYPE(Tp::ChatStateMap)
Q_DECLARE_METATYPE(Tp::Codec)
Q_DECLARE_METATYPE(Tp::CodecList)
Q_DECLARE_METATYPE(Tp::ComponentStateMap)
Q_DECLARE_METATYPE(Tp::ContactAttributesMap)
Q_DECLARE_METATYPE(Tp::ContactCapabilitiesMap)
Q_DECLARE_METATYPE(Tp::ContactCapabilitiesMapList)
Q_DECLARE_METATYPE(Tp::ContactCapability)
Q_DECLARE_METATYPE(Tp::ContactCapabilityList)
Q_DECLARE_METATYPE(Tp::ContactClientTypes)
Q_DECLARE_METATYPE(Tp::ContactCodecMap)
Q_DECLARE_METATYPE(Tp::ContactInfoField)
Q_DECLARE_METATYPE(Tp::ContactInfoFieldList)
Q_DECLARE_METATYPE(Tp::ContactInfoMap)
Q_DECLARE_METATYPE(Tp::ContactLocations)
Q_DECLARE_METATYPE(Tp::ContactMediaDescriptionPropertiesMap)
Q_DECLARE_METATYPE(Tp::ContactPresences)
Q_DECLARE_METATYPE(Tp::ContactSSRCsMap)
Q_DECLARE_METATYPE(Tp::ContactSearchMap)
Q_DECLARE_METATYPE(Tp::ContactSearchResultMap)
Q_DECLARE_METATYPE(Tp::ContactSendingStateMap)
Q_DECLARE_METATYPE(Tp::ContactSubscriptionMap)
Q_DECLARE_METATYPE(Tp::ContactSubscriptions)
Q_DECLARE_METATYPE(Tp::CurrencyAmount)
Q_DECLARE_METATYPE(Tp::DBusTubeMember)
Q_DECLARE_METATYPE(Tp::DBusTubeMemberList)
Q_DECLARE_METATYPE(Tp::DBusTubeParticipants)
Q_DECLARE_METATYPE(Tp::DebugMessage)
Q_DECLARE_METATYPE(Tp::DebugMessageList)
Q_DECLARE_METATYPE(Tp::FieldSpec)
Q_DECLARE_METATYPE(Tp::FieldSpecs)
Q_DECLARE_METATYPE(Tp::HTTPPostData)
Q_DECLARE_METATYPE(Tp::HTTPPostDataList)
Q_DECLARE_METATYPE(Tp::HandleIdentifierMap)
Q_DECLARE_METATYPE(Tp::HandleOwnerMap)
Q_DECLARE_METATYPE(Tp::HandlerCapabilities)
Q_DECLARE_METATYPE(Tp::HandlerCapabilitiesList)
Q_DECLARE_METATYPE(Tp::LastActivityAndStatuses)
Q_DECLARE_METATYPE(Tp::LocalPendingInfo)
Q_DECLARE_METATYPE(Tp::LocalPendingInfoList)
Q_DECLARE_METATYPE(Tp::Location)
Q_DECLARE_METATYPE(Tp::Mail)
Q_DECLARE_METATYPE(Tp::MailAddress)
Q_DECLARE_METATYPE(Tp::MailAddressList)
Q_DECLARE_METATYPE(Tp::MailList)
Q_DECLARE_METATYPE(Tp::MailURL)
Q_DECLARE_METATYPE(Tp::MediaDescriptionOffer)
Q_DECLARE_METATYPE(Tp::MediaDescriptionProperties)
Q_DECLARE_METATYPE(Tp::MediaSessionHandlerInfo)
Q_DECLARE_METATYPE(Tp::MediaSessionHandlerInfoList)
Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCandidate)
Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCandidateList)
Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCodec)
Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCodecList)
Q_DECLARE_METATYPE(Tp::MediaStreamHandlerTransport)
Q_DECLARE_METATYPE(Tp::MediaStreamHandlerTransportList)
Q_DECLARE_METATYPE(Tp::MediaStreamInfo)
Q_DECLARE_METATYPE(Tp::MediaStreamInfoList)
Q_DECLARE_METATYPE(Tp::MessagePart)
Q_DECLARE_METATYPE(Tp::MessagePartContentMap)
Q_DECLARE_METATYPE(Tp::MessagePartList)
Q_DECLARE_METATYPE(Tp::MessagePartListList)
Q_DECLARE_METATYPE(Tp::Metadata)
Q_DECLARE_METATYPE(Tp::MultipleStatusMap)
Q_DECLARE_METATYPE(Tp::NotDelegatedError)
Q_DECLARE_METATYPE(Tp::NotDelegatedMap)
Q_DECLARE_METATYPE(Tp::ObjectImmutablePropertiesMap)
Q_DECLARE_METATYPE(Tp::ObjectImmutablePropertiesMapList)
Q_DECLARE_METATYPE(Tp::ObjectPathList)
Q_DECLARE_METATYPE(Tp::ParamSpec)
Q_DECLARE_METATYPE(Tp::ParamSpecList)
Q_DECLARE_METATYPE(Tp::PendingTextMessage)
Q_DECLARE_METATYPE(Tp::PendingTextMessageList)
Q_DECLARE_METATYPE(Tp::PropertyFlagsChange)
Q_DECLARE_METATYPE(Tp::PropertyFlagsChangeList)
Q_DECLARE_METATYPE(Tp::PropertySpec)
Q_DECLARE_METATYPE(Tp::PropertySpecList)
Q_DECLARE_METATYPE(Tp::PropertyValue)
Q_DECLARE_METATYPE(Tp::PropertyValueList)
Q_DECLARE_METATYPE(Tp::ProtocolPropertiesMap)
Q_DECLARE_METATYPE(Tp::QualifiedPropertyValueMap)
Q_DECLARE_METATYPE(Tp::QualifiedPropertyValueMapList)
Q_DECLARE_METATYPE(Tp::RTCPFeedbackMessage)
Q_DECLARE_METATYPE(Tp::RTCPFeedbackMessageList)
Q_DECLARE_METATYPE(Tp::RTCPFeedbackMessageMap)
Q_DECLARE_METATYPE(Tp::RTCPFeedbackMessageProperties)
Q_DECLARE_METATYPE(Tp::RTPHeaderExtension)
Q_DECLARE_METATYPE(Tp::RTPHeaderExtensionsList)
Q_DECLARE_METATYPE(Tp::RequestableChannelClass)
Q_DECLARE_METATYPE(Tp::RequestableChannelClassList)
Q_DECLARE_METATYPE(Tp::RichPresenceAccessControl)
Q_DECLARE_METATYPE(Tp::RoomInfo)
Q_DECLARE_METATYPE(Tp::RoomInfoList)
Q_DECLARE_METATYPE(Tp::ServicePoint)
Q_DECLARE_METATYPE(Tp::ServicePointInfo)
Q_DECLARE_METATYPE(Tp::ServicePointInfoList)
Q_DECLARE_METATYPE(Tp::SimpleContactPresences)
Q_DECLARE_METATYPE(Tp::SimplePresence)
Q_DECLARE_METATYPE(Tp::SimpleStatusSpec)
Q_DECLARE_METATYPE(Tp::SimpleStatusSpecMap)
Q_DECLARE_METATYPE(Tp::SingleContactAttributesMap)
Q_DECLARE_METATYPE(Tp::SocketAddressIP)
Q_DECLARE_METATYPE(Tp::SocketAddressIPList)
Q_DECLARE_METATYPE(Tp::SocketAddressIPv4)
Q_DECLARE_METATYPE(Tp::SocketAddressIPv6)
Q_DECLARE_METATYPE(Tp::SocketNetmaskIPv4)
Q_DECLARE_METATYPE(Tp::SocketNetmaskIPv6)
Q_DECLARE_METATYPE(Tp::StatusSpec)
Q_DECLARE_METATYPE(Tp::StatusSpecMap)
Q_DECLARE_METATYPE(Tp::StreamCredentials)
Q_DECLARE_METATYPE(Tp::StringStringMap)
Q_DECLARE_METATYPE(Tp::StringStringMapList)
Q_DECLARE_METATYPE(Tp::StringVariantMap)
Q_DECLARE_METATYPE(Tp::StringVariantMapList)
Q_DECLARE_METATYPE(Tp::SupportedSocketMap)
Q_DECLARE_METATYPE(Tp::TLSCertificateRejection)
Q_DECLARE_METATYPE(Tp::TLSCertificateRejectionList)
Q_DECLARE_METATYPE(Tp::TubeInfo)
Q_DECLARE_METATYPE(Tp::TubeInfoList)
Q_DECLARE_METATYPE(Tp::UIntList)
Q_DECLARE_METATYPE(Tp::VCardFieldAddressMap)
Q_DECLARE_METATYPE(Tp::VideoResolution)
Q_DECLARE_METATYPE(Tp::VideoResolutionStruct)
|