Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'specialjob.h'
3 : **
4 : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
5 : **
6 : ** WARNING! All changes made in this file will be lost!
7 : *****************************************************************************/
8 :
9 : #include "../../../../lang/qt/src/specialjob.h"
10 : #include <QtCore/qbytearray.h>
11 : #include <QtCore/qmetatype.h>
12 : #if !defined(Q_MOC_OUTPUT_REVISION)
13 : #error "The header file 'specialjob.h' doesn't include <QObject>."
14 : #elif Q_MOC_OUTPUT_REVISION != 67
15 : #error "This file was generated using the moc from 5.7.1. 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__SpecialJob_t {
22 : QByteArrayData data[5];
23 : char stringdata0[45];
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__SpecialJob_t, stringdata0) + ofs \
28 : - idx * sizeof(QByteArrayData)) \
29 : )
30 : static const qt_meta_stringdata_QGpgME__SpecialJob_t qt_meta_stringdata_QGpgME__SpecialJob = {
31 : {
32 : QT_MOC_LITERAL(0, 0, 18), // "QGpgME::SpecialJob"
33 : QT_MOC_LITERAL(1, 19, 6), // "result"
34 : QT_MOC_LITERAL(2, 26, 0), // ""
35 : QT_MOC_LITERAL(3, 27, 12), // "GpgME::Error"
36 : QT_MOC_LITERAL(4, 40, 4) // "data"
37 :
38 : },
39 : "QGpgME::SpecialJob\0result\0\0GpgME::Error\0"
40 : "data"
41 : };
42 : #undef QT_MOC_LITERAL
43 :
44 : static const uint qt_meta_data_QGpgME__SpecialJob[] = {
45 :
46 : // content:
47 : 7, // revision
48 : 0, // classname
49 : 0, 0, // classinfo
50 : 1, 14, // methods
51 : 0, 0, // properties
52 : 0, 0, // enums/sets
53 : 0, 0, // constructors
54 : 0, // flags
55 : 1, // signalCount
56 :
57 : // signals: name, argc, parameters, tag, flags
58 : 1, 2, 19, 2, 0x06 /* Public */,
59 :
60 : // signals: parameters
61 : QMetaType::Void, 0x80000000 | 3, QMetaType::QVariant, 1, 4,
62 :
63 : 0 // eod
64 : };
65 :
66 0 : void QGpgME::SpecialJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
67 : {
68 0 : if (_c == QMetaObject::InvokeMetaMethod) {
69 0 : SpecialJob *_t = static_cast<SpecialJob *>(_o);
70 : Q_UNUSED(_t)
71 0 : switch (_id) {
72 0 : case 0: _t->result((*reinterpret_cast< const GpgME::Error(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
73 : default: ;
74 : }
75 0 : } else if (_c == QMetaObject::IndexOfMethod) {
76 0 : int *result = reinterpret_cast<int *>(_a[0]);
77 0 : void **func = reinterpret_cast<void **>(_a[1]);
78 : {
79 : typedef void (SpecialJob::*_t)(const GpgME::Error & , const QVariant & );
80 0 : if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SpecialJob::result)) {
81 0 : *result = 0;
82 0 : return;
83 : }
84 : }
85 : }
86 : }
87 :
88 : const QMetaObject QGpgME::SpecialJob::staticMetaObject = {
89 : { &Job::staticMetaObject, qt_meta_stringdata_QGpgME__SpecialJob.data,
90 : qt_meta_data_QGpgME__SpecialJob, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
91 : };
92 :
93 :
94 0 : const QMetaObject *QGpgME::SpecialJob::metaObject() const
95 : {
96 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
97 : }
98 :
99 0 : void *QGpgME::SpecialJob::qt_metacast(const char *_clname)
100 : {
101 0 : if (!_clname) return Q_NULLPTR;
102 0 : if (!strcmp(_clname, qt_meta_stringdata_QGpgME__SpecialJob.stringdata0))
103 0 : return static_cast<void*>(const_cast< SpecialJob*>(this));
104 0 : return Job::qt_metacast(_clname);
105 : }
106 :
107 0 : int QGpgME::SpecialJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
108 : {
109 0 : _id = Job::qt_metacall(_c, _id, _a);
110 0 : if (_id < 0)
111 0 : return _id;
112 0 : if (_c == QMetaObject::InvokeMetaMethod) {
113 0 : if (_id < 1)
114 0 : qt_static_metacall(this, _c, _id, _a);
115 0 : _id -= 1;
116 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
117 0 : if (_id < 1)
118 0 : *reinterpret_cast<int*>(_a[0]) = -1;
119 0 : _id -= 1;
120 : }
121 0 : return _id;
122 : }
123 :
124 : // SIGNAL 0
125 0 : void QGpgME::SpecialJob::result(const GpgME::Error & _t1, const QVariant & _t2)
126 : {
127 0 : void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
128 0 : QMetaObject::activate(this, &staticMetaObject, 0, _a);
129 0 : }
130 : QT_END_MOC_NAMESPACE
|