NCL Composer  0.1
moc_NCLDocumentParser.cpp
00001 /****************************************************************************
00002 ** Meta object code from reading C++ file 'NCLDocumentParser.h'
00003 **
00004 ** Created: Thu Oct 4 20:29:37 2012
00005 **      by: The Qt Meta Object Compiler version 63 (Qt 4.8.1)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 *****************************************************************************/
00009 
00010 #include "../NCLDocumentParser.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'NCLDocumentParser.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 63
00014 #error "This file was generated using the moc from 4.8.1. It"
00015 #error "cannot be used with the include files from this version of Qt."
00016 #error "(The moc has changed too much.)"
00017 #endif
00018 
00019 QT_BEGIN_MOC_NAMESPACE
00020 static const uint qt_meta_data_composer__language__NCLDocumentParser[] = {
00021 
00022  // content:
00023        6,       // revision
00024        0,       // classname
00025        0,    0, // classinfo
00026        3,   14, // methods
00027        0,    0, // properties
00028        0,    0, // enums/sets
00029        0,    0, // constructors
00030        0,       // flags
00031        1,       // signalCount
00032 
00033  // signals: signature, parameters, type, tag, flags
00034       39,   38,   38,   38, 0x05,
00035 
00036  // slots: signature, parameters, type, tag, flags
00037       61,   55,   38,   38, 0x0a,
00038       97,   87,   38,   38, 0x0a,
00039 
00040        0        // eod
00041 };
00042 
00043 static const char qt_meta_stringdata_composer__language__NCLDocumentParser[] = {
00044     "composer::language::NCLDocumentParser\0"
00045     "\0parseFinished()\0error\0onEntityAddError(QString)\0"
00046     "ID,entity\0onEntityAdded(QString,Entity*)\0"
00047 };
00048 
00049 void composer::language::NCLDocumentParser::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00050 {
00051     if (_c == QMetaObject::InvokeMetaMethod) {
00052         Q_ASSERT(staticMetaObject.cast(_o));
00053         NCLDocumentParser *_t = static_cast<NCLDocumentParser *>(_o);
00054         switch (_id) {
00055         case 0: _t->parseFinished(); break;
00056         case 1: _t->onEntityAddError((*reinterpret_cast< QString(*)>(_a[1]))); break;
00057         case 2: _t->onEntityAdded((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< Entity*(*)>(_a[2]))); break;
00058         default: ;
00059         }
00060     }
00061 }
00062 
00063 const QMetaObjectExtraData composer::language::NCLDocumentParser::staticMetaObjectExtraData = {
00064     0,  qt_static_metacall 
00065 };
00066 
00067 const QMetaObject composer::language::NCLDocumentParser::staticMetaObject = {
00068     { &IDocumentParser::staticMetaObject, qt_meta_stringdata_composer__language__NCLDocumentParser,
00069       qt_meta_data_composer__language__NCLDocumentParser, &staticMetaObjectExtraData }
00070 };
00071 
00072 #ifdef Q_NO_DATA_RELOCATION
00073 const QMetaObject &composer::language::NCLDocumentParser::getStaticMetaObject() { return staticMetaObject; }
00074 #endif //Q_NO_DATA_RELOCATION
00075 
00076 const QMetaObject *composer::language::NCLDocumentParser::metaObject() const
00077 {
00078     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
00079 }
00080 
00081 void *composer::language::NCLDocumentParser::qt_metacast(const char *_clname)
00082 {
00083     if (!_clname) return 0;
00084     if (!strcmp(_clname, qt_meta_stringdata_composer__language__NCLDocumentParser))
00085         return static_cast<void*>(const_cast< NCLDocumentParser*>(this));
00086     if (!strcmp(_clname, "QXmlDefaultHandler"))
00087         return static_cast< QXmlDefaultHandler*>(const_cast< NCLDocumentParser*>(this));
00088     return IDocumentParser::qt_metacast(_clname);
00089 }
00090 
00091 int composer::language::NCLDocumentParser::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00092 {
00093     _id = IDocumentParser::qt_metacall(_c, _id, _a);
00094     if (_id < 0)
00095         return _id;
00096     if (_c == QMetaObject::InvokeMetaMethod) {
00097         if (_id < 3)
00098             qt_static_metacall(this, _c, _id, _a);
00099         _id -= 3;
00100     }
00101     return _id;
00102 }
00103 
00104 // SIGNAL 0
00105 void composer::language::NCLDocumentParser::parseFinished()
00106 {
00107     QMetaObject::activate(this, &staticMetaObject, 0, 0);
00108 }
00109 QT_END_MOC_NAMESPACE
 All Classes Functions Variables