1
/****************************************************************************
2
** Meta object code from reading C++ file 'KCupsRequest.h'
4
** Created: Wed Aug 15 18:06:05 2012
5
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2)
7
** WARNING! All changes made in this file will be lost!
8
*****************************************************************************/
10
#include "../../libkcups/KCupsRequest.h"
11
#if !defined(Q_MOC_OUTPUT_REVISION)
12
#error "The header file 'KCupsRequest.h' doesn't include <QObject>."
13
#elif Q_MOC_OUTPUT_REVISION != 63
14
#error "This file was generated using the moc from 4.8.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_KCupsRequest[] = {
33
// signals: signature, parameters, type, tag, flags
35
154, 13, 13, 13, 0x05,
37
// methods: signature, parameters, type, tag, flags
38
170, 165, 13, 13, 0x02,
39
187, 13, 13, 13, 0x22,
40
205, 197, 13, 13, 0x02,
41
242, 221, 13, 13, 0x02,
42
291, 280, 13, 13, 0x22,
43
332, 316, 13, 13, 0x02,
44
401, 370, 13, 13, 0x02,
45
488, 448, 13, 13, 0x02,
46
554, 526, 13, 13, 0x02,
47
603, 596, 13, 13, 0x02,
48
654, 639, 13, 13, 0x02,
49
682, 13, 13, 13, 0x02,
50
714, 702, 13, 13, 0x02,
51
744, 737, 13, 13, 0x02,
52
801, 775, 13, 13, 0x02,
53
866, 839, 13, 13, 0x00,
58
static const char qt_meta_stringdata_KCupsRequest[] = {
60
"device_class,device_id,device_info,device_make_and_model,device_uri,de"
62
"device(QString,QString,QString,QString,QString,QString)\0"
63
"finished()\0make\0getPPDS(QString)\0"
64
"getPPDS()\0timeout\0getDevices(int)\0"
65
"attributes,arguments\0"
66
"getPrinters(QStringList,QVariantHash)\0"
67
"attributes\0getPrinters(QStringList)\0"
68
"attributes,mask\0getPrinters(QStringList,cups_ptype_t)\0"
69
"printerName,isClass,attributes\0"
70
"getPrinterAttributes(QString,bool,QStringList)\0"
71
"printerName,myJobs,whichJobs,attributes\0"
72
"getJobs(QString,bool,int,QStringList)\0"
73
"jobId,printerUri,attributes\0"
74
"getJobAttributes(int,QString,QStringList)\0"
75
"events\0createDBusSubscription(QStringList)\0"
76
"subscriptionId\0cancelDBusSubscription(int)\0"
77
"getServerSettings()\0printerName\0"
78
"getPrinterPPD(QString)\0server\0"
79
"setServerSettings(KCupsServer)\0"
80
"printerName,command,title\0"
81
"printCommand(QString,QString,QString)\0"
82
"operation,resource,request\0"
83
"doOperation(int,QString,QVariantHash)\0"
86
void KCupsRequest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
88
if (_c == QMetaObject::InvokeMetaMethod) {
89
Q_ASSERT(staticMetaObject.cast(_o));
90
KCupsRequest *_t = static_cast<KCupsRequest *>(_o);
92
case 0: _t->device((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5])),(*reinterpret_cast< const QString(*)>(_a[6]))); break;
93
case 1: _t->finished(); break;
94
case 2: _t->getPPDS((*reinterpret_cast< const QString(*)>(_a[1]))); break;
95
case 3: _t->getPPDS(); break;
96
case 4: _t->getDevices((*reinterpret_cast< int(*)>(_a[1]))); break;
97
case 5: _t->getPrinters((*reinterpret_cast< QStringList(*)>(_a[1])),(*reinterpret_cast< const QVariantHash(*)>(_a[2]))); break;
98
case 6: _t->getPrinters((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
99
case 7: _t->getPrinters((*reinterpret_cast< QStringList(*)>(_a[1])),(*reinterpret_cast< cups_ptype_t(*)>(_a[2]))); break;
100
case 8: _t->getPrinterAttributes((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< QStringList(*)>(_a[3]))); break;
101
case 9: _t->getJobs((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< QStringList(*)>(_a[4]))); break;
102
case 10: _t->getJobAttributes((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< QStringList(*)>(_a[3]))); break;
103
case 11: _t->createDBusSubscription((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
104
case 12: _t->cancelDBusSubscription((*reinterpret_cast< int(*)>(_a[1]))); break;
105
case 13: _t->getServerSettings(); break;
106
case 14: _t->getPrinterPPD((*reinterpret_cast< const QString(*)>(_a[1]))); break;
107
case 15: _t->setServerSettings((*reinterpret_cast< const KCupsServer(*)>(_a[1]))); break;
108
case 16: _t->printCommand((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
109
case 17: _t->doOperation((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QVariantHash(*)>(_a[3]))); break;
115
const QMetaObjectExtraData KCupsRequest::staticMetaObjectExtraData = {
116
0, qt_static_metacall
119
const QMetaObject KCupsRequest::staticMetaObject = {
120
{ &QObject::staticMetaObject, qt_meta_stringdata_KCupsRequest,
121
qt_meta_data_KCupsRequest, &staticMetaObjectExtraData }
124
#ifdef Q_NO_DATA_RELOCATION
125
const QMetaObject &KCupsRequest::getStaticMetaObject() { return staticMetaObject; }
126
#endif //Q_NO_DATA_RELOCATION
128
const QMetaObject *KCupsRequest::metaObject() const
130
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
133
void *KCupsRequest::qt_metacast(const char *_clname)
135
if (!_clname) return 0;
136
if (!strcmp(_clname, qt_meta_stringdata_KCupsRequest))
137
return static_cast<void*>(const_cast< KCupsRequest*>(this));
138
return QObject::qt_metacast(_clname);
141
int KCupsRequest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
143
_id = QObject::qt_metacall(_c, _id, _a);
146
if (_c == QMetaObject::InvokeMetaMethod) {
148
qt_static_metacall(this, _c, _id, _a);
155
void KCupsRequest::device(const QString & _t1, const QString & _t2, const QString & _t3, const QString & _t4, const QString & _t5, const QString & _t6)
157
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)), const_cast<void*>(reinterpret_cast<const void*>(&_t6)) };
158
QMetaObject::activate(this, &staticMetaObject, 0, _a);
162
void KCupsRequest::finished()
164
QMetaObject::activate(this, &staticMetaObject, 1, 0);