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

« back to all changes in this revision

Viewing changes to plugins/north_arrow/pluginguibase.moc.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Steve Halasz
  • Date: 2004-12-21 09:46:27 UTC
  • Revision ID: james.westby@ubuntu.com-20041221094627-r9lb6mlz2o3yp8gn
Tags: upstream-0.6.0
ImportĀ upstreamĀ versionĀ 0.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
** PluginGuiBase meta object code from reading C++ file 'pluginguibase.h'
 
3
**
 
4
** Created: Tue Nov 30 19:35:05 2004
 
5
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.3   edited Aug 5 16:40 $)
 
6
**
 
7
** WARNING! All changes made in this file will be lost!
 
8
*****************************************************************************/
 
9
 
 
10
#undef QT_NO_COMPAT
 
11
#include "pluginguibase.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.3. 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 *PluginGuiBase::className() const
 
23
{
 
24
    return "PluginGuiBase";
 
25
}
 
26
 
 
27
QMetaObject *PluginGuiBase::metaObj = 0;
 
28
static QMetaObjectCleanUp cleanUp_PluginGuiBase( "PluginGuiBase", &PluginGuiBase::staticMetaObject );
 
29
 
 
30
#ifndef QT_NO_TRANSLATION
 
31
QString PluginGuiBase::tr( const char *s, const char *c )
 
32
{
 
33
    if ( qApp )
 
34
        return qApp->translate( "PluginGuiBase", s, c, QApplication::DefaultCodec );
 
35
    else
 
36
        return QString::fromLatin1( s );
 
37
}
 
38
#ifndef QT_NO_TRANSLATION_UTF8
 
39
QString PluginGuiBase::trUtf8( const char *s, const char *c )
 
40
{
 
41
    if ( qApp )
 
42
        return qApp->translate( "PluginGuiBase", 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* PluginGuiBase::staticMetaObject()
 
51
{
 
52
    if ( metaObj )
 
53
        return metaObj;
 
54
    QMetaObject* parentObject = QDialog::staticMetaObject();
 
55
    static const QUMethod slot_0 = {"pbnOK_clicked", 0, 0 };
 
56
    static const QUMethod slot_1 = {"pbnCancel_clicked", 0, 0 };
 
57
    static const QUParameter param_slot_2[] = {
 
58
        { 0, &static_QUType_int, 0, QUParameter::In }
 
59
    };
 
60
    static const QUMethod slot_2 = {"sliderRotation_valueChanged", 1, param_slot_2 };
 
61
    static const QUParameter param_slot_3[] = {
 
62
        { 0, &static_QUType_int, 0, QUParameter::In }
 
63
    };
 
64
    static const QUMethod slot_3 = {"sliderRotation_sliderMoved", 1, param_slot_3 };
 
65
    static const QUParameter param_slot_4[] = {
 
66
        { 0, &static_QUType_int, 0, QUParameter::In }
 
67
    };
 
68
    static const QUMethod slot_4 = {"spinSize_valueChanged", 1, param_slot_4 };
 
69
    static const QUParameter param_slot_5[] = {
 
70
        { 0, &static_QUType_bool, 0, QUParameter::In }
 
71
    };
 
72
    static const QUMethod slot_5 = {"cboxShow_toggled", 1, param_slot_5 };
 
73
    static const QUParameter param_slot_6[] = {
 
74
        { 0, &static_QUType_QString, 0, QUParameter::In }
 
75
    };
 
76
    static const QUMethod slot_6 = {"cboPlacement_textChanged", 1, param_slot_6 };
 
77
    static const QUMethod slot_7 = {"languageChange", 0, 0 };
 
78
    static const QMetaData slot_tbl[] = {
 
79
        { "pbnOK_clicked()", &slot_0, QMetaData::Public },
 
80
        { "pbnCancel_clicked()", &slot_1, QMetaData::Public },
 
81
        { "sliderRotation_valueChanged(int)", &slot_2, QMetaData::Public },
 
82
        { "sliderRotation_sliderMoved(int)", &slot_3, QMetaData::Public },
 
83
        { "spinSize_valueChanged(int)", &slot_4, QMetaData::Public },
 
84
        { "cboxShow_toggled(bool)", &slot_5, QMetaData::Public },
 
85
        { "cboPlacement_textChanged(const QString&)", &slot_6, QMetaData::Public },
 
86
        { "languageChange()", &slot_7, QMetaData::Protected }
 
87
    };
 
88
    metaObj = QMetaObject::new_metaobject(
 
89
        "PluginGuiBase", parentObject,
 
90
        slot_tbl, 8,
 
91
        0, 0,
 
92
#ifndef QT_NO_PROPERTIES
 
93
        0, 0,
 
94
        0, 0,
 
95
#endif // QT_NO_PROPERTIES
 
96
        0, 0 );
 
97
    cleanUp_PluginGuiBase.setMetaObject( metaObj );
 
98
    return metaObj;
 
99
}
 
100
 
 
101
void* PluginGuiBase::qt_cast( const char* clname )
 
102
{
 
103
    if ( !qstrcmp( clname, "PluginGuiBase" ) )
 
104
        return this;
 
105
    return QDialog::qt_cast( clname );
 
106
}
 
107
 
 
108
bool PluginGuiBase::qt_invoke( int _id, QUObject* _o )
 
109
{
 
110
    switch ( _id - staticMetaObject()->slotOffset() ) {
 
111
    case 0: pbnOK_clicked(); break;
 
112
    case 1: pbnCancel_clicked(); break;
 
113
    case 2: sliderRotation_valueChanged((int)static_QUType_int.get(_o+1)); break;
 
114
    case 3: sliderRotation_sliderMoved((int)static_QUType_int.get(_o+1)); break;
 
115
    case 4: spinSize_valueChanged((int)static_QUType_int.get(_o+1)); break;
 
116
    case 5: cboxShow_toggled((bool)static_QUType_bool.get(_o+1)); break;
 
117
    case 6: cboPlacement_textChanged((const QString&)static_QUType_QString.get(_o+1)); break;
 
118
    case 7: languageChange(); break;
 
119
    default:
 
120
        return QDialog::qt_invoke( _id, _o );
 
121
    }
 
122
    return TRUE;
 
123
}
 
124
 
 
125
bool PluginGuiBase::qt_emit( int _id, QUObject* _o )
 
126
{
 
127
    return QDialog::qt_emit(_id,_o);
 
128
}
 
129
#ifndef QT_NO_PROPERTIES
 
130
 
 
131
bool PluginGuiBase::qt_property( int id, int f, QVariant* v)
 
132
{
 
133
    return QDialog::qt_property( id, f, v);
 
134
}
 
135
 
 
136
bool PluginGuiBase::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
 
137
#endif // QT_NO_PROPERTIES