Updated build rules
[qstardict] / qstardict / moc_dictwidget.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'dictwidget.h'
3 **
4 ** Created: Tue Dec 29 16:44:42 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 "dictwidget.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'dictwidget.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__DictWidget[] = {
21
22  // content:
23        2,       // revision
24        0,       // classname
25        0,    0, // classinfo
26        4,   12, // methods
27        0,    0, // properties
28        0,    0, // enums/sets
29        0,    0, // constructors
30
31  // signals: signature, parameters, type, tag, flags
32       22,   46,   51,   51, 0x05,
33
34  // slots: signature, parameters, type, tag, flags
35       52,   91,   51,   51, 0x08,
36       96,   51,   51,   51, 0x08,
37      109,   51,   51,   51, 0x08,
38
39        0        // eod
40 };
41
42 static const char qt_meta_stringdata_QStarDict__DictWidget[] = {
43     "QStarDict::DictWidget\0wordTranslated(QString)\0"
44     "word\0\0on_translationView_sourceChanged(QUrl)\0"
45     "name\0saveToFile()\0speak()\0"
46 };
47
48 const QMetaObject QStarDict::DictWidget::staticMetaObject = {
49     { &QFrame::staticMetaObject, qt_meta_stringdata_QStarDict__DictWidget,
50       qt_meta_data_QStarDict__DictWidget, 0 }
51 };
52
53 const QMetaObject *QStarDict::DictWidget::metaObject() const
54 {
55     return &staticMetaObject;
56 }
57
58 void *QStarDict::DictWidget::qt_metacast(const char *_clname)
59 {
60     if (!_clname) return 0;
61     if (!strcmp(_clname, qt_meta_stringdata_QStarDict__DictWidget))
62         return static_cast<void*>(const_cast< DictWidget*>(this));
63     return QFrame::qt_metacast(_clname);
64 }
65
66 int QStarDict::DictWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
67 {
68     _id = QFrame::qt_metacall(_c, _id, _a);
69     if (_id < 0)
70         return _id;
71     if (_c == QMetaObject::InvokeMetaMethod) {
72         switch (_id) {
73         case 0: wordTranslated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
74         case 1: on_translationView_sourceChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
75         case 2: saveToFile(); break;
76         case 3: speak(); break;
77         default: ;
78         }
79         _id -= 4;
80     }
81     return _id;
82 }
83
84 // SIGNAL 0
85 void QStarDict::DictWidget::wordTranslated(const QString & _t1)
86 {
87     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
88     QMetaObject::activate(this, &staticMetaObject, 0, _a);
89 }
90 QT_END_MOC_NAMESPACE