936749654d26e041a06d1391ed99f698f50de800
[profile/ivi/bluetooth-qt.git] / bluetooth-qt / moc_bluedevice.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'bluedevice.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 "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.)"
17 #endif
18
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_OrgBluezDeviceInterface[] = {
21
22  // content:
23        5,       // revision
24        0,       // classname
25        0,    0, // classinfo
26        7,   14, // methods
27        0,    0, // 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       25,   24,   24,   24, 0x05,
35       55,   47,   24,   24, 0x05,
36
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,
43
44        0        // eod
45 };
46
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"
55 };
56
57 const QMetaObject OrgBluezDeviceInterface::staticMetaObject = {
58     { &QDBusAbstractInterface::staticMetaObject, qt_meta_stringdata_OrgBluezDeviceInterface,
59       qt_meta_data_OrgBluezDeviceInterface, 0 }
60 };
61
62 #ifdef Q_NO_DATA_RELOCATION
63 const QMetaObject &OrgBluezDeviceInterface::getStaticMetaObject() { return staticMetaObject; }
64 #endif //Q_NO_DATA_RELOCATION
65
66 const QMetaObject *OrgBluezDeviceInterface::metaObject() const
67 {
68     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
69 }
70
71 void *OrgBluezDeviceInterface::qt_metacast(const char *_clname)
72 {
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);
77 }
78
79 int OrgBluezDeviceInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
80 {
81     _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
82     if (_id < 0)
83         return _id;
84     if (_c == QMetaObject::InvokeMetaMethod) {
85         switch (_id) {
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;
98         default: ;
99         }
100         _id -= 7;
101     }
102     return _id;
103 }
104
105 // SIGNAL 0
106 void OrgBluezDeviceInterface::DisconnectRequested()
107 {
108     QMetaObject::activate(this, &staticMetaObject, 0, 0);
109 }
110
111 // SIGNAL 1
112 void OrgBluezDeviceInterface::PropertyChanged(const QString & _t1, const QDBusVariant & _t2)
113 {
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);
116 }
117 QT_END_MOC_NAMESPACE