00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "phsearchimpl.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'phsearchimpl.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.2.1. 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 static const uint qt_meta_data_PhSearchImpl[] = {
00020
00021
00022 1,
00023 0,
00024 0, 0,
00025 8, 10,
00026 0, 0,
00027 0, 0,
00028
00029
00030 14, 13, 13, 13, 0x0a,
00031 25, 13, 13, 13, 0x0a,
00032 36, 13, 13, 13, 0x0a,
00033 51, 48, 13, 13, 0x0a,
00034 113, 13, 13, 13, 0x0a,
00035 133, 13, 13, 13, 0x0a,
00036 148, 13, 13, 13, 0x0a,
00037 159, 13, 13, 13, 0x0a,
00038
00039 0
00040 };
00041
00042 static const char qt_meta_stringdata_PhSearchImpl[] = {
00043 "PhSearchImpl\0\0fileOpen()\0fileExit()\0helpAbout()\0,,\0"
00044 "openDocument(PhraseHunter::DocID,PhraseHunter::IdxPos,size_t)\0"
00045 "openOptionsWidget()\0newSearchTab()\0closeTab()\0hideStatistics()\0"
00046 };
00047
00048 const QMetaObject PhSearchImpl::staticMetaObject = {
00049 { &QMainWindow::staticMetaObject, qt_meta_stringdata_PhSearchImpl,
00050 qt_meta_data_PhSearchImpl, 0 }
00051 };
00052
00053 const QMetaObject *PhSearchImpl::metaObject() const
00054 {
00055 return &staticMetaObject;
00056 }
00057
00058 void *PhSearchImpl::qt_metacast(const char *_clname)
00059 {
00060 if (!_clname) return 0;
00061 if (!strcmp(_clname, qt_meta_stringdata_PhSearchImpl))
00062 return static_cast<void*>(const_cast<PhSearchImpl*>(this));
00063 if (!strcmp(_clname, "Ui::phMainWindow"))
00064 return static_cast<Ui::phMainWindow*>(const_cast<PhSearchImpl*>(this));
00065 return QMainWindow::qt_metacast(_clname);
00066 }
00067
00068 int PhSearchImpl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00069 {
00070 _id = QMainWindow::qt_metacall(_c, _id, _a);
00071 if (_id < 0)
00072 return _id;
00073 if (_c == QMetaObject::InvokeMetaMethod) {
00074 switch (_id) {
00075 case 0: fileOpen(); break;
00076 case 1: fileExit(); break;
00077 case 2: helpAbout(); break;
00078 case 3: openDocument((*reinterpret_cast< PhraseHunter::DocID(*)>(_a[1])),(*reinterpret_cast< PhraseHunter::IdxPos(*)>(_a[2])),(*reinterpret_cast< size_t(*)>(_a[3]))); break;
00079 case 4: openOptionsWidget(); break;
00080 case 5: newSearchTab(); break;
00081 case 6: closeTab(); break;
00082 case 7: hideStatistics(); break;
00083 }
00084 _id -= 8;
00085 }
00086 return _id;
00087 }