Done ! Testing and not working :)
[photoenhancer] / src / app / windows / moc_appwindow.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'appwindow.h'
3 **
4 ** Created: Wed Nov 17 19:56:51 2010
5 **      by: The Qt Meta Object Compiler version 62 (Qt 4.7.0)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
9
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.)"
17 #endif
18
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_AppWindow[] = {
21
22  // content:
23        5,       // 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       11,   10,   10,   10, 0x08,
35       21,   10,   10,   10, 0x08,
36       33,   10,   28,   10, 0x08,
37       40,   10,   28,   10, 0x08,
38
39        0        // eod
40 };
41
42 static const char qt_meta_stringdata_AppWindow[] = {
43     "AppWindow\0\0newFile()\0open()\0bool\0"
44     "save()\0saveAs()\0"
45 };
46
47 const QMetaObject AppWindow::staticMetaObject = {
48     { &QMainWindow::staticMetaObject, qt_meta_stringdata_AppWindow,
49       qt_meta_data_AppWindow, 0 }
50 };
51
52 #ifdef Q_NO_DATA_RELOCATION
53 const QMetaObject &AppWindow::getStaticMetaObject() { return staticMetaObject; }
54 #endif //Q_NO_DATA_RELOCATION
55
56 const QMetaObject *AppWindow::metaObject() const
57 {
58     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
59 }
60
61 void *AppWindow::qt_metacast(const char *_clname)
62 {
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);
67 }
68
69 int AppWindow::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: 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;
82         default: ;
83         }
84         _id -= 4;
85     }
86     return _id;
87 }
88 QT_END_MOC_NAMESPACE