1 /****************************************************************************
2 ** Meta object code from reading C++ file 'mainwindow.h'
4 ** Created: Fri Jul 9 22:58:04 2010
5 ** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
10 #include "mainwindow.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'mainwindow.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 62
14 #error "This file was generated using the moc from 4.6.2. 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_MainWindow[] = {
33 // slots: signature, parameters, type, tag, flags
42 static const char qt_meta_stringdata_MainWindow[] = {
43 "MainWindow\0\0clearTextFields()\0showAbout()\0"
44 "bool\0saveData()\0getCoordinates()\0"
47 const QMetaObject MainWindow::staticMetaObject = {
48 { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
49 qt_meta_data_MainWindow, 0 }
52 #ifdef Q_NO_DATA_RELOCATION
53 const QMetaObject &MainWindow::getStaticMetaObject() { return staticMetaObject; }
54 #endif //Q_NO_DATA_RELOCATION
56 const QMetaObject *MainWindow::metaObject() const
58 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
61 void *MainWindow::qt_metacast(const char *_clname)
63 if (!_clname) return 0;
64 if (!strcmp(_clname, qt_meta_stringdata_MainWindow))
65 return static_cast<void*>(const_cast< MainWindow*>(this));
66 return QMainWindow::qt_metacast(_clname);
69 int MainWindow::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: clearTextFields(); break;
77 case 1: showAbout(); break;
78 case 2: { bool _r = saveData();
79 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
80 case 3: getCoordinates(); break;