1 /****************************************************************************
2 ** Meta object code from reading C++ file 'dictwidget.h'
4 ** Created: Tue Dec 29 16:44:42 2009
5 ** by: The Qt Meta Object Compiler version 61 (Qt 4.5.3)
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
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.)"
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_QStarDict__DictWidget[] = {
31 // signals: signature, parameters, type, tag, flags
34 // slots: signature, parameters, type, tag, flags
37 109, 51, 51, 51, 0x08,
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"
48 const QMetaObject QStarDict::DictWidget::staticMetaObject = {
49 { &QFrame::staticMetaObject, qt_meta_stringdata_QStarDict__DictWidget,
50 qt_meta_data_QStarDict__DictWidget, 0 }
53 const QMetaObject *QStarDict::DictWidget::metaObject() const
55 return &staticMetaObject;
58 void *QStarDict::DictWidget::qt_metacast(const char *_clname)
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);
66 int QStarDict::DictWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
68 _id = QFrame::qt_metacall(_c, _id, _a);
71 if (_c == QMetaObject::InvokeMetaMethod) {
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;
85 void QStarDict::DictWidget::wordTranslated(const QString & _t1)
87 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
88 QMetaObject::activate(this, &staticMetaObject, 0, _a);