QJson - a Qt based library for mapping JSON data to QVariant objects

QJson home page

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

moc_serializerrunnable.cxx
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'serializerrunnable.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.7)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8
9 #include "serializerrunnable.h"
10 #if !defined(Q_MOC_OUTPUT_REVISION)
11 #error "The header file 'serializerrunnable.h' doesn't include <QObject>."
12 #elif Q_MOC_OUTPUT_REVISION != 63
13 #error "This file was generated using the moc from 4.8.7. It"
14 #error "cannot be used with the include files from this version of Qt."
15 #error "(The moc has changed too much.)"
16 #endif
17
18 QT_BEGIN_MOC_NAMESPACE
19 static const uint qt_meta_data_QJson__SerializerRunnable[] = {
20
21 // content:
22 6, // revision
23 0, // classname
24 0, 0, // classinfo
25 1, 14, // methods
26 0, 0, // properties
27 0, 0, // enums/sets
28 0, 0, // constructors
29 0, // flags
30 1, // signalCount
31
32 // signals: signature, parameters, type, tag, flags
33 26, 67, 91, 91, 0x05,
34
35 0 // eod
36 };
37
38 static const char qt_meta_stringdata_QJson__SerializerRunnable[] = {
39 "QJson::SerializerRunnable\0"
40 "parsingFinished(QByteArray,bool,QString)\0"
41 "serialized,ok,error_msg\0\0"
42 };
43
44 void QJson::SerializerRunnable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
45 {
46 if (_c == QMetaObject::InvokeMetaMethod) {
47 Q_ASSERT(staticMetaObject.cast(_o));
48 SerializerRunnable *_t = static_cast<SerializerRunnable *>(_o);
49 switch (_id) {
50 case 0: _t->parsingFinished((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
51 default: ;
52 }
53 }
54 }
55
56 const QMetaObjectExtraData QJson::SerializerRunnable::staticMetaObjectExtraData = {
57 0, qt_static_metacall
58 };
59
60 const QMetaObject QJson::SerializerRunnable::staticMetaObject = {
61 { &QObject::staticMetaObject, qt_meta_stringdata_QJson__SerializerRunnable,
62 qt_meta_data_QJson__SerializerRunnable, &staticMetaObjectExtraData }
63 };
64
65 #ifdef Q_NO_DATA_RELOCATION
66 const QMetaObject &QJson::SerializerRunnable::getStaticMetaObject() { return staticMetaObject; }
67 #endif //Q_NO_DATA_RELOCATION
68
69 const QMetaObject *QJson::SerializerRunnable::metaObject() const
70 {
71 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
72 }
73
74 void *QJson::SerializerRunnable::qt_metacast(const char *_clname)
75 {
76 if (!_clname) return 0;
77 if (!strcmp(_clname, qt_meta_stringdata_QJson__SerializerRunnable))
78 return static_cast<void*>(const_cast< SerializerRunnable*>(this));
79 if (!strcmp(_clname, "QRunnable"))
80 return static_cast< QRunnable*>(const_cast< SerializerRunnable*>(this));
81 return QObject::qt_metacast(_clname);
82 }
83
84 int QJson::SerializerRunnable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
85 {
86 _id = QObject::qt_metacall(_c, _id, _a);
87 if (_id < 0)
88 return _id;
89 if (_c == QMetaObject::InvokeMetaMethod) {
90 if (_id < 1)
91 qt_static_metacall(this, _c, _id, _a);
92 _id -= 1;
93 }
94 return _id;
95 }
96
97 // SIGNAL 0
98 void QJson::SerializerRunnable::parsingFinished(const QByteArray & _t1, bool _t2, const QString & _t3)
99 {
100 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
101 QMetaObject::activate(this, &staticMetaObject, 0, _a);
102 }
103 QT_END_MOC_NAMESPACE
QJson::SerializerRunnable::parsingFinished
void parsingFinished(const QByteArray &serialized, bool ok, const QString &error_msg)
Definition: moc_serializerrunnable.cxx:98

| hosts this site. |  | Send comments to: QJson Developers