/bin/MainApp/moc_snaptogrid.cpp
C++ | 96 lines | 73 code | 13 blank | 10 comment | 10 complexity | c19222f75a89438c6eff45fa8a2506ec MD5 | raw file
1/**************************************************************************** 2** Meta object code from reading C++ file 'snaptogrid.h' 3** 4** Created: Sat Dec 8 11:24:15 2012 5** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1) 6** 7** WARNING! All changes made in this file will be lost! 8*****************************************************************************/ 9 10#include "../../Primitive/MainApp/commands/snaptogrid.h" 11#if !defined(Q_MOC_OUTPUT_REVISION) 12#error "The header file 'snaptogrid.h' doesn't include <QObject>." 13#elif Q_MOC_OUTPUT_REVISION != 63 14#error "This file was generated using the moc from 4.8.1. It" 15#error "cannot be used with the include files from this version of Qt." 16#error "(The moc has changed too much.)" 17#endif 18 19QT_BEGIN_MOC_NAMESPACE 20static const uint qt_meta_data_SnapToGridTool[] = { 21 22 // content: 23 6, // revision 24 0, // classname 25 0, 0, // classinfo 26 2, 14, // methods 27 0, 0, // properties 28 0, 0, // enums/sets 29 0, 0, // constructors 30 0, // flags 31 0, // signalCount 32 33 // slots: signature, parameters, type, tag, flags 34 16, 15, 15, 15, 0x0a, 35 28, 15, 15, 15, 0x0a, 36 37 0 // eod 38}; 39 40static const char qt_meta_stringdata_SnapToGridTool[] = { 41 "SnapToGridTool\0\0triggered()\0start()\0" 42}; 43 44void SnapToGridTool::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 45{ 46 if (_c == QMetaObject::InvokeMetaMethod) { 47 Q_ASSERT(staticMetaObject.cast(_o)); 48 SnapToGridTool *_t = static_cast<SnapToGridTool *>(_o); 49 switch (_id) { 50 case 0: _t->triggered(); break; 51 case 1: _t->start(); break; 52 default: ; 53 } 54 } 55 Q_UNUSED(_a); 56} 57 58const QMetaObjectExtraData SnapToGridTool::staticMetaObjectExtraData = { 59 0, qt_static_metacall 60}; 61 62const QMetaObject SnapToGridTool::staticMetaObject = { 63 { &DesignTool::staticMetaObject, qt_meta_stringdata_SnapToGridTool, 64 qt_meta_data_SnapToGridTool, &staticMetaObjectExtraData } 65}; 66 67#ifdef Q_NO_DATA_RELOCATION 68const QMetaObject &SnapToGridTool::getStaticMetaObject() { return staticMetaObject; } 69#endif //Q_NO_DATA_RELOCATION 70 71const QMetaObject *SnapToGridTool::metaObject() const 72{ 73 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 74} 75 76void *SnapToGridTool::qt_metacast(const char *_clname) 77{ 78 if (!_clname) return 0; 79 if (!strcmp(_clname, qt_meta_stringdata_SnapToGridTool)) 80 return static_cast<void*>(const_cast< SnapToGridTool*>(this)); 81 return DesignTool::qt_metacast(_clname); 82} 83 84int SnapToGridTool::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 85{ 86 _id = DesignTool::qt_metacall(_c, _id, _a); 87 if (_id < 0) 88 return _id; 89 if (_c == QMetaObject::InvokeMetaMethod) { 90 if (_id < 2) 91 qt_static_metacall(this, _c, _id, _a); 92 _id -= 2; 93 } 94 return _id; 95} 96QT_END_MOC_NAMESPACE