~ubuntu-branches/ubuntu/quantal/qgis/quantal

« back to all changes in this revision

Viewing changes to src/gui/qgsmaprender.moc.cpp

  • Committer: Bazaar Package Importer
  • Author(s): William Grant
  • Date: 2007-05-06 13:42:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070506134232-pyli6t388w5asd8x
Tags: 0.8.0-3ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules, debian/qgis.install, debian/qgis.dirs debian/qgis.desktop:
    Add and install .desktop.
* debian/qgis.desktop: Remove Applications category; it's not real.
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
** Meta object code from reading C++ file 'qgsmaprender.h'
 
3
**
 
4
** Created: Sat Dec 30 02:01:15 2006
 
5
**      by: The Qt Meta Object Compiler version 59 (Qt 4.2.2)
 
6
**
 
7
** WARNING! All changes made in this file will be lost!
 
8
*****************************************************************************/
 
9
 
 
10
#include "qgsmaprender.h"
 
11
#if !defined(Q_MOC_OUTPUT_REVISION)
 
12
#error "The header file 'qgsmaprender.h' doesn't include <QObject>."
 
13
#elif Q_MOC_OUTPUT_REVISION != 59
 
14
#error "This file was generated using the moc from 4.2.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
static const uint qt_meta_data_QgsMapRender[] = {
 
20
 
 
21
 // content:
 
22
       1,       // revision
 
23
       0,       // classname
 
24
       0,    0, // classinfo
 
25
       4,   10, // methods
 
26
       0,    0, // properties
 
27
       0,    0, // enums/sets
 
28
 
 
29
 // signals: signature, parameters, type, tag, flags
 
30
      28,   14,   13,   13, 0x05,
 
31
      53,   13,   13,   13, 0x05,
 
32
      65,   13,   13,   13, 0x05,
 
33
 
 
34
 // slots: signature, parameters, type, tag, flags
 
35
      89,   14,   13,   13, 0x0a,
 
36
 
 
37
       0        // eod
 
38
};
 
39
 
 
40
static const char qt_meta_stringdata_QgsMapRender[] = {
 
41
    "QgsMapRender\0\0current,total\0"
 
42
    "drawingProgress(int,int)\0updateMap()\0"
 
43
    "drawError(QgsMapLayer*)\0"
 
44
    "onDrawingProgress(int,int)\0"
 
45
};
 
46
 
 
47
const QMetaObject QgsMapRender::staticMetaObject = {
 
48
    { &QObject::staticMetaObject, qt_meta_stringdata_QgsMapRender,
 
49
      qt_meta_data_QgsMapRender, 0 }
 
50
};
 
51
 
 
52
const QMetaObject *QgsMapRender::metaObject() const
 
53
{
 
54
    return &staticMetaObject;
 
55
}
 
56
 
 
57
void *QgsMapRender::qt_metacast(const char *_clname)
 
58
{
 
59
    if (!_clname) return 0;
 
60
    if (!strcmp(_clname, qt_meta_stringdata_QgsMapRender))
 
61
        return static_cast<void*>(const_cast<QgsMapRender*>(this));
 
62
    return QObject::qt_metacast(_clname);
 
63
}
 
64
 
 
65
int QgsMapRender::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
 
66
{
 
67
    _id = QObject::qt_metacall(_c, _id, _a);
 
68
    if (_id < 0)
 
69
        return _id;
 
70
    if (_c == QMetaObject::InvokeMetaMethod) {
 
71
        switch (_id) {
 
72
        case 0: drawingProgress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
 
73
        case 1: updateMap(); break;
 
74
        case 2: drawError((*reinterpret_cast< QgsMapLayer*(*)>(_a[1]))); break;
 
75
        case 3: onDrawingProgress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
 
76
        }
 
77
        _id -= 4;
 
78
    }
 
79
    return _id;
 
80
}
 
81
 
 
82
// SIGNAL 0
 
83
void QgsMapRender::drawingProgress(int _t1, int _t2)
 
84
{
 
85
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
 
86
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
 
87
}
 
88
 
 
89
// SIGNAL 1
 
90
void QgsMapRender::updateMap()
 
91
{
 
92
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
 
93
}
 
94
 
 
95
// SIGNAL 2
 
96
void QgsMapRender::drawError(QgsMapLayer * _t1)
 
97
{
 
98
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
 
99
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
 
100
}