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

« back to all changes in this revision

Viewing changes to plugins/grid_maker/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
** QgsGridMakerPlugin meta object code from reading C++ file 'plugin.h'
3
3
**
4
 
** Created: Tue Nov 30 19:34:56 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:25: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 *QgsGridMakerPlugin::className() const
23
23
{
24
 
    return "Plugin";
 
24
    return "QgsGridMakerPlugin";
25
25
}
26
26
 
27
 
QMetaObject *Plugin::metaObj = 0;
28
 
static QMetaObjectCleanUp cleanUp_Plugin( "Plugin", &Plugin::staticMetaObject );
 
27
QMetaObject *QgsGridMakerPlugin::metaObj = 0;
 
28
static QMetaObjectCleanUp cleanUp_QgsGridMakerPlugin( "QgsGridMakerPlugin", &QgsGridMakerPlugin::staticMetaObject );
29
29
 
30
30
#ifndef QT_NO_TRANSLATION
31
 
QString Plugin::tr( const char *s, const char *c )
 
31
QString QgsGridMakerPlugin::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( "QgsGridMakerPlugin", 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 QgsGridMakerPlugin::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( "QgsGridMakerPlugin", 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* QgsGridMakerPlugin::staticMetaObject()
51
51
{
52
52
    if ( metaObj )
53
53
        return metaObj;
75
75
        { "help()", &slot_5, QMetaData::Public }
76
76
    };
77
77
    metaObj = QMetaObject::new_metaobject(
78
 
        "Plugin", parentObject,
 
78
        "QgsGridMakerPlugin", parentObject,
79
79
        slot_tbl, 6,
80
80
        0, 0,
81
81
#ifndef QT_NO_PROPERTIES
83
83
        0, 0,
84
84
#endif // QT_NO_PROPERTIES
85
85
        0, 0 );
86
 
    cleanUp_Plugin.setMetaObject( metaObj );
 
86
    cleanUp_QgsGridMakerPlugin.setMetaObject( metaObj );
87
87
    return metaObj;
88
88
}
89
89
 
90
 
void* Plugin::qt_cast( const char* clname )
 
90
void* QgsGridMakerPlugin::qt_cast( const char* clname )
91
91
{
92
 
    if ( !qstrcmp( clname, "Plugin" ) )
 
92
    if ( !qstrcmp( clname, "QgsGridMakerPlugin" ) )
93
93
        return this;
94
94
    if ( !qstrcmp( clname, "QgisPlugin" ) )
95
95
        return (QgisPlugin*)this;
96
96
    return QObject::qt_cast( clname );
97
97
}
98
98
 
99
 
bool Plugin::qt_invoke( int _id, QUObject* _o )
 
99
bool QgsGridMakerPlugin::qt_invoke( int _id, QUObject* _o )
100
100
{
101
101
    switch ( _id - staticMetaObject()->slotOffset() ) {
102
102
    case 0: initGui(); break;
111
111
    return TRUE;
112
112
}
113
113
 
114
 
bool Plugin::qt_emit( int _id, QUObject* _o )
 
114
bool QgsGridMakerPlugin::qt_emit( int _id, QUObject* _o )
115
115
{
116
116
    return QObject::qt_emit(_id,_o);
117
117
}
118
118
#ifndef QT_NO_PROPERTIES
119
119
 
120
 
bool Plugin::qt_property( int id, int f, QVariant* v)
 
120
bool QgsGridMakerPlugin::qt_property( int id, int f, QVariant* v)
121
121
{
122
122
    return QObject::qt_property( id, f, v);
123
123
}
124
124
 
125
 
bool Plugin::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
 
125
bool QgsGridMakerPlugin::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
126
126
#endif // QT_NO_PROPERTIES