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