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

« back to all changes in this revision

Viewing changes to plugins/spit/qgsmessageviewerbase.moc.cpp.debdiff

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2006-07-09 00:06:30 UTC
  • Revision ID: james.westby@ubuntu.com-20060709000630-wak0it0xlwhfab4d
Tags: 0.7.4-4.1ubuntu1
* Re-sync with Debian
* Re-Add desktop file from Phil Bull (Closes Malone: #36436)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/****************************************************************************
2
 
** QgsMessageViewerBase meta object code from reading C++ file 'qgsmessageviewerbase.h'
3
 
**
4
 
** Created: Mon Apr 26 10:41:06 2004
5
 
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.2.3   edited Nov 10 11:18 $)
6
 
**
7
 
** WARNING! All changes made in this file will be lost!
8
 
*****************************************************************************/
9
 
 
10
 
#undef QT_NO_COMPAT
11
 
#include "qgsmessageviewerbase.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.2.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 *QgsMessageViewerBase::className() const
23
 
{
24
 
    return "QgsMessageViewerBase";
25
 
}
26
 
 
27
 
QMetaObject *QgsMessageViewerBase::metaObj = 0;
28
 
static QMetaObjectCleanUp cleanUp_QgsMessageViewerBase( "QgsMessageViewerBase", &QgsMessageViewerBase::staticMetaObject );
29
 
 
30
 
#ifndef QT_NO_TRANSLATION
31
 
QString QgsMessageViewerBase::tr( const char *s, const char *c )
32
 
{
33
 
    if ( qApp )
34
 
        return qApp->translate( "QgsMessageViewerBase", s, c, QApplication::DefaultCodec );
35
 
    else
36
 
        return QString::fromLatin1( s );
37
 
}
38
 
#ifndef QT_NO_TRANSLATION_UTF8
39
 
QString QgsMessageViewerBase::trUtf8( const char *s, const char *c )
40
 
{
41
 
    if ( qApp )
42
 
        return qApp->translate( "QgsMessageViewerBase", 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* QgsMessageViewerBase::staticMetaObject()
51
 
{
52
 
    if ( metaObj )
53
 
        return metaObj;
54
 
    QMetaObject* parentObject = QDialog::staticMetaObject();
55
 
    static const QUParameter param_slot_0[] = {
56
 
        { "msg", &static_QUType_QString, 0, QUParameter::In }
57
 
    };
58
 
    static const QUMethod slot_0 = {"setMessage", 1, param_slot_0 };
59
 
    static const QUMethod slot_1 = {"languageChange", 0, 0 };
60
 
    static const QMetaData slot_tbl[] = {
61
 
        { "setMessage(QString)", &slot_0, QMetaData::Public },
62
 
        { "languageChange()", &slot_1, QMetaData::Protected }
63
 
    };
64
 
    metaObj = QMetaObject::new_metaobject(
65
 
        "QgsMessageViewerBase", parentObject,
66
 
        slot_tbl, 2,
67
 
        0, 0,
68
 
#ifndef QT_NO_PROPERTIES
69
 
        0, 0,
70
 
        0, 0,
71
 
#endif // QT_NO_PROPERTIES
72
 
        0, 0 );
73
 
    cleanUp_QgsMessageViewerBase.setMetaObject( metaObj );
74
 
    return metaObj;
75
 
}
76
 
 
77
 
void* QgsMessageViewerBase::qt_cast( const char* clname )
78
 
{
79
 
    if ( !qstrcmp( clname, "QgsMessageViewerBase" ) )
80
 
        return this;
81
 
    return QDialog::qt_cast( clname );
82
 
}
83
 
 
84
 
bool QgsMessageViewerBase::qt_invoke( int _id, QUObject* _o )
85
 
{
86
 
    switch ( _id - staticMetaObject()->slotOffset() ) {
87
 
    case 0: setMessage((QString)static_QUType_QString.get(_o+1)); break;
88
 
    case 1: languageChange(); break;
89
 
    default:
90
 
        return QDialog::qt_invoke( _id, _o );
91
 
    }
92
 
    return TRUE;
93
 
}
94
 
 
95
 
bool QgsMessageViewerBase::qt_emit( int _id, QUObject* _o )
96
 
{
97
 
    return QDialog::qt_emit(_id,_o);
98
 
}
99
 
#ifndef QT_NO_PROPERTIES
100
 
 
101
 
bool QgsMessageViewerBase::qt_property( int id, int f, QVariant* v)
102
 
{
103
 
    return QDialog::qt_property( id, f, v);
104
 
}
105
 
 
106
 
bool QgsMessageViewerBase::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
107
 
#endif // QT_NO_PROPERTIES