00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "restore.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 *Restore::className() const
00023 {
00024 return "Restore";
00025 }
00026
00027 QMetaObject *Restore::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_Restore( "Restore", &Restore::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString Restore::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "Restore", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString Restore::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "Restore", 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* Restore::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = restoreDlg::staticMetaObject();
00055 static const QUMethod slot_0 = {"btnCancelRestore_clicked", 0, 0 };
00056 static const QUMethod slot_1 = {"btnStartRestore_clicked", 0, 0 };
00057 static const QUMethod slot_2 = {"btnMountRev_clicked", 0, 0 };
00058 static const QUMethod slot_3 = {"btnMountServer_clicked", 0, 0 };
00059 static const QUParameter param_slot_4[] = {
00060 { "string", &static_QUType_QString, 0, QUParameter::In }
00061 };
00062 static const QUMethod slot_4 = {"cmbSerial_activated", 1, param_slot_4 };
00063 static const QUParameter param_slot_5[] = {
00064 { "string", &static_QUType_QString, 0, QUParameter::In }
00065 };
00066 static const QUMethod slot_5 = {"cmbDate_activated", 1, param_slot_5 };
00067 static const QUMethod slot_6 = {"radRev_clicked", 0, 0 };
00068 static const QUMethod slot_7 = {"radServer_clicked", 0, 0 };
00069 static const QUMethod slot_8 = {"readFromStdout", 0, 0 };
00070 static const QUMethod slot_9 = {"readFromStderr", 0, 0 };
00071 static const QUParameter param_slot_10[] = {
00072 { "e", &static_QUType_ptr, "QCloseEvent", QUParameter::In }
00073 };
00074 static const QUMethod slot_10 = {"closeEvent", 1, param_slot_10 };
00075 static const QMetaData slot_tbl[] = {
00076 { "btnCancelRestore_clicked()", &slot_0, QMetaData::Public },
00077 { "btnStartRestore_clicked()", &slot_1, QMetaData::Public },
00078 { "btnMountRev_clicked()", &slot_2, QMetaData::Public },
00079 { "btnMountServer_clicked()", &slot_3, QMetaData::Public },
00080 { "cmbSerial_activated(const QString&)", &slot_4, QMetaData::Public },
00081 { "cmbDate_activated(const QString&)", &slot_5, QMetaData::Public },
00082 { "radRev_clicked()", &slot_6, QMetaData::Public },
00083 { "radServer_clicked()", &slot_7, QMetaData::Public },
00084 { "readFromStdout()", &slot_8, QMetaData::Public },
00085 { "readFromStderr()", &slot_9, QMetaData::Public },
00086 { "closeEvent(QCloseEvent*)", &slot_10, QMetaData::Public }
00087 };
00088 metaObj = QMetaObject::new_metaobject(
00089 "Restore", parentObject,
00090 slot_tbl, 11,
00091 0, 0,
00092 #ifndef QT_NO_PROPERTIES
00093 0, 0,
00094 0, 0,
00095 #endif
00096 0, 0 );
00097 cleanUp_Restore.setMetaObject( metaObj );
00098 return metaObj;
00099 }
00100
00101 void* Restore::qt_cast( const char* clname )
00102 {
00103 if ( !qstrcmp( clname, "Restore" ) )
00104 return this;
00105 return restoreDlg::qt_cast( clname );
00106 }
00107
00108 bool Restore::qt_invoke( int _id, QUObject* _o )
00109 {
00110 switch ( _id - staticMetaObject()->slotOffset() ) {
00111 case 0: btnCancelRestore_clicked(); break;
00112 case 1: btnStartRestore_clicked(); break;
00113 case 2: btnMountRev_clicked(); break;
00114 case 3: btnMountServer_clicked(); break;
00115 case 4: cmbSerial_activated((const QString&)static_QUType_QString.get(_o+1)); break;
00116 case 5: cmbDate_activated((const QString&)static_QUType_QString.get(_o+1)); break;
00117 case 6: radRev_clicked(); break;
00118 case 7: radServer_clicked(); break;
00119 case 8: readFromStdout(); break;
00120 case 9: readFromStderr(); break;
00121 case 10: closeEvent((QCloseEvent*)static_QUType_ptr.get(_o+1)); break;
00122 default:
00123 return restoreDlg::qt_invoke( _id, _o );
00124 }
00125 return TRUE;
00126 }
00127
00128 bool Restore::qt_emit( int _id, QUObject* _o )
00129 {
00130 return restoreDlg::qt_emit(_id,_o);
00131 }
00132 #ifndef QT_NO_PROPERTIES
00133
00134 bool Restore::qt_property( int id, int f, QVariant* v)
00135 {
00136 return restoreDlg::qt_property( id, f, v);
00137 }
00138
00139 bool Restore::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00140 #endif // QT_NO_PROPERTIES