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