1 /****************************************************************************
2 ** Meta object code from reading C++ file 'headset.h'
4 ** Created: Wed May 25 10:17:40 2011
5 ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.2)
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
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.)"
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_OrgBluezHeadsetInterface[] = {
33 // signals: signature, parameters, type, tag, flags
39 122, 25, 25, 25, 0x05,
40 140, 132, 25, 25, 0x05,
41 178, 88, 25, 25, 0x05,
42 205, 25, 25, 25, 0x05,
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,
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"
81 const QMetaObject OrgBluezHeadsetInterface::staticMetaObject = {
82 { &QDBusAbstractInterface::staticMetaObject, qt_meta_stringdata_OrgBluezHeadsetInterface,
83 qt_meta_data_OrgBluezHeadsetInterface, 0 }
86 #ifdef Q_NO_DATA_RELOCATION
87 const QMetaObject &OrgBluezHeadsetInterface::getStaticMetaObject() { return staticMetaObject; }
88 #endif //Q_NO_DATA_RELOCATION
90 const QMetaObject *OrgBluezHeadsetInterface::metaObject() const
92 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
95 void *OrgBluezHeadsetInterface::qt_metacast(const char *_clname)
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);
103 int OrgBluezHeadsetInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
105 _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
108 if (_c == QMetaObject::InvokeMetaMethod) {
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;
155 void OrgBluezHeadsetInterface::AnswerRequested()
157 QMetaObject::activate(this, &staticMetaObject, 0, 0);
161 void OrgBluezHeadsetInterface::CallTerminated()
163 QMetaObject::activate(this, &staticMetaObject, 1, 0);
167 void OrgBluezHeadsetInterface::Connected()
169 QMetaObject::activate(this, &staticMetaObject, 2, 0);
173 void OrgBluezHeadsetInterface::Disconnected()
175 QMetaObject::activate(this, &staticMetaObject, 3, 0);
179 void OrgBluezHeadsetInterface::MicrophoneGainChanged(ushort _t1)
181 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
182 QMetaObject::activate(this, &staticMetaObject, 4, _a);
186 void OrgBluezHeadsetInterface::Playing()
188 QMetaObject::activate(this, &staticMetaObject, 5, 0);
192 void OrgBluezHeadsetInterface::PropertyChanged(const QString & _t1, const QDBusVariant & _t2)
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);
199 void OrgBluezHeadsetInterface::SpeakerGainChanged(ushort _t1)
201 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
202 QMetaObject::activate(this, &staticMetaObject, 7, _a);
206 void OrgBluezHeadsetInterface::Stopped()
208 QMetaObject::activate(this, &staticMetaObject, 8, 0);