added paired property
[profile/ivi/bluetooth-qt.git] / bluetooth-qt / moc_audiosink.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'audiosink.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 "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.)"
17 #endif
18
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_OrgBluezAudioSinkInterface[] = {
21
22  // content:
23        5,       // revision
24        0,       // classname
25        0,    0, // classinfo
26        9,   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       28,   27,   27,   27, 0x05,
35       40,   27,   27,   27, 0x05,
36       55,   27,   27,   27, 0x05,
37       73,   65,   27,   27, 0x05,
38      111,   27,   27,   27, 0x05,
39
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,
45
46        0        // eod
47 };
48
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"
56     "IsConnected()\0"
57 };
58
59 const QMetaObject OrgBluezAudioSinkInterface::staticMetaObject = {
60     { &QDBusAbstractInterface::staticMetaObject, qt_meta_stringdata_OrgBluezAudioSinkInterface,
61       qt_meta_data_OrgBluezAudioSinkInterface, 0 }
62 };
63
64 #ifdef Q_NO_DATA_RELOCATION
65 const QMetaObject &OrgBluezAudioSinkInterface::getStaticMetaObject() { return staticMetaObject; }
66 #endif //Q_NO_DATA_RELOCATION
67
68 const QMetaObject *OrgBluezAudioSinkInterface::metaObject() const
69 {
70     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
71 }
72
73 void *OrgBluezAudioSinkInterface::qt_metacast(const char *_clname)
74 {
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);
79 }
80
81 int OrgBluezAudioSinkInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
82 {
83     _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
84     if (_id < 0)
85         return _id;
86     if (_c == QMetaObject::InvokeMetaMethod) {
87         switch (_id) {
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;
101         default: ;
102         }
103         _id -= 9;
104     }
105     return _id;
106 }
107
108 // SIGNAL 0
109 void OrgBluezAudioSinkInterface::Connected()
110 {
111     QMetaObject::activate(this, &staticMetaObject, 0, 0);
112 }
113
114 // SIGNAL 1
115 void OrgBluezAudioSinkInterface::Disconnected()
116 {
117     QMetaObject::activate(this, &staticMetaObject, 1, 0);
118 }
119
120 // SIGNAL 2
121 void OrgBluezAudioSinkInterface::Playing()
122 {
123     QMetaObject::activate(this, &staticMetaObject, 2, 0);
124 }
125
126 // SIGNAL 3
127 void OrgBluezAudioSinkInterface::PropertyChanged(const QString & _t1, const QDBusVariant & _t2)
128 {
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);
131 }
132
133 // SIGNAL 4
134 void OrgBluezAudioSinkInterface::Stopped()
135 {
136     QMetaObject::activate(this, &staticMetaObject, 4, 0);
137 }
138 QT_END_MOC_NAMESPACE