~ubuntu-branches/ubuntu/hardy/qgis/hardy

« back to all changes in this revision

Viewing changes to src/composer/qgscomposition.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 'qgscomposition.h'
 
3
**
 
4
** Created: Sat Dec 30 02:00:41 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 "qgscomposition.h"
 
11
#if !defined(Q_MOC_OUTPUT_REVISION)
 
12
#error "The header file 'qgscomposition.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_QgsComposition[] = {
 
20
 
 
21
 // content:
 
22
       1,       // revision
 
23
       0,       // classname
 
24
       0,    0, // classinfo
 
25
       3,   10, // methods
 
26
       0,    0, // properties
 
27
       0,    0, // enums/sets
 
28
 
 
29
 // signals: signature, parameters, type, tag, flags
 
30
      19,   16,   15,   15, 0x05,
 
31
 
 
32
 // slots: signature, parameters, type, tag, flags
 
33
      35,   15,   15,   15, 0x0a,
 
34
      54,   15,   15,   15, 0x0a,
 
35
 
 
36
       0        // eod
 
37
};
 
38
 
 
39
static const char qt_meta_stringdata_QgsComposition[] = {
 
40
    "QgsComposition\0\0id\0mapChanged(int)\0"
 
41
    "paperSizeChanged()\0resolutionChanged()\0"
 
42
};
 
43
 
 
44
const QMetaObject QgsComposition::staticMetaObject = {
 
45
    { &QWidget::staticMetaObject, qt_meta_stringdata_QgsComposition,
 
46
      qt_meta_data_QgsComposition, 0 }
 
47
};
 
48
 
 
49
const QMetaObject *QgsComposition::metaObject() const
 
50
{
 
51
    return &staticMetaObject;
 
52
}
 
53
 
 
54
void *QgsComposition::qt_metacast(const char *_clname)
 
55
{
 
56
    if (!_clname) return 0;
 
57
    if (!strcmp(_clname, qt_meta_stringdata_QgsComposition))
 
58
        return static_cast<void*>(const_cast<QgsComposition*>(this));
 
59
    return QWidget::qt_metacast(_clname);
 
60
}
 
61
 
 
62
int QgsComposition::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
 
63
{
 
64
    _id = QWidget::qt_metacall(_c, _id, _a);
 
65
    if (_id < 0)
 
66
        return _id;
 
67
    if (_c == QMetaObject::InvokeMetaMethod) {
 
68
        switch (_id) {
 
69
        case 0: mapChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
 
70
        case 1: paperSizeChanged(); break;
 
71
        case 2: resolutionChanged(); break;
 
72
        }
 
73
        _id -= 3;
 
74
    }
 
75
    return _id;
 
76
}
 
77
 
 
78
// SIGNAL 0
 
79
void QgsComposition::mapChanged(int _t1)
 
80
{
 
81
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
 
82
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
 
83
}