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

« back to all changes in this revision

Viewing changes to src/gui/qgsprojectproperties.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 'qgsprojectproperties.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 "qgsprojectproperties.h"
 
11
#if !defined(Q_MOC_OUTPUT_REVISION)
 
12
#error "The header file 'qgsprojectproperties.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_QgsProjectProperties[] = {
 
20
 
 
21
 // content:
 
22
       1,       // revision
 
23
       0,       // classname
 
24
       0,    0, // classinfo
 
25
      12,   10, // methods
 
26
       0,    0, // properties
 
27
       0,    0, // enums/sets
 
28
 
 
29
 // signals: signature, parameters, type, tag, flags
 
30
      31,   22,   21,   21, 0x05,
 
31
      50,   21,   21,   21, 0x05,
 
32
      76,   21,   21,   21, 0x05,
 
33
      94,   21,   21,   21, 0x05,
 
34
     104,   21,   21,   21, 0x05,
 
35
 
 
36
 // slots: signature, parameters, type, tag, flags
 
37
     128,   21,   21,   21, 0x0a,
 
38
     136,   21,   21,   21, 0x0a,
 
39
     145,   21,   21,   21, 0x0a,
 
40
     166,   21,   21,   21, 0x0a,
 
41
     202,   21,   21,   21, 0x0a,
 
42
     234,   21,   21,   21, 0x0a,
 
43
     262,   21,   21,   21, 0x0a,
 
44
 
 
45
       0        // eod
 
46
};
 
47
 
 
48
static const char qt_meta_stringdata_QgsProjectProperties[] = {
 
49
    "QgsProjectProperties\0\0theSRSID\0"
 
50
    "setDestSRSID(long)\0displayPrecisionChanged()\0"
 
51
    "mapUnitsChanged()\0refresh()\0"
 
52
    "projectionEnabled(bool)\0apply()\0"
 
53
    "accept()\0showProjectionsTab()\0"
 
54
    "on_pbnDigitisedLineColour_clicked()\0"
 
55
    "on_pbnSelectionColour_clicked()\0"
 
56
    "on_pbnCanvasColor_clicked()\0"
 
57
    "on_pbnHelp_clicked()\0"
 
58
};
 
59
 
 
60
const QMetaObject QgsProjectProperties::staticMetaObject = {
 
61
    { &QDialog::staticMetaObject, qt_meta_stringdata_QgsProjectProperties,
 
62
      qt_meta_data_QgsProjectProperties, 0 }
 
63
};
 
64
 
 
65
const QMetaObject *QgsProjectProperties::metaObject() const
 
66
{
 
67
    return &staticMetaObject;
 
68
}
 
69
 
 
70
void *QgsProjectProperties::qt_metacast(const char *_clname)
 
71
{
 
72
    if (!_clname) return 0;
 
73
    if (!strcmp(_clname, qt_meta_stringdata_QgsProjectProperties))
 
74
        return static_cast<void*>(const_cast<QgsProjectProperties*>(this));
 
75
    return QDialog::qt_metacast(_clname);
 
76
}
 
77
 
 
78
int QgsProjectProperties::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
 
79
{
 
80
    _id = QDialog::qt_metacall(_c, _id, _a);
 
81
    if (_id < 0)
 
82
        return _id;
 
83
    if (_c == QMetaObject::InvokeMetaMethod) {
 
84
        switch (_id) {
 
85
        case 0: setDestSRSID((*reinterpret_cast< long(*)>(_a[1]))); break;
 
86
        case 1: displayPrecisionChanged(); break;
 
87
        case 2: mapUnitsChanged(); break;
 
88
        case 3: refresh(); break;
 
89
        case 4: projectionEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
 
90
        case 5: apply(); break;
 
91
        case 6: accept(); break;
 
92
        case 7: showProjectionsTab(); break;
 
93
        case 8: on_pbnDigitisedLineColour_clicked(); break;
 
94
        case 9: on_pbnSelectionColour_clicked(); break;
 
95
        case 10: on_pbnCanvasColor_clicked(); break;
 
96
        case 11: on_pbnHelp_clicked(); break;
 
97
        }
 
98
        _id -= 12;
 
99
    }
 
100
    return _id;
 
101
}
 
102
 
 
103
// SIGNAL 0
 
104
void QgsProjectProperties::setDestSRSID(long _t1)
 
105
{
 
106
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
 
107
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
 
108
}
 
109
 
 
110
// SIGNAL 1
 
111
void QgsProjectProperties::displayPrecisionChanged()
 
112
{
 
113
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
 
114
}
 
115
 
 
116
// SIGNAL 2
 
117
void QgsProjectProperties::mapUnitsChanged()
 
118
{
 
119
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
 
120
}
 
121
 
 
122
// SIGNAL 3
 
123
void QgsProjectProperties::refresh()
 
124
{
 
125
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
 
126
}
 
127
 
 
128
// SIGNAL 4
 
129
void QgsProjectProperties::projectionEnabled(bool _t1)
 
130
{
 
131
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
 
132
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
 
133
}