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

« back to all changes in this revision

Viewing changes to plugins/community_reg_plugin/plugin.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
 
** QgsCommunityRegPlugin meta object code from reading C++ file 'plugin.h'
3
 
**
4
 
** Created: Fri Nov 4 14:30:46 2005
5
 
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.4   edited Jan 21 18:14 $)
6
 
**
7
 
** WARNING! All changes made in this file will be lost!
8
 
*****************************************************************************/
9
 
 
10
 
#undef QT_NO_COMPAT
11
 
#include "plugin.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.4. 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 *QgsCommunityRegPlugin::className() const
23
 
{
24
 
    return "QgsCommunityRegPlugin";
25
 
}
26
 
 
27
 
QMetaObject *QgsCommunityRegPlugin::metaObj = 0;
28
 
static QMetaObjectCleanUp cleanUp_QgsCommunityRegPlugin( "QgsCommunityRegPlugin", &QgsCommunityRegPlugin::staticMetaObject );
29
 
 
30
 
#ifndef QT_NO_TRANSLATION
31
 
QString QgsCommunityRegPlugin::tr( const char *s, const char *c )
32
 
{
33
 
    if ( qApp )
34
 
        return qApp->translate( "QgsCommunityRegPlugin", s, c, QApplication::DefaultCodec );
35
 
    else
36
 
        return QString::fromLatin1( s );
37
 
}
38
 
#ifndef QT_NO_TRANSLATION_UTF8
39
 
QString QgsCommunityRegPlugin::trUtf8( const char *s, const char *c )
40
 
{
41
 
    if ( qApp )
42
 
        return qApp->translate( "QgsCommunityRegPlugin", 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* QgsCommunityRegPlugin::staticMetaObject()
51
 
{
52
 
    if ( metaObj )
53
 
        return metaObj;
54
 
    QMetaObject* parentObject = QObject::staticMetaObject();
55
 
    static const QUMethod slot_0 = {"initGui", 0, 0 };
56
 
    static const QUMethod slot_1 = {"run", 0, 0 };
57
 
    static const QUMethod slot_2 = {"unload", 0, 0 };
58
 
    static const QUMethod slot_3 = {"help", 0, 0 };
59
 
    static const QUParameter param_slot_4[] = {
60
 
        { 0, &static_QUType_QString, 0, QUParameter::In }
61
 
    };
62
 
    static const QUMethod slot_4 = {"drawRasterLayer", 1, param_slot_4 };
63
 
    static const QUParameter param_slot_5[] = {
64
 
        { 0, &static_QUType_QString, 0, QUParameter::In },
65
 
        { 0, &static_QUType_QString, 0, QUParameter::In },
66
 
        { 0, &static_QUType_QString, 0, QUParameter::In }
67
 
    };
68
 
    static const QUMethod slot_5 = {"drawVectorLayer", 3, param_slot_5 };
69
 
    static const QMetaData slot_tbl[] = {
70
 
        { "initGui()", &slot_0, QMetaData::Public },
71
 
        { "run()", &slot_1, QMetaData::Public },
72
 
        { "unload()", &slot_2, QMetaData::Public },
73
 
        { "help()", &slot_3, QMetaData::Public },
74
 
        { "drawRasterLayer(QString)", &slot_4, QMetaData::Public },
75
 
        { "drawVectorLayer(QString,QString,QString)", &slot_5, QMetaData::Public }
76
 
    };
77
 
    metaObj = QMetaObject::new_metaobject(
78
 
        "QgsCommunityRegPlugin", parentObject,
79
 
        slot_tbl, 6,
80
 
        0, 0,
81
 
#ifndef QT_NO_PROPERTIES
82
 
        0, 0,
83
 
        0, 0,
84
 
#endif // QT_NO_PROPERTIES
85
 
        0, 0 );
86
 
    cleanUp_QgsCommunityRegPlugin.setMetaObject( metaObj );
87
 
    return metaObj;
88
 
}
89
 
 
90
 
void* QgsCommunityRegPlugin::qt_cast( const char* clname )
91
 
{
92
 
    if ( !qstrcmp( clname, "QgsCommunityRegPlugin" ) )
93
 
        return this;
94
 
    if ( !qstrcmp( clname, "QgisPlugin" ) )
95
 
        return (QgisPlugin*)this;
96
 
    return QObject::qt_cast( clname );
97
 
}
98
 
 
99
 
bool QgsCommunityRegPlugin::qt_invoke( int _id, QUObject* _o )
100
 
{
101
 
    switch ( _id - staticMetaObject()->slotOffset() ) {
102
 
    case 0: initGui(); break;
103
 
    case 1: run(); break;
104
 
    case 2: unload(); break;
105
 
    case 3: help(); break;
106
 
    case 4: drawRasterLayer((QString)static_QUType_QString.get(_o+1)); break;
107
 
    case 5: drawVectorLayer((QString)static_QUType_QString.get(_o+1),(QString)static_QUType_QString.get(_o+2),(QString)static_QUType_QString.get(_o+3)); break;
108
 
    default:
109
 
        return QObject::qt_invoke( _id, _o );
110
 
    }
111
 
    return TRUE;
112
 
}
113
 
 
114
 
bool QgsCommunityRegPlugin::qt_emit( int _id, QUObject* _o )
115
 
{
116
 
    return QObject::qt_emit(_id,_o);
117
 
}
118
 
#ifndef QT_NO_PROPERTIES
119
 
 
120
 
bool QgsCommunityRegPlugin::qt_property( int id, int f, QVariant* v)
121
 
{
122
 
    return QObject::qt_property( id, f, v);
123
 
}
124
 
 
125
 
bool QgsCommunityRegPlugin::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
126
 
#endif // QT_NO_PROPERTIES