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

« back to all changes in this revision

Viewing changes to plugins/delimited_text/qgsdelimitedtextplugin.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
 
** QgsDelimitedTextPlugin meta object code from reading C++ file 'qgsdelimitedtextplugin.h'
3
 
**
4
 
** Created: Fri Nov 4 14:23:57 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 "qgsdelimitedtextplugin.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 *QgsDelimitedTextPlugin::className() const
23
 
{
24
 
    return "QgsDelimitedTextPlugin";
25
 
}
26
 
 
27
 
QMetaObject *QgsDelimitedTextPlugin::metaObj = 0;
28
 
static QMetaObjectCleanUp cleanUp_QgsDelimitedTextPlugin( "QgsDelimitedTextPlugin", &QgsDelimitedTextPlugin::staticMetaObject );
29
 
 
30
 
#ifndef QT_NO_TRANSLATION
31
 
QString QgsDelimitedTextPlugin::tr( const char *s, const char *c )
32
 
{
33
 
    if ( qApp )
34
 
        return qApp->translate( "QgsDelimitedTextPlugin", s, c, QApplication::DefaultCodec );
35
 
    else
36
 
        return QString::fromLatin1( s );
37
 
}
38
 
#ifndef QT_NO_TRANSLATION_UTF8
39
 
QString QgsDelimitedTextPlugin::trUtf8( const char *s, const char *c )
40
 
{
41
 
    if ( qApp )
42
 
        return qApp->translate( "QgsDelimitedTextPlugin", 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* QgsDelimitedTextPlugin::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 QUParameter param_slot_2[] = {
58
 
        { 0, &static_QUType_QString, 0, QUParameter::In },
59
 
        { 0, &static_QUType_QString, 0, QUParameter::In },
60
 
        { 0, &static_QUType_QString, 0, QUParameter::In }
61
 
    };
62
 
    static const QUMethod slot_2 = {"drawVectorLayer", 3, param_slot_2 };
63
 
    static const QUMethod slot_3 = {"unload", 0, 0 };
64
 
    static const QUMethod slot_4 = {"help", 0, 0 };
65
 
    static const QMetaData slot_tbl[] = {
66
 
        { "initGui()", &slot_0, QMetaData::Public },
67
 
        { "run()", &slot_1, QMetaData::Public },
68
 
        { "drawVectorLayer(QString,QString,QString)", &slot_2, QMetaData::Public },
69
 
        { "unload()", &slot_3, QMetaData::Public },
70
 
        { "help()", &slot_4, QMetaData::Public }
71
 
    };
72
 
    metaObj = QMetaObject::new_metaobject(
73
 
        "QgsDelimitedTextPlugin", parentObject,
74
 
        slot_tbl, 5,
75
 
        0, 0,
76
 
#ifndef QT_NO_PROPERTIES
77
 
        0, 0,
78
 
        0, 0,
79
 
#endif // QT_NO_PROPERTIES
80
 
        0, 0 );
81
 
    cleanUp_QgsDelimitedTextPlugin.setMetaObject( metaObj );
82
 
    return metaObj;
83
 
}
84
 
 
85
 
void* QgsDelimitedTextPlugin::qt_cast( const char* clname )
86
 
{
87
 
    if ( !qstrcmp( clname, "QgsDelimitedTextPlugin" ) )
88
 
        return this;
89
 
    if ( !qstrcmp( clname, "QgisPlugin" ) )
90
 
        return (QgisPlugin*)this;
91
 
    return QObject::qt_cast( clname );
92
 
}
93
 
 
94
 
bool QgsDelimitedTextPlugin::qt_invoke( int _id, QUObject* _o )
95
 
{
96
 
    switch ( _id - staticMetaObject()->slotOffset() ) {
97
 
    case 0: initGui(); break;
98
 
    case 1: run(); break;
99
 
    case 2: drawVectorLayer((QString)static_QUType_QString.get(_o+1),(QString)static_QUType_QString.get(_o+2),(QString)static_QUType_QString.get(_o+3)); break;
100
 
    case 3: unload(); break;
101
 
    case 4: help(); break;
102
 
    default:
103
 
        return QObject::qt_invoke( _id, _o );
104
 
    }
105
 
    return TRUE;
106
 
}
107
 
 
108
 
bool QgsDelimitedTextPlugin::qt_emit( int _id, QUObject* _o )
109
 
{
110
 
    return QObject::qt_emit(_id,_o);
111
 
}
112
 
#ifndef QT_NO_PROPERTIES
113
 
 
114
 
bool QgsDelimitedTextPlugin::qt_property( int id, int f, QVariant* v)
115
 
{
116
 
    return QObject::qt_property( id, f, v);
117
 
}
118
 
 
119
 
bool QgsDelimitedTextPlugin::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
120
 
#endif // QT_NO_PROPERTIES