1 /****************************************************************************
2 ** Meta object code from reading C++ file 'audiosink.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 *****************************************************************************/
10 #include "audiosink.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'audiosink.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_OrgBluezAudioSinkInterface[] = {
33 // signals: signature, parameters, type, tag, flags
38 111, 27, 27, 27, 0x05,
40 // slots: signature, parameters, type, tag, flags
41 141, 27, 121, 27, 0x0a,
42 151, 27, 121, 27, 0x0a,
43 195, 27, 164, 27, 0x0a,
44 235, 27, 211, 27, 0x0a,
49 static const char qt_meta_stringdata_OrgBluezAudioSinkInterface[] = {
50 "OrgBluezAudioSinkInterface\0\0Connected()\0"
51 "Disconnected()\0Playing()\0in0,in1\0"
52 "PropertyChanged(QString,QDBusVariant)\0"
53 "Stopped()\0QDBusPendingReply<>\0Connect()\0"
54 "Disconnect()\0QDBusPendingReply<QVariantMap>\0"
55 "GetProperties()\0QDBusPendingReply<bool>\0"
59 const QMetaObject OrgBluezAudioSinkInterface::staticMetaObject = {
60 { &QDBusAbstractInterface::staticMetaObject, qt_meta_stringdata_OrgBluezAudioSinkInterface,
61 qt_meta_data_OrgBluezAudioSinkInterface, 0 }
64 #ifdef Q_NO_DATA_RELOCATION
65 const QMetaObject &OrgBluezAudioSinkInterface::getStaticMetaObject() { return staticMetaObject; }
66 #endif //Q_NO_DATA_RELOCATION
68 const QMetaObject *OrgBluezAudioSinkInterface::metaObject() const
70 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
73 void *OrgBluezAudioSinkInterface::qt_metacast(const char *_clname)
75 if (!_clname) return 0;
76 if (!strcmp(_clname, qt_meta_stringdata_OrgBluezAudioSinkInterface))
77 return static_cast<void*>(const_cast< OrgBluezAudioSinkInterface*>(this));
78 return QDBusAbstractInterface::qt_metacast(_clname);
81 int OrgBluezAudioSinkInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
83 _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
86 if (_c == QMetaObject::InvokeMetaMethod) {
88 case 0: Connected(); break;
89 case 1: Disconnected(); break;
90 case 2: Playing(); break;
91 case 3: PropertyChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusVariant(*)>(_a[2]))); break;
92 case 4: Stopped(); break;
93 case 5: { QDBusPendingReply<> _r = Connect();
94 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; } break;
95 case 6: { QDBusPendingReply<> _r = Disconnect();
96 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; } break;
97 case 7: { QDBusPendingReply<QVariantMap> _r = GetProperties();
98 if (_a[0]) *reinterpret_cast< QDBusPendingReply<QVariantMap>*>(_a[0]) = _r; } break;
99 case 8: { QDBusPendingReply<bool> _r = IsConnected();
100 if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = _r; } break;
109 void OrgBluezAudioSinkInterface::Connected()
111 QMetaObject::activate(this, &staticMetaObject, 0, 0);
115 void OrgBluezAudioSinkInterface::Disconnected()
117 QMetaObject::activate(this, &staticMetaObject, 1, 0);
121 void OrgBluezAudioSinkInterface::Playing()
123 QMetaObject::activate(this, &staticMetaObject, 2, 0);
127 void OrgBluezAudioSinkInterface::PropertyChanged(const QString & _t1, const QDBusVariant & _t2)
129 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
130 QMetaObject::activate(this, &staticMetaObject, 3, _a);
134 void OrgBluezAudioSinkInterface::Stopped()
136 QMetaObject::activate(this, &staticMetaObject, 4, 0);