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

« back to all changes in this revision

Viewing changes to build/printqueue/PrintQueueInterface.moc

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-08-21 12:30:49 UTC
  • mto: (1.3.2)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: package-import@ubuntu.com-20120821123049-c8uky0a9gmfkck87
Tags: upstream-0.1.0+git20120821
ImportĀ upstreamĀ versionĀ 0.1.0+git20120821

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
** Meta object code from reading C++ file 'PrintQueueInterface.h'
 
3
**
 
4
** Created: Wed Aug 15 18:07: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 "../../printqueue/PrintQueueInterface.h"
 
11
#if !defined(Q_MOC_OUTPUT_REVISION)
 
12
#error "The header file 'PrintQueueInterface.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_PrintQueueInterface[] = {
 
21
 
 
22
 // content:
 
23
       6,       // revision
 
24
       0,       // classname
 
25
       1,   14, // classinfo
 
26
       3,   16, // methods
 
27
       0,    0, // properties
 
28
       0,    0, // enums/sets
 
29
       0,    0, // constructors
 
30
       0,       // flags
 
31
       1,       // signalCount
 
32
 
 
33
 // classinfo: key, value
 
34
      39,   20,
 
35
 
 
36
 // signals: signature, parameters, type, tag, flags
 
37
      56,   55,   55,   55, 0x05,
 
38
 
 
39
 // slots: signature, parameters, type, tag, flags
 
40
      72,   63,   55,   55, 0x0a,
 
41
      91,   55,   55,   55, 0x0a,
 
42
 
 
43
       0        // eod
 
44
};
 
45
 
 
46
static const char qt_meta_stringdata_PrintQueueInterface[] = {
 
47
    "PrintQueueInterface\0org.kde.PrintQueue\0"
 
48
    "D-Bus Interface\0\0quit()\0destName\0"
 
49
    "ShowQueue(QString)\0RemoveQueue()\0"
 
50
};
 
51
 
 
52
void PrintQueueInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
 
53
{
 
54
    if (_c == QMetaObject::InvokeMetaMethod) {
 
55
        Q_ASSERT(staticMetaObject.cast(_o));
 
56
        PrintQueueInterface *_t = static_cast<PrintQueueInterface *>(_o);
 
57
        switch (_id) {
 
58
        case 0: _t->quit(); break;
 
59
        case 1: _t->ShowQueue((*reinterpret_cast< const QString(*)>(_a[1]))); break;
 
60
        case 2: _t->RemoveQueue(); break;
 
61
        default: ;
 
62
        }
 
63
    }
 
64
}
 
65
 
 
66
const QMetaObjectExtraData PrintQueueInterface::staticMetaObjectExtraData = {
 
67
    0,  qt_static_metacall 
 
68
};
 
69
 
 
70
const QMetaObject PrintQueueInterface::staticMetaObject = {
 
71
    { &QObject::staticMetaObject, qt_meta_stringdata_PrintQueueInterface,
 
72
      qt_meta_data_PrintQueueInterface, &staticMetaObjectExtraData }
 
73
};
 
74
 
 
75
#ifdef Q_NO_DATA_RELOCATION
 
76
const QMetaObject &PrintQueueInterface::getStaticMetaObject() { return staticMetaObject; }
 
77
#endif //Q_NO_DATA_RELOCATION
 
78
 
 
79
const QMetaObject *PrintQueueInterface::metaObject() const
 
80
{
 
81
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
 
82
}
 
83
 
 
84
void *PrintQueueInterface::qt_metacast(const char *_clname)
 
85
{
 
86
    if (!_clname) return 0;
 
87
    if (!strcmp(_clname, qt_meta_stringdata_PrintQueueInterface))
 
88
        return static_cast<void*>(const_cast< PrintQueueInterface*>(this));
 
89
    if (!strcmp(_clname, "QDBusContext"))
 
90
        return static_cast< QDBusContext*>(const_cast< PrintQueueInterface*>(this));
 
91
    return QObject::qt_metacast(_clname);
 
92
}
 
93
 
 
94
int PrintQueueInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
 
95
{
 
96
    _id = QObject::qt_metacall(_c, _id, _a);
 
97
    if (_id < 0)
 
98
        return _id;
 
99
    if (_c == QMetaObject::InvokeMetaMethod) {
 
100
        if (_id < 3)
 
101
            qt_static_metacall(this, _c, _id, _a);
 
102
        _id -= 3;
 
103
    }
 
104
    return _id;
 
105
}
 
106
 
 
107
// SIGNAL 0
 
108
void PrintQueueInterface::quit()
 
109
{
 
110
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
 
111
}
 
112
QT_END_MOC_NAMESPACE