1 /****************************************************************************
2 ** Meta object code from reading C++ file 'appwindow.h'
4 ** Created: Wed Nov 17 19:56:51 2010
5 ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.0)
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
10 #include "appwindow.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'appwindow.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 62
14 #error "This file was generated using the moc from 4.7.0. It"
15 #error "cannot be used with the include files from this version of Qt."
16 #error "(The moc has changed too much.)"
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_AppWindow[] = {
33 // slots: signature, parameters, type, tag, flags
42 static const char qt_meta_stringdata_AppWindow[] = {
43 "AppWindow\0\0newFile()\0open()\0bool\0"
47 const QMetaObject AppWindow::staticMetaObject = {
48 { &QMainWindow::staticMetaObject, qt_meta_stringdata_AppWindow,
49 qt_meta_data_AppWindow, 0 }
52 #ifdef Q_NO_DATA_RELOCATION
53 const QMetaObject &AppWindow::getStaticMetaObject() { return staticMetaObject; }
54 #endif //Q_NO_DATA_RELOCATION
56 const QMetaObject *AppWindow::metaObject() const
58 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
61 void *AppWindow::qt_metacast(const char *_clname)
63 if (!_clname) return 0;
64 if (!strcmp(_clname, qt_meta_stringdata_AppWindow))
65 return static_cast<void*>(const_cast< AppWindow*>(this));
66 return QMainWindow::qt_metacast(_clname);
69 int AppWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
71 _id = QMainWindow::qt_metacall(_c, _id, _a);
74 if (_c == QMetaObject::InvokeMetaMethod) {
76 case 0: newFile(); break;
77 case 1: open(); break;
78 case 2: { bool _r = save();
79 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
80 case 3: { bool _r = saveAs();
81 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;