5e40302f41211f79b7cc19759400dba1d59d2895
[hikingdiary] / src / moc_mainwindow.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'mainwindow.h'
3 **
4 ** Created: Fri Jul 9 22:58:04 2010
5 **      by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
9
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.)"
17 #endif
18
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_MainWindow[] = {
21
22  // content:
23        4,       // revision
24        0,       // classname
25        0,    0, // classinfo
26        4,   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       12,   11,   11,   11, 0x08,
35       30,   11,   11,   11, 0x08,
36       47,   11,   42,   11, 0x08,
37       58,   11,   11,   11, 0x08,
38
39        0        // eod
40 };
41
42 static const char qt_meta_stringdata_MainWindow[] = {
43     "MainWindow\0\0clearTextFields()\0showAbout()\0"
44     "bool\0saveData()\0getCoordinates()\0"
45 };
46
47 const QMetaObject MainWindow::staticMetaObject = {
48     { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
49       qt_meta_data_MainWindow, 0 }
50 };
51
52 #ifdef Q_NO_DATA_RELOCATION
53 const QMetaObject &MainWindow::getStaticMetaObject() { return staticMetaObject; }
54 #endif //Q_NO_DATA_RELOCATION
55
56 const QMetaObject *MainWindow::metaObject() const
57 {
58     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
59 }
60
61 void *MainWindow::qt_metacast(const char *_clname)
62 {
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);
67 }
68
69 int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
70 {
71     _id = QMainWindow::qt_metacall(_c, _id, _a);
72     if (_id < 0)
73         return _id;
74     if (_c == QMetaObject::InvokeMetaMethod) {
75         switch (_id) {
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;
81         default: ;
82         }
83         _id -= 4;
84     }
85     return _id;
86 }
87 QT_END_MOC_NAMESPACE