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

« back to all changes in this revision

Viewing changes to plugins/north_arrow/pluginguibase.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
 
** QgsNorthArrowPluginGuiBase meta object code from reading C++ file 'pluginguibase.h'
3
 
**
4
 
** Created: Fri Nov 4 14:26:06 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 "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.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 *QgsNorthArrowPluginGuiBase::className() const
23
 
{
24
 
    return "QgsNorthArrowPluginGuiBase";
25
 
}
26
 
 
27
 
QMetaObject *QgsNorthArrowPluginGuiBase::metaObj = 0;
28
 
static QMetaObjectCleanUp cleanUp_QgsNorthArrowPluginGuiBase( "QgsNorthArrowPluginGuiBase", &QgsNorthArrowPluginGuiBase::staticMetaObject );
29
 
 
30
 
#ifndef QT_NO_TRANSLATION
31
 
QString QgsNorthArrowPluginGuiBase::tr( const char *s, const char *c )
32
 
{
33
 
    if ( qApp )
34
 
        return qApp->translate( "QgsNorthArrowPluginGuiBase", s, c, QApplication::DefaultCodec );
35
 
    else
36
 
        return QString::fromLatin1( s );
37
 
}
38
 
#ifndef QT_NO_TRANSLATION_UTF8
39
 
QString QgsNorthArrowPluginGuiBase::trUtf8( const char *s, const char *c )
40
 
{
41
 
    if ( qApp )
42
 
        return qApp->translate( "QgsNorthArrowPluginGuiBase", 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* QgsNorthArrowPluginGuiBase::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
 
        "QgsNorthArrowPluginGuiBase", 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_QgsNorthArrowPluginGuiBase.setMetaObject( metaObj );
98
 
    return metaObj;
99
 
}
100
 
 
101
 
void* QgsNorthArrowPluginGuiBase::qt_cast( const char* clname )
102
 
{
103
 
    if ( !qstrcmp( clname, "QgsNorthArrowPluginGuiBase" ) )
104
 
        return this;
105
 
    return QDialog::qt_cast( clname );
106
 
}
107
 
 
108
 
bool QgsNorthArrowPluginGuiBase::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 QgsNorthArrowPluginGuiBase::qt_emit( int _id, QUObject* _o )
126
 
{
127
 
    return QDialog::qt_emit(_id,_o);
128
 
}
129
 
#ifndef QT_NO_PROPERTIES
130
 
 
131
 
bool QgsNorthArrowPluginGuiBase::qt_property( int id, int f, QVariant* v)
132
 
{
133
 
    return QDialog::qt_property( id, f, v);
134
 
}
135
 
 
136
 
bool QgsNorthArrowPluginGuiBase::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
137
 
#endif // QT_NO_PROPERTIES