NCL Composer
0.1
|
00001 /**************************************************************************** 00002 ** Meta object code from reading C++ file 'NCLTextEditor.h' 00003 ** 00004 ** Created: Thu Oct 4 20:32:32 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/NCLTextEditor.h" 00011 #if !defined(Q_MOC_OUTPUT_REVISION) 00012 #error "The header file 'NCLTextEditor.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_NCLTextEditor[] = { 00021 00022 // content: 00023 6, // revision 00024 0, // classname 00025 0, 0, // classinfo 00026 9, 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 21, 15, 14, 14, 0x05, 00035 00036 // slots: signature, parameters, type, tag, flags 00037 47, 14, 14, 14, 0x0a, 00038 62, 14, 14, 14, 0x0a, 00039 77, 14, 14, 14, 0x0a, 00040 138, 100, 14, 14, 0x0a, 00041 206, 177, 14, 14, 0x2a, 00042 263, 241, 14, 14, 0x2a, 00043 297, 294, 14, 14, 0x0a, 00044 337, 14, 14, 14, 0x0a, 00045 00046 0 // eod 00047 }; 00048 00049 static const char qt_meta_stringdata_NCLTextEditor[] = { 00050 "NCLTextEditor\0\0event\0focusLosted(QFocusEvent*)\0" 00051 "Increasefont()\0Decreasefont()\0" 00052 "clearErrorIndicators()\0" 00053 "description,file,line,column,severity\0" 00054 "markError(QString,QString,int,int,int)\0" 00055 "description,file,line,column\0" 00056 "markError(QString,QString,int,int)\0" 00057 "description,file,line\0" 00058 "markError(QString,QString,int)\0,,\0" 00059 "MarkLine(int,int,Qt::KeyboardModifiers)\0" 00060 "formatText()\0" 00061 }; 00062 00063 void NCLTextEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 00064 { 00065 if (_c == QMetaObject::InvokeMetaMethod) { 00066 Q_ASSERT(staticMetaObject.cast(_o)); 00067 NCLTextEditor *_t = static_cast<NCLTextEditor *>(_o); 00068 switch (_id) { 00069 case 0: _t->focusLosted((*reinterpret_cast< QFocusEvent*(*)>(_a[1]))); break; 00070 case 1: _t->Increasefont(); break; 00071 case 2: _t->Decreasefont(); break; 00072 case 3: _t->clearErrorIndicators(); break; 00073 case 4: _t->markError((*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; 00074 case 5: _t->markError((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break; 00075 case 6: _t->markError((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; 00076 case 7: _t->MarkLine((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[3]))); break; 00077 case 8: _t->formatText(); break; 00078 default: ; 00079 } 00080 } 00081 } 00082 00083 const QMetaObjectExtraData NCLTextEditor::staticMetaObjectExtraData = { 00084 0, qt_static_metacall 00085 }; 00086 00087 const QMetaObject NCLTextEditor::staticMetaObject = { 00088 { &QsciScintilla::staticMetaObject, qt_meta_stringdata_NCLTextEditor, 00089 qt_meta_data_NCLTextEditor, &staticMetaObjectExtraData } 00090 }; 00091 00092 #ifdef Q_NO_DATA_RELOCATION 00093 const QMetaObject &NCLTextEditor::getStaticMetaObject() { return staticMetaObject; } 00094 #endif //Q_NO_DATA_RELOCATION 00095 00096 const QMetaObject *NCLTextEditor::metaObject() const 00097 { 00098 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 00099 } 00100 00101 void *NCLTextEditor::qt_metacast(const char *_clname) 00102 { 00103 if (!_clname) return 0; 00104 if (!strcmp(_clname, qt_meta_stringdata_NCLTextEditor)) 00105 return static_cast<void*>(const_cast< NCLTextEditor*>(this)); 00106 return QsciScintilla::qt_metacast(_clname); 00107 } 00108 00109 int NCLTextEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 00110 { 00111 _id = QsciScintilla::qt_metacall(_c, _id, _a); 00112 if (_id < 0) 00113 return _id; 00114 if (_c == QMetaObject::InvokeMetaMethod) { 00115 if (_id < 9) 00116 qt_static_metacall(this, _c, _id, _a); 00117 _id -= 9; 00118 } 00119 return _id; 00120 } 00121 00122 // SIGNAL 0 00123 void NCLTextEditor::focusLosted(QFocusEvent * _t1) 00124 { 00125 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; 00126 QMetaObject::activate(this, &staticMetaObject, 0, _a); 00127 } 00128 QT_END_MOC_NAMESPACE