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

« back to all changes in this revision

Viewing changes to plugins/grass/qgsgrassedit.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
 
** QgsGrassEdit meta object code from reading C++ file 'qgsgrassedit.h'
3
 
**
4
 
** Created: Fri Apr 7 17:20:38 2006
5
 
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.5   edited Sep 2 14:41 $)
6
 
**
7
 
** WARNING! All changes made in this file will be lost!
8
 
*****************************************************************************/
9
 
 
10
 
#undef QT_NO_COMPAT
11
 
#include "qgsgrassedit.h"
12
 
#include <qmetaobject.h>
13
 
#include <qapplication.h>
14
 
 
15
 
#include <private/qucomextra_p.h>
16
 
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
17
 
#error "This file was generated using the moc from 3.3.5. It"
18
 
#error "cannot be used with the include files from this version of Qt."
19
 
#error "(The moc has changed too much.)"
20
 
#endif
21
 
 
22
 
const char *QgsGrassEdit::className() const
23
 
{
24
 
    return "QgsGrassEdit";
25
 
}
26
 
 
27
 
QMetaObject *QgsGrassEdit::metaObj = 0;
28
 
static QMetaObjectCleanUp cleanUp_QgsGrassEdit( "QgsGrassEdit", &QgsGrassEdit::staticMetaObject );
29
 
 
30
 
#ifndef QT_NO_TRANSLATION
31
 
QString QgsGrassEdit::tr( const char *s, const char *c )
32
 
{
33
 
    if ( qApp )
34
 
        return qApp->translate( "QgsGrassEdit", s, c, QApplication::DefaultCodec );
35
 
    else
36
 
        return QString::fromLatin1( s );
37
 
}
38
 
#ifndef QT_NO_TRANSLATION_UTF8
39
 
QString QgsGrassEdit::trUtf8( const char *s, const char *c )
40
 
{
41
 
    if ( qApp )
42
 
        return qApp->translate( "QgsGrassEdit", s, c, QApplication::UnicodeUTF8 );
43
 
    else
44
 
        return QString::fromUtf8( s );
45
 
}
46
 
#endif // QT_NO_TRANSLATION_UTF8
47
 
 
48
 
#endif // QT_NO_TRANSLATION
49
 
 
50
 
QMetaObject* QgsGrassEdit::staticMetaObject()
51
 
{
52
 
    if ( metaObj )
53
 
        return metaObj;
54
 
    QMetaObject* parentObject = QgsGrassEditBase::staticMetaObject();
55
 
    static const QUParameter param_slot_0[] = {
56
 
        { 0, &static_QUType_ptr, "QgsPoint", QUParameter::InOut }
57
 
    };
58
 
    static const QUMethod slot_0 = {"mouseEventReceiverMove", 1, param_slot_0 };
59
 
    static const QUParameter param_slot_1[] = {
60
 
        { "p", &static_QUType_ptr, "QgsPoint", QUParameter::InOut },
61
 
        { "button", &static_QUType_ptr, "Qt::ButtonState", QUParameter::In }
62
 
    };
63
 
    static const QUMethod slot_1 = {"mouseEventReceiverClick", 2, param_slot_1 };
64
 
    static const QUParameter param_slot_2[] = {
65
 
        { 0, &static_QUType_ptr, "QPainter", QUParameter::In }
66
 
    };
67
 
    static const QUMethod slot_2 = {"postRender", 1, param_slot_2 };
68
 
    static const QUMethod slot_3 = {"newPoint", 0, 0 };
69
 
    static const QUMethod slot_4 = {"newLine", 0, 0 };
70
 
    static const QUMethod slot_5 = {"newBoundary", 0, 0 };
71
 
    static const QUMethod slot_6 = {"newCentroid", 0, 0 };
72
 
    static const QUMethod slot_7 = {"moveVertex", 0, 0 };
73
 
    static const QUMethod slot_8 = {"addVertex", 0, 0 };
74
 
    static const QUMethod slot_9 = {"deleteVertex", 0, 0 };
75
 
    static const QUMethod slot_10 = {"splitLine", 0, 0 };
76
 
    static const QUMethod slot_11 = {"moveLine", 0, 0 };
77
 
    static const QUMethod slot_12 = {"deleteLine", 0, 0 };
78
 
    static const QUMethod slot_13 = {"editCats", 0, 0 };
79
 
    static const QUMethod slot_14 = {"editAttributes", 0, 0 };
80
 
    static const QUMethod slot_15 = {"catModeChanged", 0, 0 };
81
 
    static const QUMethod slot_16 = {"fieldChanged", 0, 0 };
82
 
    static const QUMethod slot_17 = {"closeEdit", 0, 0 };
83
 
    static const QUParameter param_slot_18[] = {
84
 
        { "item", &static_QUType_ptr, "QListViewItem", QUParameter::In },
85
 
        { "pnt", &static_QUType_varptr, "\x0e", QUParameter::In },
86
 
        { "col", &static_QUType_int, 0, QUParameter::In }
87
 
    };
88
 
    static const QUMethod slot_18 = {"changeSymbology", 3, param_slot_18 };
89
 
    static const QUParameter param_slot_19[] = {
90
 
        { "row", &static_QUType_int, 0, QUParameter::In },
91
 
        { "col", &static_QUType_int, 0, QUParameter::In }
92
 
    };
93
 
    static const QUMethod slot_19 = {"columnTypeChanged", 2, param_slot_19 };
94
 
    static const QUParameter param_slot_20[] = {
95
 
        { "e", &static_QUType_ptr, "QCloseEvent", QUParameter::In }
96
 
    };
97
 
    static const QUMethod slot_20 = {"closeEvent", 1, param_slot_20 };
98
 
    static const QMetaData slot_tbl[] = {
99
 
        { "mouseEventReceiverMove(QgsPoint&)", &slot_0, QMetaData::Public },
100
 
        { "mouseEventReceiverClick(QgsPoint&,Qt::ButtonState)", &slot_1, QMetaData::Public },
101
 
        { "postRender(QPainter*)", &slot_2, QMetaData::Public },
102
 
        { "newPoint()", &slot_3, QMetaData::Public },
103
 
        { "newLine()", &slot_4, QMetaData::Public },
104
 
        { "newBoundary()", &slot_5, QMetaData::Public },
105
 
        { "newCentroid()", &slot_6, QMetaData::Public },
106
 
        { "moveVertex()", &slot_7, QMetaData::Public },
107
 
        { "addVertex()", &slot_8, QMetaData::Public },
108
 
        { "deleteVertex()", &slot_9, QMetaData::Public },
109
 
        { "splitLine()", &slot_10, QMetaData::Public },
110
 
        { "moveLine()", &slot_11, QMetaData::Public },
111
 
        { "deleteLine()", &slot_12, QMetaData::Public },
112
 
        { "editCats()", &slot_13, QMetaData::Public },
113
 
        { "editAttributes()", &slot_14, QMetaData::Public },
114
 
        { "catModeChanged()", &slot_15, QMetaData::Public },
115
 
        { "fieldChanged()", &slot_16, QMetaData::Public },
116
 
        { "closeEdit()", &slot_17, QMetaData::Public },
117
 
        { "changeSymbology(QListViewItem*,const QPoint&,int)", &slot_18, QMetaData::Public },
118
 
        { "columnTypeChanged(int,int)", &slot_19, QMetaData::Public },
119
 
        { "closeEvent(QCloseEvent*)", &slot_20, QMetaData::Public }
120
 
    };
121
 
    metaObj = QMetaObject::new_metaobject(
122
 
        "QgsGrassEdit", parentObject,
123
 
        slot_tbl, 21,
124
 
        0, 0,
125
 
#ifndef QT_NO_PROPERTIES
126
 
        0, 0,
127
 
        0, 0,
128
 
#endif // QT_NO_PROPERTIES
129
 
        0, 0 );
130
 
    cleanUp_QgsGrassEdit.setMetaObject( metaObj );
131
 
    return metaObj;
132
 
}
133
 
 
134
 
void* QgsGrassEdit::qt_cast( const char* clname )
135
 
{
136
 
    if ( !qstrcmp( clname, "QgsGrassEdit" ) )
137
 
        return this;
138
 
    return QgsGrassEditBase::qt_cast( clname );
139
 
}
140
 
 
141
 
bool QgsGrassEdit::qt_invoke( int _id, QUObject* _o )
142
 
{
143
 
    switch ( _id - staticMetaObject()->slotOffset() ) {
144
 
    case 0: mouseEventReceiverMove((QgsPoint&)*((QgsPoint*)static_QUType_ptr.get(_o+1))); break;
145
 
    case 1: mouseEventReceiverClick((QgsPoint&)*((QgsPoint*)static_QUType_ptr.get(_o+1)),(Qt::ButtonState)(*((Qt::ButtonState*)static_QUType_ptr.get(_o+2)))); break;
146
 
    case 2: postRender((QPainter*)static_QUType_ptr.get(_o+1)); break;
147
 
    case 3: newPoint(); break;
148
 
    case 4: newLine(); break;
149
 
    case 5: newBoundary(); break;
150
 
    case 6: newCentroid(); break;
151
 
    case 7: moveVertex(); break;
152
 
    case 8: addVertex(); break;
153
 
    case 9: deleteVertex(); break;
154
 
    case 10: splitLine(); break;
155
 
    case 11: moveLine(); break;
156
 
    case 12: deleteLine(); break;
157
 
    case 13: editCats(); break;
158
 
    case 14: editAttributes(); break;
159
 
    case 15: catModeChanged(); break;
160
 
    case 16: fieldChanged(); break;
161
 
    case 17: closeEdit(); break;
162
 
    case 18: changeSymbology((QListViewItem*)static_QUType_ptr.get(_o+1),(const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
163
 
    case 19: columnTypeChanged((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
164
 
    case 20: closeEvent((QCloseEvent*)static_QUType_ptr.get(_o+1)); break;
165
 
    default:
166
 
        return QgsGrassEditBase::qt_invoke( _id, _o );
167
 
    }
168
 
    return TRUE;
169
 
}
170
 
 
171
 
bool QgsGrassEdit::qt_emit( int _id, QUObject* _o )
172
 
{
173
 
    return QgsGrassEditBase::qt_emit(_id,_o);
174
 
}
175
 
#ifndef QT_NO_PROPERTIES
176
 
 
177
 
bool QgsGrassEdit::qt_property( int id, int f, QVariant* v)
178
 
{
179
 
    return QgsGrassEditBase::qt_property( id, f, v);
180
 
}
181
 
 
182
 
bool QgsGrassEdit::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
183
 
#endif // QT_NO_PROPERTIES