00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "configuration.h"
00012 #include <qmetaobject.h>
00013 #include <qapplication.h>
00014
00015 #include <private/qucomextra_p.h>
00016 #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
00017 #error "This file was generated using the moc from 3.3.7. It"
00018 #error "cannot be used with the include files from this version of Qt."
00019 #error "(The moc has changed too much.)"
00020 #endif
00021
00022 const char *Configuration::className() const
00023 {
00024 return "Configuration";
00025 }
00026
00027 QMetaObject *Configuration::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_Configuration( "Configuration", &Configuration::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString Configuration::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "Configuration", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString Configuration::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "Configuration", s, c, QApplication::UnicodeUTF8 );
00043 else
00044 return QString::fromUtf8( s );
00045 }
00046 #endif // QT_NO_TRANSLATION_UTF8
00047
00048 #endif // QT_NO_TRANSLATION
00049
00050 QMetaObject* Configuration::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = ConfigurationDlg::staticMetaObject();
00055 static const QUMethod slot_0 = {"btnSave_clicked", 0, 0 };
00056 static const QUMethod slot_1 = {"btnCancel_clicked", 0, 0 };
00057 static const QUMethod slot_2 = {"btnDefaults_clicked", 0, 0 };
00058 static const QUParameter param_slot_3[] = {
00059 { "e", &static_QUType_ptr, "QCloseEvent", QUParameter::In }
00060 };
00061 static const QUMethod slot_3 = {"closeEvent", 1, param_slot_3 };
00062 static const QMetaData slot_tbl[] = {
00063 { "btnSave_clicked()", &slot_0, QMetaData::Public },
00064 { "btnCancel_clicked()", &slot_1, QMetaData::Public },
00065 { "btnDefaults_clicked()", &slot_2, QMetaData::Public },
00066 { "closeEvent(QCloseEvent*)", &slot_3, QMetaData::Public }
00067 };
00068 metaObj = QMetaObject::new_metaobject(
00069 "Configuration", parentObject,
00070 slot_tbl, 4,
00071 0, 0,
00072 #ifndef QT_NO_PROPERTIES
00073 0, 0,
00074 0, 0,
00075 #endif
00076 0, 0 );
00077 cleanUp_Configuration.setMetaObject( metaObj );
00078 return metaObj;
00079 }
00080
00081 void* Configuration::qt_cast( const char* clname )
00082 {
00083 if ( !qstrcmp( clname, "Configuration" ) )
00084 return this;
00085 return ConfigurationDlg::qt_cast( clname );
00086 }
00087
00088 bool Configuration::qt_invoke( int _id, QUObject* _o )
00089 {
00090 switch ( _id - staticMetaObject()->slotOffset() ) {
00091 case 0: btnSave_clicked(); break;
00092 case 1: btnCancel_clicked(); break;
00093 case 2: btnDefaults_clicked(); break;
00094 case 3: closeEvent((QCloseEvent*)static_QUType_ptr.get(_o+1)); break;
00095 default:
00096 return ConfigurationDlg::qt_invoke( _id, _o );
00097 }
00098 return TRUE;
00099 }
00100
00101 bool Configuration::qt_emit( int _id, QUObject* _o )
00102 {
00103 return ConfigurationDlg::qt_emit(_id,_o);
00104 }
00105 #ifndef QT_NO_PROPERTIES
00106
00107 bool Configuration::qt_property( int id, int f, QVariant* v)
00108 {
00109 return ConfigurationDlg::qt_property( id, f, v);
00110 }
00111
00112 bool Configuration::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00113 #endif // QT_NO_PROPERTIES