init
[qstardict] / plugins / stardict / moc_settingsdialog.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'settingsdialog.h'
3 **
4 ** Created: Tue Dec 29 16:45:22 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 "settingsdialog.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'settingsdialog.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_SettingsDialog[] = {
21
22  // content:
23        2,       // revision
24        0,       // classname
25        0,    0, // classinfo
26        5,   12, // methods
27        0,    0, // properties
28        0,    0, // enums/sets
29        0,    0, // constructors
30
31  // slots: signature, parameters, type, tag, flags
32       15,   45,   45,   45, 0x08,
33       46,   45,   45,   45, 0x08,
34       79,   45,   45,   45, 0x08,
35      112,   45,   45,   45, 0x08,
36      147,   45,   45,   45, 0x08,
37
38        0        // eod
39 };
40
41 static const char qt_meta_stringdata_SettingsDialog[] = {
42     "SettingsDialog\0on_addDictDirButton_clicked()\0"
43     "\0on_removeDictDirButton_clicked()\0"
44     "on_moveUpDictDirButton_clicked()\0"
45     "on_moveDownDictDirButton_clicked()\0"
46     "apply()\0"
47 };
48
49 const QMetaObject SettingsDialog::staticMetaObject = {
50     { &QDialog::staticMetaObject, qt_meta_stringdata_SettingsDialog,
51       qt_meta_data_SettingsDialog, 0 }
52 };
53
54 const QMetaObject *SettingsDialog::metaObject() const
55 {
56     return &staticMetaObject;
57 }
58
59 void *SettingsDialog::qt_metacast(const char *_clname)
60 {
61     if (!_clname) return 0;
62     if (!strcmp(_clname, qt_meta_stringdata_SettingsDialog))
63         return static_cast<void*>(const_cast< SettingsDialog*>(this));
64     return QDialog::qt_metacast(_clname);
65 }
66
67 int SettingsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
68 {
69     _id = QDialog::qt_metacall(_c, _id, _a);
70     if (_id < 0)
71         return _id;
72     if (_c == QMetaObject::InvokeMetaMethod) {
73         switch (_id) {
74         case 0: on_addDictDirButton_clicked(); break;
75         case 1: on_removeDictDirButton_clicked(); break;
76         case 2: on_moveUpDictDirButton_clicked(); break;
77         case 3: on_moveDownDictDirButton_clicked(); break;
78         case 4: apply(); break;
79         default: ;
80         }
81         _id -= 5;
82     }
83     return _id;
84 }
85 QT_END_MOC_NAMESPACE