Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 't-keylist.cpp'
3 : **
4 : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.10.1)
5 : **
6 : ** WARNING! All changes made in this file will be lost!
7 : *****************************************************************************/
8 :
9 : #include <QtCore/qbytearray.h>
10 : #include <QtCore/qmetatype.h>
11 : #if !defined(Q_MOC_OUTPUT_REVISION)
12 : #error "The header file 't-keylist.cpp' doesn't include <QObject>."
13 : #elif Q_MOC_OUTPUT_REVISION != 67
14 : #error "This file was generated using the moc from 5.10.1. It"
15 : #error "cannot be used with the include files from this version of Qt."
16 : #error "(The moc has changed too much.)"
17 : #endif
18 :
19 : QT_BEGIN_MOC_NAMESPACE
20 : QT_WARNING_PUSH
21 : QT_WARNING_DISABLE_DEPRECATED
22 : struct qt_meta_stringdata_KeyListTest_t {
23 : QByteArrayData data[7];
24 : char stringdata0[96];
25 : };
26 : #define QT_MOC_LITERAL(idx, ofs, len) \
27 : Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
28 : qptrdiff(offsetof(qt_meta_stringdata_KeyListTest_t, stringdata0) + ofs \
29 : - idx * sizeof(QByteArrayData)) \
30 : )
31 : static const qt_meta_stringdata_KeyListTest_t qt_meta_stringdata_KeyListTest = {
32 : {
33 : QT_MOC_LITERAL(0, 0, 11), // "KeyListTest"
34 : QT_MOC_LITERAL(1, 12, 9), // "asyncDone"
35 : QT_MOC_LITERAL(2, 22, 0), // ""
36 : QT_MOC_LITERAL(3, 23, 21), // "testSingleKeyListSync"
37 : QT_MOC_LITERAL(4, 45, 10), // "testGetKey"
38 : QT_MOC_LITERAL(5, 56, 22), // "testPubkeyAlgoAsString"
39 : QT_MOC_LITERAL(6, 79, 16) // "testKeyListAsync"
40 :
41 : },
42 : "KeyListTest\0asyncDone\0\0testSingleKeyListSync\0"
43 : "testGetKey\0testPubkeyAlgoAsString\0"
44 : "testKeyListAsync"
45 : };
46 : #undef QT_MOC_LITERAL
47 :
48 : static const uint qt_meta_data_KeyListTest[] = {
49 :
50 : // content:
51 : 7, // revision
52 : 0, // classname
53 : 0, 0, // classinfo
54 : 5, 14, // methods
55 : 0, 0, // properties
56 : 0, 0, // enums/sets
57 : 0, 0, // constructors
58 : 0, // flags
59 : 1, // signalCount
60 :
61 : // signals: name, argc, parameters, tag, flags
62 : 1, 0, 39, 2, 0x06 /* Public */,
63 :
64 : // slots: name, argc, parameters, tag, flags
65 : 3, 0, 40, 2, 0x08 /* Private */,
66 : 4, 0, 41, 2, 0x08 /* Private */,
67 : 5, 0, 42, 2, 0x08 /* Private */,
68 : 6, 0, 43, 2, 0x08 /* Private */,
69 :
70 : // signals: parameters
71 : QMetaType::Void,
72 :
73 : // slots: parameters
74 : QMetaType::Void,
75 : QMetaType::Void,
76 : QMetaType::Void,
77 : QMetaType::Void,
78 :
79 : 0 // eod
80 : };
81 :
82 4 : void KeyListTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
83 : {
84 4 : if (_c == QMetaObject::InvokeMetaMethod) {
85 4 : KeyListTest *_t = static_cast<KeyListTest *>(_o);
86 : Q_UNUSED(_t)
87 4 : switch (_id) {
88 0 : case 0: _t->asyncDone(); break;
89 1 : case 1: _t->testSingleKeyListSync(); break;
90 1 : case 2: _t->testGetKey(); break;
91 1 : case 3: _t->testPubkeyAlgoAsString(); break;
92 1 : case 4: _t->testKeyListAsync(); break;
93 : default: ;
94 : }
95 0 : } else if (_c == QMetaObject::IndexOfMethod) {
96 0 : int *result = reinterpret_cast<int *>(_a[0]);
97 : {
98 : typedef void (KeyListTest::*_t)();
99 0 : if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyListTest::asyncDone)) {
100 0 : *result = 0;
101 0 : return;
102 : }
103 : }
104 : }
105 : Q_UNUSED(_a);
106 : }
107 :
108 : QT_INIT_METAOBJECT const QMetaObject KeyListTest::staticMetaObject = {
109 : { &QGpgMETest::staticMetaObject, qt_meta_stringdata_KeyListTest.data,
110 : qt_meta_data_KeyListTest, qt_static_metacall, nullptr, nullptr}
111 : };
112 :
113 :
114 15 : const QMetaObject *KeyListTest::metaObject() const
115 : {
116 15 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
117 : }
118 :
119 0 : void *KeyListTest::qt_metacast(const char *_clname)
120 : {
121 0 : if (!_clname) return nullptr;
122 0 : if (!strcmp(_clname, qt_meta_stringdata_KeyListTest.stringdata0))
123 0 : return static_cast<void*>(this);
124 0 : return QGpgMETest::qt_metacast(_clname);
125 : }
126 :
127 0 : int KeyListTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
128 : {
129 0 : _id = QGpgMETest::qt_metacall(_c, _id, _a);
130 0 : if (_id < 0)
131 0 : return _id;
132 0 : if (_c == QMetaObject::InvokeMetaMethod) {
133 0 : if (_id < 5)
134 0 : qt_static_metacall(this, _c, _id, _a);
135 0 : _id -= 5;
136 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
137 0 : if (_id < 5)
138 0 : *reinterpret_cast<int*>(_a[0]) = -1;
139 0 : _id -= 5;
140 : }
141 0 : return _id;
142 : }
143 :
144 : // SIGNAL 0
145 1 : void KeyListTest::asyncDone()
146 : {
147 1 : QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
148 1 : }
149 : QT_WARNING_POP
150 : QT_END_MOC_NAMESPACE
|