NCL Composer  0.1
moc_NCLTextEditorMainWindow.cpp
00001 /****************************************************************************
00002 ** Meta object code from reading C++ file 'NCLTextEditorMainWindow.h'
00003 **
00004 ** Created: Thu Oct 4 20:32:31 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/NCLTextEditorMainWindow.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'NCLTextEditorMainWindow.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_NCLTextEditorMainWindow[] = {
00021 
00022  // content:
00023        6,       // revision
00024        0,       // classname
00025        0,    0, // classinfo
00026       18,   14, // methods
00027        0,    0, // properties
00028        0,    0, // enums/sets
00029        0,    0, // constructors
00030        0,       // flags
00031        2,       // signalCount
00032 
00033  // signals: signature, parameters, type, tag, flags
00034       29,   25,   24,   24, 0x05,
00035       87,   24,   24,   24, 0x05,
00036 
00037  // slots: signature, parameters, type, tag, flags
00038      101,   24,   24,   24, 0x08,
00039      111,   24,   24,   24, 0x08,
00040      123,   24,  118,   24, 0x08,
00041      130,   24,  118,   24, 0x08,
00042      139,   24,   24,   24, 0x08,
00043      147,   24,   24,   24, 0x08,
00044      169,   24,   24,   24, 0x08,
00045      188,   24,   24,   24, 0x08,
00046      216,  204,   24,   24, 0x08,
00047      249,   24,   24,   24, 0x08,
00048      267,   24,   24,   24, 0x08,
00049      283,   24,   24,   24, 0x08,
00050      299,   24,   24,   24, 0x08,
00051      315,  310,   24,   24, 0x08,
00052      333,   24,   24,   24, 0x08,
00053      348,  310,   24,   24, 0x08,
00054 
00055        0        // eod
00056 };
00057 
00058 static const char qt_meta_stringdata_NCLTextEditorMainWindow[] = {
00059     "NCLTextEditorMainWindow\0\0,,,\0"
00060     "elementAdded(QString,QString,QMap<QString,QString>&,bool)\0"
00061     "focusLosted()\0newFile()\0open()\0bool\0"
00062     "save()\0saveAs()\0about()\0documentWasModified()\0"
00063     "showInFullScreen()\0insertElement()\0"
00064     "item,column\0gotoLineOf(QTreeWidgetItem*,int)\0"
00065     "showPreferences()\0showSearchBox()\0"
00066     "hideSearchBox()\0findNext()\0text\0"
00067     "findNext(QString)\0findPrevious()\0"
00068     "findPrevious(QString)\0"
00069 };
00070 
00071 void NCLTextEditorMainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00072 {
00073     if (_c == QMetaObject::InvokeMetaMethod) {
00074         Q_ASSERT(staticMetaObject.cast(_o));
00075         NCLTextEditorMainWindow *_t = static_cast<NCLTextEditorMainWindow *>(_o);
00076         switch (_id) {
00077         case 0: _t->elementAdded((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QMap<QString,QString>(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
00078         case 1: _t->focusLosted(); break;
00079         case 2: _t->newFile(); break;
00080         case 3: _t->open(); break;
00081         case 4: { bool _r = _t->save();
00082             if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
00083         case 5: { bool _r = _t->saveAs();
00084             if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
00085         case 6: _t->about(); break;
00086         case 7: _t->documentWasModified(); break;
00087         case 8: _t->showInFullScreen(); break;
00088         case 9: _t->insertElement(); break;
00089         case 10: _t->gotoLineOf((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
00090         case 11: _t->showPreferences(); break;
00091         case 12: _t->showSearchBox(); break;
00092         case 13: _t->hideSearchBox(); break;
00093         case 14: _t->findNext(); break;
00094         case 15: _t->findNext((*reinterpret_cast< QString(*)>(_a[1]))); break;
00095         case 16: _t->findPrevious(); break;
00096         case 17: _t->findPrevious((*reinterpret_cast< QString(*)>(_a[1]))); break;
00097         default: ;
00098         }
00099     }
00100 }
00101 
00102 const QMetaObjectExtraData NCLTextEditorMainWindow::staticMetaObjectExtraData = {
00103     0,  qt_static_metacall 
00104 };
00105 
00106 const QMetaObject NCLTextEditorMainWindow::staticMetaObject = {
00107     { &QMainWindow::staticMetaObject, qt_meta_stringdata_NCLTextEditorMainWindow,
00108       qt_meta_data_NCLTextEditorMainWindow, &staticMetaObjectExtraData }
00109 };
00110 
00111 #ifdef Q_NO_DATA_RELOCATION
00112 const QMetaObject &NCLTextEditorMainWindow::getStaticMetaObject() { return staticMetaObject; }
00113 #endif //Q_NO_DATA_RELOCATION
00114 
00115 const QMetaObject *NCLTextEditorMainWindow::metaObject() const
00116 {
00117     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
00118 }
00119 
00120 void *NCLTextEditorMainWindow::qt_metacast(const char *_clname)
00121 {
00122     if (!_clname) return 0;
00123     if (!strcmp(_clname, qt_meta_stringdata_NCLTextEditorMainWindow))
00124         return static_cast<void*>(const_cast< NCLTextEditorMainWindow*>(this));
00125     return QMainWindow::qt_metacast(_clname);
00126 }
00127 
00128 int NCLTextEditorMainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00129 {
00130     _id = QMainWindow::qt_metacall(_c, _id, _a);
00131     if (_id < 0)
00132         return _id;
00133     if (_c == QMetaObject::InvokeMetaMethod) {
00134         if (_id < 18)
00135             qt_static_metacall(this, _c, _id, _a);
00136         _id -= 18;
00137     }
00138     return _id;
00139 }
00140 
00141 // SIGNAL 0
00142 void NCLTextEditorMainWindow::elementAdded(QString _t1, QString _t2, QMap<QString,QString> & _t3, bool _t4)
00143 {
00144     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)) };
00145     QMetaObject::activate(this, &staticMetaObject, 0, _a);
00146 }
00147 
00148 // SIGNAL 1
00149 void NCLTextEditorMainWindow::focusLosted()
00150 {
00151     QMetaObject::activate(this, &staticMetaObject, 1, 0);
00152 }
00153 QT_END_MOC_NAMESPACE
 All Classes Functions Variables