1
1
/****************************************************************************
2
** Plugin meta object code from reading C++ file 'plugin.h'
2
** QgsScaleBarPlugin meta object code from reading C++ file 'plugin.h'
4
** Created: Tue Nov 30 19:35:24 2004
5
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.3 edited Aug 5 16:40 $)
4
** Created: Fri Nov 4 14:26:40 2005
5
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.4 edited Jan 21 18:14 $)
7
7
** WARNING! All changes made in this file will be lost!
8
8
*****************************************************************************/
15
15
#include <private/qucomextra_p.h>
16
16
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
17
#error "This file was generated using the moc from 3.3.3. It"
17
#error "This file was generated using the moc from 3.3.4. It"
18
18
#error "cannot be used with the include files from this version of Qt."
19
19
#error "(The moc has changed too much.)"
22
const char *Plugin::className() const
22
const char *QgsScaleBarPlugin::className() const
24
return "QgsScaleBarPlugin";
27
QMetaObject *Plugin::metaObj = 0;
28
static QMetaObjectCleanUp cleanUp_Plugin( "Plugin", &Plugin::staticMetaObject );
27
QMetaObject *QgsScaleBarPlugin::metaObj = 0;
28
static QMetaObjectCleanUp cleanUp_QgsScaleBarPlugin( "QgsScaleBarPlugin", &QgsScaleBarPlugin::staticMetaObject );
30
30
#ifndef QT_NO_TRANSLATION
31
QString Plugin::tr( const char *s, const char *c )
31
QString QgsScaleBarPlugin::tr( const char *s, const char *c )
34
return qApp->translate( "Plugin", s, c, QApplication::DefaultCodec );
34
return qApp->translate( "QgsScaleBarPlugin", s, c, QApplication::DefaultCodec );
36
36
return QString::fromLatin1( s );
38
38
#ifndef QT_NO_TRANSLATION_UTF8
39
QString Plugin::trUtf8( const char *s, const char *c )
39
QString QgsScaleBarPlugin::trUtf8( const char *s, const char *c )
42
return qApp->translate( "Plugin", s, c, QApplication::UnicodeUTF8 );
42
return qApp->translate( "QgsScaleBarPlugin", s, c, QApplication::UnicodeUTF8 );
44
44
return QString::fromUtf8( s );
102
102
{ "setColour(QColor)", &slot_12, QMetaData::Public }
104
104
metaObj = QMetaObject::new_metaobject(
105
"Plugin", parentObject,
105
"QgsScaleBarPlugin", parentObject,
108
108
#ifndef QT_NO_PROPERTIES
111
111
#endif // QT_NO_PROPERTIES
113
cleanUp_Plugin.setMetaObject( metaObj );
113
cleanUp_QgsScaleBarPlugin.setMetaObject( metaObj );
117
void* Plugin::qt_cast( const char* clname )
117
void* QgsScaleBarPlugin::qt_cast( const char* clname )
119
if ( !qstrcmp( clname, "Plugin" ) )
119
if ( !qstrcmp( clname, "QgsScaleBarPlugin" ) )
121
121
if ( !qstrcmp( clname, "QgisPlugin" ) )
122
122
return (QgisPlugin*)this;
123
123
return QObject::qt_cast( clname );
126
bool Plugin::qt_invoke( int _id, QUObject* _o )
126
bool QgsScaleBarPlugin::qt_invoke( int _id, QUObject* _o )
128
128
switch ( _id - staticMetaObject()->slotOffset() ) {
129
129
case 0: initGui(); break;
148
bool Plugin::qt_emit( int _id, QUObject* _o )
148
bool QgsScaleBarPlugin::qt_emit( int _id, QUObject* _o )
150
150
return QObject::qt_emit(_id,_o);
152
152
#ifndef QT_NO_PROPERTIES
154
bool Plugin::qt_property( int id, int f, QVariant* v)
154
bool QgsScaleBarPlugin::qt_property( int id, int f, QVariant* v)
156
156
return QObject::qt_property( id, f, v);
159
bool Plugin::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
159
bool QgsScaleBarPlugin::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
160
160
#endif // QT_NO_PROPERTIES