reorganized bluetooth-qt and added declarative plugin
[profile/ivi/bluetooth-qt.git] / bluetooth-qt / moc_headset.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'headset.h'
3 **
4 ** Created: Wed May 25 10:17:40 2011
5 **      by: The Qt Meta Object Compiler version 62 (Qt 4.7.2)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
9
10 #include "headset.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'headset.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 62
14 #error "This file was generated using the moc from 4.7.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_OrgBluezHeadsetInterface[] = {
21
22  // content:
23        5,       // revision
24        0,       // classname
25        0,    0, // classinfo
26       23,   14, // methods
27        0,    0, // properties
28        0,    0, // enums/sets
29        0,    0, // constructors
30        0,       // flags
31        9,       // signalCount
32
33  // signals: signature, parameters, type, tag, flags
34       26,   25,   25,   25, 0x05,
35       44,   25,   25,   25, 0x05,
36       61,   25,   25,   25, 0x05,
37       73,   25,   25,   25, 0x05,
38       92,   88,   25,   25, 0x05,
39      122,   25,   25,   25, 0x05,
40      140,  132,   25,   25, 0x05,
41      178,   88,   25,   25, 0x05,
42      205,   25,   25,   25, 0x05,
43
44  // slots: signature, parameters, type, tag, flags
45      235,   25,  215,   25, 0x0a,
46      248,   25,  215,   25, 0x0a,
47      258,   25,  215,   25, 0x0a,
48      297,   25,  271,   25, 0x0a,
49      348,   25,  317,   25, 0x0a,
50      364,   25,  271,   25, 0x0a,
51      381,   25,  215,   25, 0x0a,
52      420,   25,  396,   25, 0x0a,
53      434,   25,  396,   25, 0x0a,
54      446,   25,  215,   25, 0x0a,
55      453,   88,  215,   25, 0x0a,
56      479,  132,  215,   25, 0x0a,
57      513,   88,  215,   25, 0x0a,
58      536,   25,  215,   25, 0x0a,
59
60        0        // eod
61 };
62
63 static const char qt_meta_stringdata_OrgBluezHeadsetInterface[] = {
64     "OrgBluezHeadsetInterface\0\0AnswerRequested()\0"
65     "CallTerminated()\0Connected()\0"
66     "Disconnected()\0in0\0MicrophoneGainChanged(ushort)\0"
67     "Playing()\0in0,in1\0"
68     "PropertyChanged(QString,QDBusVariant)\0"
69     "SpeakerGainChanged(ushort)\0Stopped()\0"
70     "QDBusPendingReply<>\0CancelCall()\0"
71     "Connect()\0Disconnect()\0QDBusPendingReply<ushort>\0"
72     "GetMicrophoneGain()\0QDBusPendingReply<QVariantMap>\0"
73     "GetProperties()\0GetSpeakerGain()\0"
74     "IndicateCall()\0QDBusPendingReply<bool>\0"
75     "IsConnected()\0IsPlaying()\0Play()\0"
76     "SetMicrophoneGain(ushort)\0"
77     "SetProperty(QString,QDBusVariant)\0"
78     "SetSpeakerGain(ushort)\0Stop()\0"
79 };
80
81 const QMetaObject OrgBluezHeadsetInterface::staticMetaObject = {
82     { &QDBusAbstractInterface::staticMetaObject, qt_meta_stringdata_OrgBluezHeadsetInterface,
83       qt_meta_data_OrgBluezHeadsetInterface, 0 }
84 };
85
86 #ifdef Q_NO_DATA_RELOCATION
87 const QMetaObject &OrgBluezHeadsetInterface::getStaticMetaObject() { return staticMetaObject; }
88 #endif //Q_NO_DATA_RELOCATION
89
90 const QMetaObject *OrgBluezHeadsetInterface::metaObject() const
91 {
92     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
93 }
94
95 void *OrgBluezHeadsetInterface::qt_metacast(const char *_clname)
96 {
97     if (!_clname) return 0;
98     if (!strcmp(_clname, qt_meta_stringdata_OrgBluezHeadsetInterface))
99         return static_cast<void*>(const_cast< OrgBluezHeadsetInterface*>(this));
100     return QDBusAbstractInterface::qt_metacast(_clname);
101 }
102
103 int OrgBluezHeadsetInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
104 {
105     _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
106     if (_id < 0)
107         return _id;
108     if (_c == QMetaObject::InvokeMetaMethod) {
109         switch (_id) {
110         case 0: AnswerRequested(); break;
111         case 1: CallTerminated(); break;
112         case 2: Connected(); break;
113         case 3: Disconnected(); break;
114         case 4: MicrophoneGainChanged((*reinterpret_cast< ushort(*)>(_a[1]))); break;
115         case 5: Playing(); break;
116         case 6: PropertyChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusVariant(*)>(_a[2]))); break;
117         case 7: SpeakerGainChanged((*reinterpret_cast< ushort(*)>(_a[1]))); break;
118         case 8: Stopped(); break;
119         case 9: { QDBusPendingReply<> _r = CancelCall();
120             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
121         case 10: { QDBusPendingReply<> _r = Connect();
122             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
123         case 11: { QDBusPendingReply<> _r = Disconnect();
124             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
125         case 12: { QDBusPendingReply<ushort> _r = GetMicrophoneGain();
126             if (_a[0]) *reinterpret_cast< QDBusPendingReply<ushort>*>(_a[0]) = _r; }  break;
127         case 13: { QDBusPendingReply<QVariantMap> _r = GetProperties();
128             if (_a[0]) *reinterpret_cast< QDBusPendingReply<QVariantMap>*>(_a[0]) = _r; }  break;
129         case 14: { QDBusPendingReply<ushort> _r = GetSpeakerGain();
130             if (_a[0]) *reinterpret_cast< QDBusPendingReply<ushort>*>(_a[0]) = _r; }  break;
131         case 15: { QDBusPendingReply<> _r = IndicateCall();
132             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
133         case 16: { QDBusPendingReply<bool> _r = IsConnected();
134             if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = _r; }  break;
135         case 17: { QDBusPendingReply<bool> _r = IsPlaying();
136             if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = _r; }  break;
137         case 18: { QDBusPendingReply<> _r = Play();
138             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
139         case 19: { QDBusPendingReply<> _r = SetMicrophoneGain((*reinterpret_cast< ushort(*)>(_a[1])));
140             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
141         case 20: { QDBusPendingReply<> _r = SetProperty((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusVariant(*)>(_a[2])));
142             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
143         case 21: { QDBusPendingReply<> _r = SetSpeakerGain((*reinterpret_cast< ushort(*)>(_a[1])));
144             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
145         case 22: { QDBusPendingReply<> _r = Stop();
146             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
147         default: ;
148         }
149         _id -= 23;
150     }
151     return _id;
152 }
153
154 // SIGNAL 0
155 void OrgBluezHeadsetInterface::AnswerRequested()
156 {
157     QMetaObject::activate(this, &staticMetaObject, 0, 0);
158 }
159
160 // SIGNAL 1
161 void OrgBluezHeadsetInterface::CallTerminated()
162 {
163     QMetaObject::activate(this, &staticMetaObject, 1, 0);
164 }
165
166 // SIGNAL 2
167 void OrgBluezHeadsetInterface::Connected()
168 {
169     QMetaObject::activate(this, &staticMetaObject, 2, 0);
170 }
171
172 // SIGNAL 3
173 void OrgBluezHeadsetInterface::Disconnected()
174 {
175     QMetaObject::activate(this, &staticMetaObject, 3, 0);
176 }
177
178 // SIGNAL 4
179 void OrgBluezHeadsetInterface::MicrophoneGainChanged(ushort _t1)
180 {
181     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
182     QMetaObject::activate(this, &staticMetaObject, 4, _a);
183 }
184
185 // SIGNAL 5
186 void OrgBluezHeadsetInterface::Playing()
187 {
188     QMetaObject::activate(this, &staticMetaObject, 5, 0);
189 }
190
191 // SIGNAL 6
192 void OrgBluezHeadsetInterface::PropertyChanged(const QString & _t1, const QDBusVariant & _t2)
193 {
194     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
195     QMetaObject::activate(this, &staticMetaObject, 6, _a);
196 }
197
198 // SIGNAL 7
199 void OrgBluezHeadsetInterface::SpeakerGainChanged(ushort _t1)
200 {
201     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
202     QMetaObject::activate(this, &staticMetaObject, 7, _a);
203 }
204
205 // SIGNAL 8
206 void OrgBluezHeadsetInterface::Stopped()
207 {
208     QMetaObject::activate(this, &staticMetaObject, 8, 0);
209 }
210 QT_END_MOC_NAMESPACE