Updated build rules
[qstardict] / qstardict / moc_mainwindow.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'mainwindow.h'
3 **
4 ** Created: Tue Dec 29 16:44:49 2009
5 **      by: The Qt Meta Object Compiler version 61 (Qt 4.5.3)
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 != 61
14 #error "This file was generated using the moc from 4.5.3. 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_QStarDict__MainWindow[] = {
21
22  // content:
23        2,       // revision
24        0,       // classname
25        0,    0, // classinfo
26        8,   12, // methods
27        0,    0, // properties
28        0,    0, // enums/sets
29        0,    0, // constructors
30
31  // slots: signature, parameters, type, tag, flags
32       22,   47,   52,   52, 0x0a,
33       53,   52,   52,   52, 0x08,
34       80,   52,   52,   52, 0x08,
35      110,   52,   52,   52, 0x08,
36      136,   52,   52,   52, 0x08,
37      161,  202,   52,   52, 0x08,
38      207,   47,   52,   52, 0x08,
39      231,   52,   52,   52, 0x08,
40
41        0        // eod
42 };
43
44 static const char qt_meta_stringdata_QStarDict__MainWindow[] = {
45     "QStarDict::MainWindow\0showTranslation(QString)\0"
46     "word\0\0on_actionAbout_triggered()\0"
47     "on_actionSettings_triggered()\0"
48     "on_actionHelp_triggered()\0"
49     "on_queryButton_clicked()\0"
50     "wordsListItemActivated(QListWidgetItem*)\0"
51     "item\0wordTranslated(QString)\0"
52     "queryEdited(QString)\0"
53 };
54
55 const QMetaObject QStarDict::MainWindow::staticMetaObject = {
56     { &QMainWindow::staticMetaObject, qt_meta_stringdata_QStarDict__MainWindow,
57       qt_meta_data_QStarDict__MainWindow, 0 }
58 };
59
60 const QMetaObject *QStarDict::MainWindow::metaObject() const
61 {
62     return &staticMetaObject;
63 }
64
65 void *QStarDict::MainWindow::qt_metacast(const char *_clname)
66 {
67     if (!_clname) return 0;
68     if (!strcmp(_clname, qt_meta_stringdata_QStarDict__MainWindow))
69         return static_cast<void*>(const_cast< MainWindow*>(this));
70     return QMainWindow::qt_metacast(_clname);
71 }
72
73 int QStarDict::MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
74 {
75     _id = QMainWindow::qt_metacall(_c, _id, _a);
76     if (_id < 0)
77         return _id;
78     if (_c == QMetaObject::InvokeMetaMethod) {
79         switch (_id) {
80         case 0: showTranslation((*reinterpret_cast< const QString(*)>(_a[1]))); break;
81         case 1: on_actionAbout_triggered(); break;
82         case 2: on_actionSettings_triggered(); break;
83         case 3: on_actionHelp_triggered(); break;
84         case 4: on_queryButton_clicked(); break;
85         case 5: wordsListItemActivated((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
86         case 6: wordTranslated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
87         case 7: queryEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break;
88         default: ;
89         }
90         _id -= 8;
91     }
92     return _id;
93 }
94 QT_END_MOC_NAMESPACE