~ubuntu-branches/ubuntu/dapper/qgis/dapper

« back to all changes in this revision

Viewing changes to plugins/grass/qgsgrassattributesbase.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
/****************************************************************************
 
2
** QgsGrassAttributesBase meta object code from reading C++ file 'qgsgrassattributesbase.h'
 
3
**
 
4
** Created: Tue Jun 21 10:10:34 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 "qgsgrassattributesbase.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 *QgsGrassAttributesBase::className() const
 
23
{
 
24
    return "QgsGrassAttributesBase";
 
25
}
 
26
 
 
27
QMetaObject *QgsGrassAttributesBase::metaObj = 0;
 
28
static QMetaObjectCleanUp cleanUp_QgsGrassAttributesBase( "QgsGrassAttributesBase", &QgsGrassAttributesBase::staticMetaObject );
 
29
 
 
30
#ifndef QT_NO_TRANSLATION
 
31
QString QgsGrassAttributesBase::tr( const char *s, const char *c )
 
32
{
 
33
    if ( qApp )
 
34
        return qApp->translate( "QgsGrassAttributesBase", s, c, QApplication::DefaultCodec );
 
35
    else
 
36
        return QString::fromLatin1( s );
 
37
}
 
38
#ifndef QT_NO_TRANSLATION_UTF8
 
39
QString QgsGrassAttributesBase::trUtf8( const char *s, const char *c )
 
40
{
 
41
    if ( qApp )
 
42
        return qApp->translate( "QgsGrassAttributesBase", 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* QgsGrassAttributesBase::staticMetaObject()
 
51
{
 
52
    if ( metaObj )
 
53
        return metaObj;
 
54
    QMetaObject* parentObject = QWidget::staticMetaObject();
 
55
    static const QUMethod slot_0 = {"updateAttributes", 0, 0 };
 
56
    static const QUMethod slot_1 = {"addCat", 0, 0 };
 
57
    static const QUMethod slot_2 = {"deleteCat", 0, 0 };
 
58
    static const QUMethod slot_3 = {"languageChange", 0, 0 };
 
59
    static const QMetaData slot_tbl[] = {
 
60
        { "updateAttributes()", &slot_0, QMetaData::Public },
 
61
        { "addCat()", &slot_1, QMetaData::Public },
 
62
        { "deleteCat()", &slot_2, QMetaData::Public },
 
63
        { "languageChange()", &slot_3, QMetaData::Protected }
 
64
    };
 
65
    metaObj = QMetaObject::new_metaobject(
 
66
        "QgsGrassAttributesBase", parentObject,
 
67
        slot_tbl, 4,
 
68
        0, 0,
 
69
#ifndef QT_NO_PROPERTIES
 
70
        0, 0,
 
71
        0, 0,
 
72
#endif // QT_NO_PROPERTIES
 
73
        0, 0 );
 
74
    cleanUp_QgsGrassAttributesBase.setMetaObject( metaObj );
 
75
    return metaObj;
 
76
}
 
77
 
 
78
void* QgsGrassAttributesBase::qt_cast( const char* clname )
 
79
{
 
80
    if ( !qstrcmp( clname, "QgsGrassAttributesBase" ) )
 
81
        return this;
 
82
    return QWidget::qt_cast( clname );
 
83
}
 
84
 
 
85
bool QgsGrassAttributesBase::qt_invoke( int _id, QUObject* _o )
 
86
{
 
87
    switch ( _id - staticMetaObject()->slotOffset() ) {
 
88
    case 0: updateAttributes(); break;
 
89
    case 1: addCat(); break;
 
90
    case 2: deleteCat(); break;
 
91
    case 3: languageChange(); break;
 
92
    default:
 
93
        return QWidget::qt_invoke( _id, _o );
 
94
    }
 
95
    return TRUE;
 
96
}
 
97
 
 
98
bool QgsGrassAttributesBase::qt_emit( int _id, QUObject* _o )
 
99
{
 
100
    return QWidget::qt_emit(_id,_o);
 
101
}
 
102
#ifndef QT_NO_PROPERTIES
 
103
 
 
104
bool QgsGrassAttributesBase::qt_property( int id, int f, QVariant* v)
 
105
{
 
106
    return QWidget::qt_property( id, f, v);
 
107
}
 
108
 
 
109
bool QgsGrassAttributesBase::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
 
110
#endif // QT_NO_PROPERTIES