~daniel-sonck/arduinostudio/devel

« back to all changes in this revision

Viewing changes to moc_questioninput.cpp

  • Committer: Daniel Sonck
  • Date: 2012-02-05 01:14:01 UTC
  • Revision ID: daniel.sonck@ziggo.nl-20120205011401-4eni52huptny3woa
TheĀ initialĀ version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
** Meta object code from reading C++ file 'questioninput.h'
 
3
**
 
4
** Created: Sat Aug 21 18:37:13 2010
 
5
**      by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
 
6
**
 
7
** WARNING! All changes made in this file will be lost!
 
8
*****************************************************************************/
 
9
 
 
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.)"
 
17
#endif
 
18
 
 
19
QT_BEGIN_MOC_NAMESPACE
 
20
static const uint qt_meta_data_QuestionInput[] = {
 
21
 
 
22
 // content:
 
23
       4,       // revision
 
24
       0,       // classname
 
25
       0,    0, // classinfo
 
26
       7,   14, // methods
 
27
       2,   49, // properties
 
28
       0,    0, // enums/sets
 
29
       0,    0, // constructors
 
30
       0,       // flags
 
31
       2,       // signalCount
 
32
 
 
33
 // signals: signature, parameters, type, tag, flags
 
34
      15,   14,   14,   14, 0x05,
 
35
      26,   14,   14,   14, 0x05,
 
36
 
 
37
 // slots: signature, parameters, type, tag, flags
 
38
      43,   37,   14,   14, 0x0a,
 
39
      72,   61,   14,   14, 0x0a,
 
40
      92,   14,   14,   14, 0x08,
 
41
     113,   14,   14,   14, 0x08,
 
42
     136,   14,   14,   14, 0x08,
 
43
 
 
44
 // properties: name, type, flags
 
45
      37,  158, 0x0a095103,
 
46
      61,  166, 0x01095003,
 
47
 
 
48
       0        // eod
 
49
};
 
50
 
 
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"
 
56
    "QString\0bool\0"
 
57
};
 
58
 
 
59
const QMetaObject QuestionInput::staticMetaObject = {
 
60
    { &QFrame::staticMetaObject, qt_meta_stringdata_QuestionInput,
 
61
      qt_meta_data_QuestionInput, 0 }
 
62
};
 
63
 
 
64
#ifdef Q_NO_DATA_RELOCATION
 
65
const QMetaObject &QuestionInput::getStaticMetaObject() { return staticMetaObject; }
 
66
#endif //Q_NO_DATA_RELOCATION
 
67
 
 
68
const QMetaObject *QuestionInput::metaObject() const
 
69
{
 
70
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
 
71
}
 
72
 
 
73
void *QuestionInput::qt_metacast(const char *_clname)
 
74
{
 
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);
 
79
}
 
80
 
 
81
int QuestionInput::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
 
82
{
 
83
    _id = QFrame::qt_metacall(_c, _id, _a);
 
84
    if (_id < 0)
 
85
        return _id;
 
86
    if (_c == QMetaObject::InvokeMetaMethod) {
 
87
        switch (_id) {
 
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;
 
95
        default: ;
 
96
        }
 
97
        _id -= 7;
 
98
    }
 
99
#ifndef QT_NO_PROPERTIES
 
100
      else if (_c == QMetaObject::ReadProperty) {
 
101
        void *_v = _a[0];
 
102
        switch (_id) {
 
103
        case 0: *reinterpret_cast< QString*>(_v) = label(); break;
 
104
        case 1: *reinterpret_cast< bool*>(_v) = autoDelete(); break;
 
105
        }
 
106
        _id -= 2;
 
107
    } else if (_c == QMetaObject::WriteProperty) {
 
108
        void *_v = _a[0];
 
109
        switch (_id) {
 
110
        case 0: setLabel(*reinterpret_cast< QString*>(_v)); break;
 
111
        case 1: setAutoDelete(*reinterpret_cast< bool*>(_v)); break;
 
112
        }
 
113
        _id -= 2;
 
114
    } else if (_c == QMetaObject::ResetProperty) {
 
115
        _id -= 2;
 
116
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
 
117
        _id -= 2;
 
118
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
 
119
        _id -= 2;
 
120
    } else if (_c == QMetaObject::QueryPropertyStored) {
 
121
        _id -= 2;
 
122
    } else if (_c == QMetaObject::QueryPropertyEditable) {
 
123
        _id -= 2;
 
124
    } else if (_c == QMetaObject::QueryPropertyUser) {
 
125
        _id -= 2;
 
126
    }
 
127
#endif // QT_NO_PROPERTIES
 
128
    return _id;
 
129
}
 
130
 
 
131
// SIGNAL 0
 
132
void QuestionInput::accepted()
 
133
{
 
134
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
 
135
}
 
136
 
 
137
// SIGNAL 1
 
138
void QuestionInput::declined()
 
139
{
 
140
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
 
141
}
 
142
QT_END_MOC_NAMESPACE