00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "restoreoutput.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 *RestoreOutput::className() const
00023 {
00024 return "RestoreOutput";
00025 }
00026
00027 QMetaObject *RestoreOutput::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_RestoreOutput( "RestoreOutput", &RestoreOutput::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString RestoreOutput::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "RestoreOutput", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString RestoreOutput::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "RestoreOutput", 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* RestoreOutput::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = restoreoutputdlg::staticMetaObject();
00055 static const QUMethod slot_0 = {"btnClose_clicked", 0, 0 };
00056 static const QUParameter param_slot_1[] = {
00057 { "e", &static_QUType_ptr, "QCloseEvent", QUParameter::In }
00058 };
00059 static const QUMethod slot_1 = {"closeEvent", 1, param_slot_1 };
00060 static const QMetaData slot_tbl[] = {
00061 { "btnClose_clicked()", &slot_0, QMetaData::Public },
00062 { "closeEvent(QCloseEvent*)", &slot_1, QMetaData::Public }
00063 };
00064 metaObj = QMetaObject::new_metaobject(
00065 "RestoreOutput", parentObject,
00066 slot_tbl, 2,
00067 0, 0,
00068 #ifndef QT_NO_PROPERTIES
00069 0, 0,
00070 0, 0,
00071 #endif
00072 0, 0 );
00073 cleanUp_RestoreOutput.setMetaObject( metaObj );
00074 return metaObj;
00075 }
00076
00077 void* RestoreOutput::qt_cast( const char* clname )
00078 {
00079 if ( !qstrcmp( clname, "RestoreOutput" ) )
00080 return this;
00081 return restoreoutputdlg::qt_cast( clname );
00082 }
00083
00084 bool RestoreOutput::qt_invoke( int _id, QUObject* _o )
00085 {
00086 switch ( _id - staticMetaObject()->slotOffset() ) {
00087 case 0: btnClose_clicked(); break;
00088 case 1: closeEvent((QCloseEvent*)static_QUType_ptr.get(_o+1)); break;
00089 default:
00090 return restoreoutputdlg::qt_invoke( _id, _o );
00091 }
00092 return TRUE;
00093 }
00094
00095 bool RestoreOutput::qt_emit( int _id, QUObject* _o )
00096 {
00097 return restoreoutputdlg::qt_emit(_id,_o);
00098 }
00099 #ifndef QT_NO_PROPERTIES
00100
00101 bool RestoreOutput::qt_property( int id, int f, QVariant* v)
00102 {
00103 return restoreoutputdlg::qt_property( id, f, v);
00104 }
00105
00106 bool RestoreOutput::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00107 #endif // QT_NO_PROPERTIES