reorganized bluetooth-qt and added declarative plugin
[profile/ivi/bluetooth-qt.git] / bluetooth-qt / moc_blueadapter.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'blueadapter.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 "blueadapter.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'blueadapter.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_OrgBluezAdapterInterface[] = {
21
22  // content:
23        5,       // revision
24        0,       // classname
25        0,    0, // classinfo
26       19,   14, // methods
27        0,    0, // properties
28        0,    0, // enums/sets
29        0,    0, // constructors
30        0,       // flags
31        5,       // signalCount
32
33  // signals: signature, parameters, type, tag, flags
34       30,   26,   25,   25, 0x05,
35       61,   26,   25,   25, 0x05,
36       96,   88,   25,   25, 0x05,
37      129,   26,   25,   25, 0x05,
38      160,   88,   25,   25, 0x05,
39
40  // slots: signature, parameters, type, tag, flags
41      218,   26,  198,   25, 0x0a,
42      283,   26,  248,   25, 0x0a,
43      317,  305,  248,   25, 0x0a,
44      369,   26,  248,   25, 0x0a,
45      420,   25,  389,   25, 0x0a,
46      479,   25,  436,   25, 0x0a,
47      493,   88,  198,   25, 0x0a,
48      532,   25,  198,   25, 0x0a,
49      549,   26,  198,   25, 0x0a,
50      579,   25,  198,   25, 0x0a,
51      596,   88,  198,   25, 0x0a,
52      630,   25,  198,   25, 0x0a,
53      647,   25,  198,   25, 0x0a,
54      663,   26,  198,   25, 0x0a,
55
56        0        // eod
57 };
58
59 static const char qt_meta_stringdata_OrgBluezAdapterInterface[] = {
60     "OrgBluezAdapterInterface\0\0in0\0"
61     "DeviceCreated(QDBusObjectPath)\0"
62     "DeviceDisappeared(QString)\0in0,in1\0"
63     "DeviceFound(QString,QVariantMap)\0"
64     "DeviceRemoved(QDBusObjectPath)\0"
65     "PropertyChanged(QString,QDBusVariant)\0"
66     "QDBusPendingReply<>\0CancelDeviceCreation(QString)\0"
67     "QDBusPendingReply<QDBusObjectPath>\0"
68     "CreateDevice(QString)\0in0,in1,in2\0"
69     "CreatePairedDevice(QString,QDBusObjectPath,QString)\0"
70     "FindDevice(QString)\0QDBusPendingReply<QVariantMap>\0"
71     "GetProperties()\0"
72     "QDBusPendingReply<QList<QDBusObjectPath> >\0"
73     "ListDevices()\0RegisterAgent(QDBusObjectPath,QString)\0"
74     "ReleaseSession()\0RemoveDevice(QDBusObjectPath)\0"
75     "RequestSession()\0SetProperty(QString,QDBusVariant)\0"
76     "StartDiscovery()\0StopDiscovery()\0"
77     "UnregisterAgent(QDBusObjectPath)\0"
78 };
79
80 const QMetaObject OrgBluezAdapterInterface::staticMetaObject = {
81     { &QDBusAbstractInterface::staticMetaObject, qt_meta_stringdata_OrgBluezAdapterInterface,
82       qt_meta_data_OrgBluezAdapterInterface, 0 }
83 };
84
85 #ifdef Q_NO_DATA_RELOCATION
86 const QMetaObject &OrgBluezAdapterInterface::getStaticMetaObject() { return staticMetaObject; }
87 #endif //Q_NO_DATA_RELOCATION
88
89 const QMetaObject *OrgBluezAdapterInterface::metaObject() const
90 {
91     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
92 }
93
94 void *OrgBluezAdapterInterface::qt_metacast(const char *_clname)
95 {
96     if (!_clname) return 0;
97     if (!strcmp(_clname, qt_meta_stringdata_OrgBluezAdapterInterface))
98         return static_cast<void*>(const_cast< OrgBluezAdapterInterface*>(this));
99     return QDBusAbstractInterface::qt_metacast(_clname);
100 }
101
102 int OrgBluezAdapterInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
103 {
104     _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
105     if (_id < 0)
106         return _id;
107     if (_c == QMetaObject::InvokeMetaMethod) {
108         switch (_id) {
109         case 0: DeviceCreated((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1]))); break;
110         case 1: DeviceDisappeared((*reinterpret_cast< const QString(*)>(_a[1]))); break;
111         case 2: DeviceFound((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariantMap(*)>(_a[2]))); break;
112         case 3: DeviceRemoved((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1]))); break;
113         case 4: PropertyChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusVariant(*)>(_a[2]))); break;
114         case 5: { QDBusPendingReply<> _r = CancelDeviceCreation((*reinterpret_cast< const QString(*)>(_a[1])));
115             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
116         case 6: { QDBusPendingReply<QDBusObjectPath> _r = CreateDevice((*reinterpret_cast< const QString(*)>(_a[1])));
117             if (_a[0]) *reinterpret_cast< QDBusPendingReply<QDBusObjectPath>*>(_a[0]) = _r; }  break;
118         case 7: { QDBusPendingReply<QDBusObjectPath> _r = CreatePairedDevice((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusObjectPath(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])));
119             if (_a[0]) *reinterpret_cast< QDBusPendingReply<QDBusObjectPath>*>(_a[0]) = _r; }  break;
120         case 8: { QDBusPendingReply<QDBusObjectPath> _r = FindDevice((*reinterpret_cast< const QString(*)>(_a[1])));
121             if (_a[0]) *reinterpret_cast< QDBusPendingReply<QDBusObjectPath>*>(_a[0]) = _r; }  break;
122         case 9: { QDBusPendingReply<QVariantMap> _r = GetProperties();
123             if (_a[0]) *reinterpret_cast< QDBusPendingReply<QVariantMap>*>(_a[0]) = _r; }  break;
124         case 10: { QDBusPendingReply<QList<QDBusObjectPath> > _r = ListDevices();
125             if (_a[0]) *reinterpret_cast< QDBusPendingReply<QList<QDBusObjectPath> >*>(_a[0]) = _r; }  break;
126         case 11: { QDBusPendingReply<> _r = RegisterAgent((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
127             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
128         case 12: { QDBusPendingReply<> _r = ReleaseSession();
129             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
130         case 13: { QDBusPendingReply<> _r = RemoveDevice((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])));
131             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
132         case 14: { QDBusPendingReply<> _r = RequestSession();
133             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
134         case 15: { QDBusPendingReply<> _r = SetProperty((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusVariant(*)>(_a[2])));
135             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
136         case 16: { QDBusPendingReply<> _r = StartDiscovery();
137             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
138         case 17: { QDBusPendingReply<> _r = StopDiscovery();
139             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
140         case 18: { QDBusPendingReply<> _r = UnregisterAgent((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])));
141             if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
142         default: ;
143         }
144         _id -= 19;
145     }
146     return _id;
147 }
148
149 // SIGNAL 0
150 void OrgBluezAdapterInterface::DeviceCreated(const QDBusObjectPath & _t1)
151 {
152     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
153     QMetaObject::activate(this, &staticMetaObject, 0, _a);
154 }
155
156 // SIGNAL 1
157 void OrgBluezAdapterInterface::DeviceDisappeared(const QString & _t1)
158 {
159     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
160     QMetaObject::activate(this, &staticMetaObject, 1, _a);
161 }
162
163 // SIGNAL 2
164 void OrgBluezAdapterInterface::DeviceFound(const QString & _t1, const QVariantMap & _t2)
165 {
166     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
167     QMetaObject::activate(this, &staticMetaObject, 2, _a);
168 }
169
170 // SIGNAL 3
171 void OrgBluezAdapterInterface::DeviceRemoved(const QDBusObjectPath & _t1)
172 {
173     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
174     QMetaObject::activate(this, &staticMetaObject, 3, _a);
175 }
176
177 // SIGNAL 4
178 void OrgBluezAdapterInterface::PropertyChanged(const QString & _t1, const QDBusVariant & _t2)
179 {
180     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
181     QMetaObject::activate(this, &staticMetaObject, 4, _a);
182 }
183 QT_END_MOC_NAMESPACE