NCL Composer  0.1
moc_NCLTreeWidget.cpp
00001 /****************************************************************************
00002 ** Meta object code from reading C++ file 'NCLTreeWidget.h'
00003 **
00004 ** Created: Thu Oct 4 20:29:47 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 "../include/NCLTreeWidget.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'NCLTreeWidget.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_NCLTreeWidget[] = {
00021 
00022  // content:
00023        6,       // revision
00024        0,       // classname
00025        0,    0, // classinfo
00026       20,   14, // methods
00027        0,    0, // properties
00028        0,    0, // enums/sets
00029        0,    0, // constructors
00030        0,       // flags
00031        3,       // signalCount
00032 
00033  // signals: signature, parameters, type, tag, flags
00034       19,   15,   14,   14, 0x05,
00035       83,   14,   14,   14, 0x05,
00036      151,  113,   14,   14, 0x05,
00037 
00038  // slots: signature, parameters, type, tag, flags
00039      208,  203,  198,   14, 0x0a,
00040      305,  249,  232,   14, 0x0a,
00041      426,  385,  232,   14, 0x2a,
00042      530,  502,  232,   14, 0x2a,
00043      609,  602,  232,   14, 0x0a,
00044      630,  602,   14,   14, 0x0a,
00045      669,  650,   14,   14, 0x0a,
00046      729,  113,   14,   14, 0x0a,
00047      776,   14,   14,   14, 0x0a,
00048      788,   14,   14,   14, 0x0a,
00049      800,   14,   14,   14, 0x0a,
00050      809,   14,   14,   14, 0x0a,
00051      819,   14,   14,   14, 0x0a,
00052      831,   14,   14,   14, 0x08,
00053      851,   14,   14,   14, 0x08,
00054      871,   14,   14,   14, 0x08,
00055      886,   14,   14,   14, 0x08,
00056 
00057        0        // eod
00058 };
00059 
00060 static const char qt_meta_stringdata_NCLTreeWidget[] = {
00061     "NCLTreeWidget\0\0,,,\0"
00062     "elementAddedByUser(QString,QString,QMap<QString,QString>&,bool)\0"
00063     "elementRemovedByUser(QString)\0"
00064     "message,filename,line,column,severity\0"
00065     "parserErrorNotify(QString,QString,int,int,int)\0"
00066     "bool\0text\0updateFromText(QString)\0"
00067     "QTreeWidgetItem*\0"
00068     "father,pos,tagname,id,attrs,line_in_text,column_in_text\0"
00069     "addElement(QTreeWidgetItem*,int,QString,QString,QMap<QString,QString>&"
00070     ",int,int)\0"
00071     "father,pos,tagname,id,attrs,line_in_text\0"
00072     "addElement(QTreeWidgetItem*,int,QString,QString,QMap<QString,QString>&"
00073     ",int)\0"
00074     "father,pos,tagname,id,attrs\0"
00075     "addElement(QTreeWidgetItem*,int,QString,QString,QMap<QString,QString>&"
00076     ")\0"
00077     "itemId\0getItemById(QString)\0"
00078     "removeItem(QString)\0item,tagname,attrs\0"
00079     "updateItem(QTreeWidgetItem*,QString,QMap<QString,QString>&)\0"
00080     "errorNotification(QString,QString,int,int,int)\0"
00081     "expandAll()\0resetFont()\0zoomIn()\0"
00082     "zoomOut()\0resetZoom()\0userAddNewElement()\0"
00083     "userRemoveElement()\0decreaseFont()\0"
00084     "increaseFont()\0"
00085 };
00086 
00087 void NCLTreeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00088 {
00089     if (_c == QMetaObject::InvokeMetaMethod) {
00090         Q_ASSERT(staticMetaObject.cast(_o));
00091         NCLTreeWidget *_t = static_cast<NCLTreeWidget *>(_o);
00092         switch (_id) {
00093         case 0: _t->elementAddedByUser((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QMap<QString,QString>(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
00094         case 1: _t->elementRemovedByUser((*reinterpret_cast< QString(*)>(_a[1]))); break;
00095         case 2: _t->parserErrorNotify((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
00096         case 3: { bool _r = _t->updateFromText((*reinterpret_cast< QString(*)>(_a[1])));
00097             if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
00098         case 4: { QTreeWidgetItem* _r = _t->addElement((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4])),(*reinterpret_cast< QMap<QString,QString>(*)>(_a[5])),(*reinterpret_cast< int(*)>(_a[6])),(*reinterpret_cast< int(*)>(_a[7])));
00099             if (_a[0]) *reinterpret_cast< QTreeWidgetItem**>(_a[0]) = _r; }  break;
00100         case 5: { QTreeWidgetItem* _r = _t->addElement((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4])),(*reinterpret_cast< QMap<QString,QString>(*)>(_a[5])),(*reinterpret_cast< int(*)>(_a[6])));
00101             if (_a[0]) *reinterpret_cast< QTreeWidgetItem**>(_a[0]) = _r; }  break;
00102         case 6: { QTreeWidgetItem* _r = _t->addElement((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4])),(*reinterpret_cast< QMap<QString,QString>(*)>(_a[5])));
00103             if (_a[0]) *reinterpret_cast< QTreeWidgetItem**>(_a[0]) = _r; }  break;
00104         case 7: { QTreeWidgetItem* _r = _t->getItemById((*reinterpret_cast< QString(*)>(_a[1])));
00105             if (_a[0]) *reinterpret_cast< QTreeWidgetItem**>(_a[0]) = _r; }  break;
00106         case 8: _t->removeItem((*reinterpret_cast< QString(*)>(_a[1]))); break;
00107         case 9: _t->updateItem((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QMap<QString,QString>(*)>(_a[3]))); break;
00108         case 10: _t->errorNotification((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
00109         case 11: _t->expandAll(); break;
00110         case 12: _t->resetFont(); break;
00111         case 13: _t->zoomIn(); break;
00112         case 14: _t->zoomOut(); break;
00113         case 15: _t->resetZoom(); break;
00114         case 16: _t->userAddNewElement(); break;
00115         case 17: _t->userRemoveElement(); break;
00116         case 18: _t->decreaseFont(); break;
00117         case 19: _t->increaseFont(); break;
00118         default: ;
00119         }
00120     }
00121 }
00122 
00123 const QMetaObjectExtraData NCLTreeWidget::staticMetaObjectExtraData = {
00124     0,  qt_static_metacall 
00125 };
00126 
00127 const QMetaObject NCLTreeWidget::staticMetaObject = {
00128     { &QTreeWidget::staticMetaObject, qt_meta_stringdata_NCLTreeWidget,
00129       qt_meta_data_NCLTreeWidget, &staticMetaObjectExtraData }
00130 };
00131 
00132 #ifdef Q_NO_DATA_RELOCATION
00133 const QMetaObject &NCLTreeWidget::getStaticMetaObject() { return staticMetaObject; }
00134 #endif //Q_NO_DATA_RELOCATION
00135 
00136 const QMetaObject *NCLTreeWidget::metaObject() const
00137 {
00138     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
00139 }
00140 
00141 void *NCLTreeWidget::qt_metacast(const char *_clname)
00142 {
00143     if (!_clname) return 0;
00144     if (!strcmp(_clname, qt_meta_stringdata_NCLTreeWidget))
00145         return static_cast<void*>(const_cast< NCLTreeWidget*>(this));
00146     return QTreeWidget::qt_metacast(_clname);
00147 }
00148 
00149 int NCLTreeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00150 {
00151     _id = QTreeWidget::qt_metacall(_c, _id, _a);
00152     if (_id < 0)
00153         return _id;
00154     if (_c == QMetaObject::InvokeMetaMethod) {
00155         if (_id < 20)
00156             qt_static_metacall(this, _c, _id, _a);
00157         _id -= 20;
00158     }
00159     return _id;
00160 }
00161 
00162 // SIGNAL 0
00163 void NCLTreeWidget::elementAddedByUser(QString _t1, QString _t2, QMap<QString,QString> & _t3, bool _t4)
00164 {
00165     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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
00166     QMetaObject::activate(this, &staticMetaObject, 0, _a);
00167 }
00168 
00169 // SIGNAL 1
00170 void NCLTreeWidget::elementRemovedByUser(QString _t1)
00171 {
00172     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00173     QMetaObject::activate(this, &staticMetaObject, 1, _a);
00174 }
00175 
00176 // SIGNAL 2
00177 void NCLTreeWidget::parserErrorNotify(QString _t1, QString _t2, int _t3, int _t4, int _t5)
00178 {
00179     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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)) };
00180     QMetaObject::activate(this, &staticMetaObject, 2, _a);
00181 }
00182 QT_END_MOC_NAMESPACE
 All Classes Functions Variables