1 /****************************************************************************
2 ** Meta object code from reading C++ file 'bluedevice.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 "bluedevice.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'bluedevice.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_OrgBluezDeviceInterface[] = {
33 // signals: signature, parameters, type, tag, flags
37 // slots: signature, parameters, type, tag, flags
38 113, 24, 93, 24, 0x0a,
39 131, 24, 93, 24, 0x0a,
40 181, 177, 144, 24, 0x0a,
41 238, 24, 207, 24, 0x0a,
42 254, 47, 93, 24, 0x0a,
47 static const char qt_meta_stringdata_OrgBluezDeviceInterface[] = {
48 "OrgBluezDeviceInterface\0\0DisconnectRequested()\0"
49 "in0,in1\0PropertyChanged(QString,QDBusVariant)\0"
50 "QDBusPendingReply<>\0CancelDiscovery()\0"
51 "Disconnect()\0QDBusPendingReply<UIntStringMap>\0"
52 "in0\0DiscoverServices(QString)\0"
53 "QDBusPendingReply<QVariantMap>\0"
54 "GetProperties()\0SetProperty(QString,QDBusVariant)\0"
57 const QMetaObject OrgBluezDeviceInterface::staticMetaObject = {
58 { &QDBusAbstractInterface::staticMetaObject, qt_meta_stringdata_OrgBluezDeviceInterface,
59 qt_meta_data_OrgBluezDeviceInterface, 0 }
62 #ifdef Q_NO_DATA_RELOCATION
63 const QMetaObject &OrgBluezDeviceInterface::getStaticMetaObject() { return staticMetaObject; }
64 #endif //Q_NO_DATA_RELOCATION
66 const QMetaObject *OrgBluezDeviceInterface::metaObject() const
68 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
71 void *OrgBluezDeviceInterface::qt_metacast(const char *_clname)
73 if (!_clname) return 0;
74 if (!strcmp(_clname, qt_meta_stringdata_OrgBluezDeviceInterface))
75 return static_cast<void*>(const_cast< OrgBluezDeviceInterface*>(this));
76 return QDBusAbstractInterface::qt_metacast(_clname);
79 int OrgBluezDeviceInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
81 _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
84 if (_c == QMetaObject::InvokeMetaMethod) {
86 case 0: DisconnectRequested(); break;
87 case 1: PropertyChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusVariant(*)>(_a[2]))); break;
88 case 2: { QDBusPendingReply<> _r = CancelDiscovery();
89 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; } break;
90 case 3: { QDBusPendingReply<> _r = Disconnect();
91 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; } break;
92 case 4: { QDBusPendingReply<UIntStringMap> _r = DiscoverServices((*reinterpret_cast< const QString(*)>(_a[1])));
93 if (_a[0]) *reinterpret_cast< QDBusPendingReply<UIntStringMap>*>(_a[0]) = _r; } break;
94 case 5: { QDBusPendingReply<QVariantMap> _r = GetProperties();
95 if (_a[0]) *reinterpret_cast< QDBusPendingReply<QVariantMap>*>(_a[0]) = _r; } break;
96 case 6: { QDBusPendingReply<> _r = SetProperty((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusVariant(*)>(_a[2])));
97 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; } break;
106 void OrgBluezDeviceInterface::DisconnectRequested()
108 QMetaObject::activate(this, &staticMetaObject, 0, 0);
112 void OrgBluezDeviceInterface::PropertyChanged(const QString & _t1, const QDBusVariant & _t2)
114 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
115 QMetaObject::activate(this, &staticMetaObject, 1, _a);