~ubuntu-branches/ubuntu/quantal/qgis/quantal

« back to all changes in this revision

Viewing changes to plugins/scale_bar/plugin.moc.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Steve Halasz
  • Date: 2005-11-05 16:04:45 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051105160445-l0g4isz5bc9yehet
Tags: 0.7.4-1
* New upstream release
* Build GRASS support in qgis-plugin-grass package (Closes: #248649)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/****************************************************************************
2
 
** Plugin meta object code from reading C++ file 'plugin.h'
 
2
** QgsScaleBarPlugin meta object code from reading C++ file 'plugin.h'
3
3
**
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 $)
6
6
**
7
7
** WARNING! All changes made in this file will be lost!
8
8
*****************************************************************************/
14
14
 
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.)"
20
20
#endif
21
21
 
22
 
const char *Plugin::className() const
 
22
const char *QgsScaleBarPlugin::className() const
23
23
{
24
 
    return "Plugin";
 
24
    return "QgsScaleBarPlugin";
25
25
}
26
26
 
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 );
29
29
 
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 )
32
32
{
33
33
    if ( qApp )
34
 
        return qApp->translate( "Plugin", s, c, QApplication::DefaultCodec );
 
34
        return qApp->translate( "QgsScaleBarPlugin", s, c, QApplication::DefaultCodec );
35
35
    else
36
36
        return QString::fromLatin1( s );
37
37
}
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 )
40
40
{
41
41
    if ( qApp )
42
 
        return qApp->translate( "Plugin", s, c, QApplication::UnicodeUTF8 );
 
42
        return qApp->translate( "QgsScaleBarPlugin", s, c, QApplication::UnicodeUTF8 );
43
43
    else
44
44
        return QString::fromUtf8( s );
45
45
}
47
47
 
48
48
#endif // QT_NO_TRANSLATION
49
49
 
50
 
QMetaObject* Plugin::staticMetaObject()
 
50
QMetaObject* QgsScaleBarPlugin::staticMetaObject()
51
51
{
52
52
    if ( metaObj )
53
53
        return metaObj;
102
102
        { "setColour(QColor)", &slot_12, QMetaData::Public }
103
103
    };
104
104
    metaObj = QMetaObject::new_metaobject(
105
 
        "Plugin", parentObject,
 
105
        "QgsScaleBarPlugin", parentObject,
106
106
        slot_tbl, 13,
107
107
        0, 0,
108
108
#ifndef QT_NO_PROPERTIES
110
110
        0, 0,
111
111
#endif // QT_NO_PROPERTIES
112
112
        0, 0 );
113
 
    cleanUp_Plugin.setMetaObject( metaObj );
 
113
    cleanUp_QgsScaleBarPlugin.setMetaObject( metaObj );
114
114
    return metaObj;
115
115
}
116
116
 
117
 
void* Plugin::qt_cast( const char* clname )
 
117
void* QgsScaleBarPlugin::qt_cast( const char* clname )
118
118
{
119
 
    if ( !qstrcmp( clname, "Plugin" ) )
 
119
    if ( !qstrcmp( clname, "QgsScaleBarPlugin" ) )
120
120
        return this;
121
121
    if ( !qstrcmp( clname, "QgisPlugin" ) )
122
122
        return (QgisPlugin*)this;
123
123
    return QObject::qt_cast( clname );
124
124
}
125
125
 
126
 
bool Plugin::qt_invoke( int _id, QUObject* _o )
 
126
bool QgsScaleBarPlugin::qt_invoke( int _id, QUObject* _o )
127
127
{
128
128
    switch ( _id - staticMetaObject()->slotOffset() ) {
129
129
    case 0: initGui(); break;
145
145
    return TRUE;
146
146
}
147
147
 
148
 
bool Plugin::qt_emit( int _id, QUObject* _o )
 
148
bool QgsScaleBarPlugin::qt_emit( int _id, QUObject* _o )
149
149
{
150
150
    return QObject::qt_emit(_id,_o);
151
151
}
152
152
#ifndef QT_NO_PROPERTIES
153
153
 
154
 
bool Plugin::qt_property( int id, int f, QVariant* v)
 
154
bool QgsScaleBarPlugin::qt_property( int id, int f, QVariant* v)
155
155
{
156
156
    return QObject::qt_property( id, f, v);
157
157
}
158
158
 
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