1
/****************************************************************************
2
** Meta object code from reading C++ file 'questioninput.h'
4
** Created: Sat Aug 21 18:37:13 2010
5
** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
7
** WARNING! All changes made in this file will be lost!
8
*****************************************************************************/
10
#include "questioninput.h"
11
#if !defined(Q_MOC_OUTPUT_REVISION)
12
#error "The header file 'questioninput.h' doesn't include <QObject>."
13
#elif Q_MOC_OUTPUT_REVISION != 62
14
#error "This file was generated using the moc from 4.6.2. 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_QuestionInput[] = {
33
// signals: signature, parameters, type, tag, flags
37
// slots: signature, parameters, type, tag, flags
41
113, 14, 14, 14, 0x08,
42
136, 14, 14, 14, 0x08,
44
// properties: name, type, flags
51
static const char qt_meta_stringdata_QuestionInput[] = {
52
"QuestionInput\0\0accepted()\0declined()\0"
53
"label\0setLabel(QString)\0autodelete\0"
54
"setAutoDelete(bool)\0on_m_close_clicked()\0"
55
"on_m_decline_clicked()\0on_m_accept_clicked()\0"
59
const QMetaObject QuestionInput::staticMetaObject = {
60
{ &QFrame::staticMetaObject, qt_meta_stringdata_QuestionInput,
61
qt_meta_data_QuestionInput, 0 }
64
#ifdef Q_NO_DATA_RELOCATION
65
const QMetaObject &QuestionInput::getStaticMetaObject() { return staticMetaObject; }
66
#endif //Q_NO_DATA_RELOCATION
68
const QMetaObject *QuestionInput::metaObject() const
70
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
73
void *QuestionInput::qt_metacast(const char *_clname)
75
if (!_clname) return 0;
76
if (!strcmp(_clname, qt_meta_stringdata_QuestionInput))
77
return static_cast<void*>(const_cast< QuestionInput*>(this));
78
return QFrame::qt_metacast(_clname);
81
int QuestionInput::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
83
_id = QFrame::qt_metacall(_c, _id, _a);
86
if (_c == QMetaObject::InvokeMetaMethod) {
88
case 0: accepted(); break;
89
case 1: declined(); break;
90
case 2: setLabel((*reinterpret_cast< QString(*)>(_a[1]))); break;
91
case 3: setAutoDelete((*reinterpret_cast< bool(*)>(_a[1]))); break;
92
case 4: on_m_close_clicked(); break;
93
case 5: on_m_decline_clicked(); break;
94
case 6: on_m_accept_clicked(); break;
99
#ifndef QT_NO_PROPERTIES
100
else if (_c == QMetaObject::ReadProperty) {
103
case 0: *reinterpret_cast< QString*>(_v) = label(); break;
104
case 1: *reinterpret_cast< bool*>(_v) = autoDelete(); break;
107
} else if (_c == QMetaObject::WriteProperty) {
110
case 0: setLabel(*reinterpret_cast< QString*>(_v)); break;
111
case 1: setAutoDelete(*reinterpret_cast< bool*>(_v)); break;
114
} else if (_c == QMetaObject::ResetProperty) {
116
} else if (_c == QMetaObject::QueryPropertyDesignable) {
118
} else if (_c == QMetaObject::QueryPropertyScriptable) {
120
} else if (_c == QMetaObject::QueryPropertyStored) {
122
} else if (_c == QMetaObject::QueryPropertyEditable) {
124
} else if (_c == QMetaObject::QueryPropertyUser) {
127
#endif // QT_NO_PROPERTIES
132
void QuestionInput::accepted()
134
QMetaObject::activate(this, &staticMetaObject, 0, 0);
138
void QuestionInput::declined()
140
QMetaObject::activate(this, &staticMetaObject, 1, 0);