1
/****************************************************************************
2
** QgsGrassEdit meta object code from reading C++ file 'qgsgrassedit.h'
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 $)
7
** WARNING! All changes made in this file will be lost!
8
*****************************************************************************/
11
#include "qgsgrassedit.h"
12
#include <qmetaobject.h>
13
#include <qapplication.h>
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.)"
22
const char *QgsGrassEdit::className() const
24
return "QgsGrassEdit";
27
QMetaObject *QgsGrassEdit::metaObj = 0;
28
static QMetaObjectCleanUp cleanUp_QgsGrassEdit( "QgsGrassEdit", &QgsGrassEdit::staticMetaObject );
30
#ifndef QT_NO_TRANSLATION
31
QString QgsGrassEdit::tr( const char *s, const char *c )
34
return qApp->translate( "QgsGrassEdit", s, c, QApplication::DefaultCodec );
36
return QString::fromLatin1( s );
38
#ifndef QT_NO_TRANSLATION_UTF8
39
QString QgsGrassEdit::trUtf8( const char *s, const char *c )
42
return qApp->translate( "QgsGrassEdit", s, c, QApplication::UnicodeUTF8 );
44
return QString::fromUtf8( s );
46
#endif // QT_NO_TRANSLATION_UTF8
48
#endif // QT_NO_TRANSLATION
50
QMetaObject* QgsGrassEdit::staticMetaObject()
54
QMetaObject* parentObject = QgsGrassEditBase::staticMetaObject();
55
static const QUParameter param_slot_0[] = {
56
{ 0, &static_QUType_ptr, "QgsPoint", QUParameter::InOut }
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 }
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 }
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 }
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 }
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 }
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 }
121
metaObj = QMetaObject::new_metaobject(
122
"QgsGrassEdit", parentObject,
125
#ifndef QT_NO_PROPERTIES
128
#endif // QT_NO_PROPERTIES
130
cleanUp_QgsGrassEdit.setMetaObject( metaObj );
134
void* QgsGrassEdit::qt_cast( const char* clname )
136
if ( !qstrcmp( clname, "QgsGrassEdit" ) )
138
return QgsGrassEditBase::qt_cast( clname );
141
bool QgsGrassEdit::qt_invoke( int _id, QUObject* _o )
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;
166
return QgsGrassEditBase::qt_invoke( _id, _o );
171
bool QgsGrassEdit::qt_emit( int _id, QUObject* _o )
173
return QgsGrassEditBase::qt_emit(_id,_o);
175
#ifndef QT_NO_PROPERTIES
177
bool QgsGrassEdit::qt_property( int id, int f, QVariant* v)
179
return QgsGrassEditBase::qt_property( id, f, v);
182
bool QgsGrassEdit::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
183
#endif // QT_NO_PROPERTIES