~ubuntu-branches/ubuntu/saucy/print-manager/saucy-proposed

« back to all changes in this revision

Viewing changes to build/libkcups/moc_KCupsRequest.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-08-23 15:47:14 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120823154714-2kfgr4ml10d3bvwk
Tags: 0.2.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/****************************************************************************
2
 
** Meta object code from reading C++ file 'KCupsRequest.h'
3
 
**
4
 
** Created: Wed Aug 15 18:06:05 2012
5
 
**      by: The Qt Meta Object Compiler version 63 (Qt 4.8.2)
6
 
**
7
 
** WARNING! All changes made in this file will be lost!
8
 
*****************************************************************************/
9
 
 
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.)"
17
 
#endif
18
 
 
19
 
QT_BEGIN_MOC_NAMESPACE
20
 
static const uint qt_meta_data_KCupsRequest[] = {
21
 
 
22
 
 // content:
23
 
       6,       // revision
24
 
       0,       // classname
25
 
       0,    0, // classinfo
26
 
      18,   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
 
      98,   14,   13,   13, 0x05,
35
 
     154,   13,   13,   13, 0x05,
36
 
 
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,
54
 
 
55
 
       0        // eod
56
 
};
57
 
 
58
 
static const char qt_meta_stringdata_KCupsRequest[] = {
59
 
    "KCupsRequest\0\0"
60
 
    "device_class,device_id,device_info,device_make_and_model,device_uri,de"
61
 
    "vice_location\0"
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"
84
 
};
85
 
 
86
 
void KCupsRequest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
87
 
{
88
 
    if (_c == QMetaObject::InvokeMetaMethod) {
89
 
        Q_ASSERT(staticMetaObject.cast(_o));
90
 
        KCupsRequest *_t = static_cast<KCupsRequest *>(_o);
91
 
        switch (_id) {
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;
110
 
        default: ;
111
 
        }
112
 
    }
113
 
}
114
 
 
115
 
const QMetaObjectExtraData KCupsRequest::staticMetaObjectExtraData = {
116
 
    0,  qt_static_metacall 
117
 
};
118
 
 
119
 
const QMetaObject KCupsRequest::staticMetaObject = {
120
 
    { &QObject::staticMetaObject, qt_meta_stringdata_KCupsRequest,
121
 
      qt_meta_data_KCupsRequest, &staticMetaObjectExtraData }
122
 
};
123
 
 
124
 
#ifdef Q_NO_DATA_RELOCATION
125
 
const QMetaObject &KCupsRequest::getStaticMetaObject() { return staticMetaObject; }
126
 
#endif //Q_NO_DATA_RELOCATION
127
 
 
128
 
const QMetaObject *KCupsRequest::metaObject() const
129
 
{
130
 
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
131
 
}
132
 
 
133
 
void *KCupsRequest::qt_metacast(const char *_clname)
134
 
{
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);
139
 
}
140
 
 
141
 
int KCupsRequest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
142
 
{
143
 
    _id = QObject::qt_metacall(_c, _id, _a);
144
 
    if (_id < 0)
145
 
        return _id;
146
 
    if (_c == QMetaObject::InvokeMetaMethod) {
147
 
        if (_id < 18)
148
 
            qt_static_metacall(this, _c, _id, _a);
149
 
        _id -= 18;
150
 
    }
151
 
    return _id;
152
 
}
153
 
 
154
 
// SIGNAL 0
155
 
void KCupsRequest::device(const QString & _t1, const QString & _t2, const QString & _t3, const QString & _t4, const QString & _t5, const QString & _t6)
156
 
{
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);
159
 
}
160
 
 
161
 
// SIGNAL 1
162
 
void KCupsRequest::finished()
163
 
{
164
 
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
165
 
}
166
 
QT_END_MOC_NAMESPACE