00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "mainwindow.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'mainwindow.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.4.0. It"
00015 #error "cannot be used with the include files from this version of Qt."
00016 #error "(The moc has changed too much.)"
00017 #endif
00018
00019 QT_BEGIN_MOC_NAMESPACE
00020 static const uint qt_meta_data_MainWindow[] = {
00021
00022
00023 1,
00024 0,
00025 0, 0,
00026 4, 10,
00027 0, 0,
00028 0, 0,
00029
00030
00031 12, 11, 11, 11, 0x08,
00032 27, 11, 11, 11, 0x08,
00033 36, 11, 11, 11, 0x08,
00034 58, 46, 11, 11, 0x08,
00035
00036 0
00037 };
00038
00039 static const char qt_meta_stringdata_MainWindow[] = {
00040 "MainWindow\0\0chooseFolder()\0zoomIn()\0"
00041 "zoomOut()\0item,column\0"
00042 "setRoot(QTreeWidgetItem*,int)\0"
00043 };
00044
00045 const QMetaObject MainWindow::staticMetaObject = {
00046 { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
00047 qt_meta_data_MainWindow, 0 }
00048 };
00049
00050 const QMetaObject *MainWindow::metaObject() const
00051 {
00052 return &staticMetaObject;
00053 }
00054
00055 void *MainWindow::qt_metacast(const char *_clname)
00056 {
00057 if (!_clname) return 0;
00058 if (!strcmp(_clname, qt_meta_stringdata_MainWindow))
00059 return static_cast<void*>(const_cast< MainWindow*>(this));
00060 return QMainWindow::qt_metacast(_clname);
00061 }
00062
00063 int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00064 {
00065 _id = QMainWindow::qt_metacall(_c, _id, _a);
00066 if (_id < 0)
00067 return _id;
00068 if (_c == QMetaObject::InvokeMetaMethod) {
00069 switch (_id) {
00070 case 0: chooseFolder(); break;
00071 case 1: zoomIn(); break;
00072 case 2: zoomOut(); break;
00073 case 3: setRoot((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
00074 }
00075 _id -= 4;
00076 }
00077 return _id;
00078 }
00079 QT_END_MOC_NAMESPACE