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_parserrunnable.cxx
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'parserrunnable.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8
9 #include "parserrunnable.h"
10 #if !defined(Q_MOC_OUTPUT_REVISION)
11 #error "The header file 'parserrunnable.h' doesn't include <QObject>."
12 #elif Q_MOC_OUTPUT_REVISION != 63
13 #error "This file was generated using the moc from 4.8.6. 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__ParserRunnable[] = {
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 41, 23, 22, 22, 0x05,
34
35 0 // eod
36 };
37
38 static const char qt_meta_stringdata_QJson__ParserRunnable[] = {
39 "QJson::ParserRunnable\0\0json,ok,error_msg\0"
40 "parsingFinished(QVariant,bool,QString)\0"
41 };
42
43 void QJson::ParserRunnable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
44 {
45 if (_c == QMetaObject::InvokeMetaMethod) {
46 Q_ASSERT(staticMetaObject.cast(_o));
47 ParserRunnable *_t = static_cast<ParserRunnable *>(_o);
48 switch (_id) {
49 case 0: _t->parsingFinished((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
50 default: ;
51 }
52 }
53 }
54
55 const QMetaObjectExtraData QJson::ParserRunnable::staticMetaObjectExtraData = {
56 0, qt_static_metacall
57 };
58
59 const QMetaObject QJson::ParserRunnable::staticMetaObject = {
60 { &QObject::staticMetaObject, qt_meta_stringdata_QJson__ParserRunnable,
61 qt_meta_data_QJson__ParserRunnable, &staticMetaObjectExtraData }
62 };
63
64 #ifdef Q_NO_DATA_RELOCATION
65 const QMetaObject &QJson::ParserRunnable::getStaticMetaObject() { return staticMetaObject; }
66 #endif //Q_NO_DATA_RELOCATION
67
68 const QMetaObject *QJson::ParserRunnable::metaObject() const
69 {
70 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
71 }
72
73 void *QJson::ParserRunnable::qt_metacast(const char *_clname)
74 {
75 if (!_clname) return 0;
76 if (!strcmp(_clname, qt_meta_stringdata_QJson__ParserRunnable))
77 return static_cast<void*>(const_cast< ParserRunnable*>(this));
78 if (!strcmp(_clname, "QRunnable"))
79 return static_cast< QRunnable*>(const_cast< ParserRunnable*>(this));
80 return QObject::qt_metacast(_clname);
81 }
82
83 int QJson::ParserRunnable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
84 {
85 _id = QObject::qt_metacall(_c, _id, _a);
86 if (_id < 0)
87 return _id;
88 if (_c == QMetaObject::InvokeMetaMethod) {
89 if (_id < 1)
90 qt_static_metacall(this, _c, _id, _a);
91 _id -= 1;
92 }
93 return _id;
94 }
95
96 // SIGNAL 0
97 void QJson::ParserRunnable::parsingFinished(const QVariant & _t1, bool _t2, const QString & _t3)
98 {
99 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)) };
100 QMetaObject::activate(this, &staticMetaObject, 0, _a);
101 }
102 QT_END_MOC_NAMESPACE
QJson::ParserRunnable::parsingFinished
void parsingFinished(const QVariant &json, bool ok, const QString &error_msg)
Definition: moc_parserrunnable.cxx:97

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