added paired property
[profile/ivi/bluetooth-qt.git] / bluetooth-qt / moc_agentadaptor.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'agentadaptor.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 "agentadaptor.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'agentadaptor.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_AgentAdaptor[] = {
21
22  // content:
23        5,       // revision
24        0,       // classname
25        1,   14, // classinfo
26        8,   16, // methods
27        0,    0, // properties
28        0,    0, // enums/sets
29        0,    0, // constructors
30        0,       // flags
31        0,       // signalCount
32
33  // classinfo: key, value
34       29,   13,
35
36  // slots: signature, parameters, type, tag, flags
37       58,   46,   45,   45, 0x0a,
38       93,   45,   45,   45, 0x0a,
39      107,  102,   45,   45, 0x0a,
40      157,  134,   45,   45, 0x0a,
41      199,   45,   45,   45, 0x0a,
42      224,  209,   45,   45, 0x0a,
43      278,  271,  266,   45, 0x0a,
44      318,  271,  310,   45, 0x0a,
45
46        0        // eod
47 };
48
49 static const char qt_meta_stringdata_AgentAdaptor[] = {
50     "AgentAdaptor\0org.bluez.Agent\0"
51     "D-Bus Interface\0\0device,uuid\0"
52     "Authorize(QDBusObjectPath,QString)\0"
53     "Cancel()\0mode\0ConfirmModeChange(QString)\0"
54     "device,passkey,entered\0"
55     "DisplayPasskey(QDBusObjectPath,uint,uint)\0"
56     "Release()\0device,passkey\0"
57     "RequestConfirmation(QDBusObjectPath,uint)\0"
58     "uint\0device\0RequestPasskey(QDBusObjectPath)\0"
59     "QString\0RequestPinCode(QDBusObjectPath)\0"
60 };
61
62 const QMetaObject AgentAdaptor::staticMetaObject = {
63     { &QDBusAbstractAdaptor::staticMetaObject, qt_meta_stringdata_AgentAdaptor,
64       qt_meta_data_AgentAdaptor, 0 }
65 };
66
67 #ifdef Q_NO_DATA_RELOCATION
68 const QMetaObject &AgentAdaptor::getStaticMetaObject() { return staticMetaObject; }
69 #endif //Q_NO_DATA_RELOCATION
70
71 const QMetaObject *AgentAdaptor::metaObject() const
72 {
73     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
74 }
75
76 void *AgentAdaptor::qt_metacast(const char *_clname)
77 {
78     if (!_clname) return 0;
79     if (!strcmp(_clname, qt_meta_stringdata_AgentAdaptor))
80         return static_cast<void*>(const_cast< AgentAdaptor*>(this));
81     return QDBusAbstractAdaptor::qt_metacast(_clname);
82 }
83
84 int AgentAdaptor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
85 {
86     _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a);
87     if (_id < 0)
88         return _id;
89     if (_c == QMetaObject::InvokeMetaMethod) {
90         switch (_id) {
91         case 0: Authorize((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
92         case 1: Cancel(); break;
93         case 2: ConfirmModeChange((*reinterpret_cast< const QString(*)>(_a[1]))); break;
94         case 3: DisplayPasskey((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
95         case 4: Release(); break;
96         case 5: RequestConfirmation((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
97         case 6: { uint _r = RequestPasskey((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])));
98             if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
99         case 7: { QString _r = RequestPinCode((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])));
100             if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
101         default: ;
102         }
103         _id -= 8;
104     }
105     return _id;
106 }
107 QT_END_MOC_NAMESPACE