00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "ServerDlg.h"
00012 #include <ntqmetaobject.h>
00013 #include <ntqapplication.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 TQt."
00019 #error "(The moc has changed too much.)"
00020 #endif
00021
00022 const char *ServerDlg::className() const
00023 {
00024 return "ServerDlg";
00025 }
00026
00027 TQMetaObject *ServerDlg::metaObj = 0;
00028 static TQMetaObjectCleanUp cleanUp_ServerDlg( "ServerDlg", &ServerDlg::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 TQString ServerDlg::tr( const char *s, const char *c )
00032 {
00033 if ( tqApp )
00034 return tqApp->translate( "ServerDlg", s, c, TQApplication::DefaultCodec );
00035 else
00036 return TQString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 TQString ServerDlg::trUtf8( const char *s, const char *c )
00040 {
00041 if ( tqApp )
00042 return tqApp->translate( "ServerDlg", s, c, TQApplication::UnicodeUTF8 );
00043 else
00044 return TQString::fromUtf8( s );
00045 }
00046 #endif // QT_NO_TRANSLATION_UTF8
00047
00048 #endif // QT_NO_TRANSLATION
00049
00050 TQMetaObject* ServerDlg::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 TQMetaObject* parentObject = TQDialog::staticMetaObject();
00055 static const TQUMethod slot_0 = {"slotButtonOkClicked", 0, 0 };
00056 static const TQUMethod slot_1 = {"languageChange", 0, 0 };
00057 static const TQMetaData slot_tbl[] = {
00058 { "slotButtonOkClicked()", &slot_0, TQMetaData::Public },
00059 { "languageChange()", &slot_1, TQMetaData::Protected }
00060 };
00061 metaObj = TQMetaObject::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::tqt_cast( const char* clname )
00075 {
00076 if ( !qstrcmp( clname, "ServerDlg" ) )
00077 return this;
00078 return TQDialog::tqt_cast( clname );
00079 }
00080
00081 bool ServerDlg::tqt_invoke( int _id, TQUObject* _o )
00082 {
00083 switch ( _id - staticMetaObject()->slotOffset() ) {
00084 case 0: slotButtonOkClicked(); break;
00085 case 1: languageChange(); break;
00086 default:
00087 return TQDialog::tqt_invoke( _id, _o );
00088 }
00089 return TRUE;
00090 }
00091
00092 bool ServerDlg::tqt_emit( int _id, TQUObject* _o )
00093 {
00094 return TQDialog::tqt_emit(_id,_o);
00095 }
00096 #ifndef QT_NO_PROPERTIES
00097
00098 bool ServerDlg::tqt_property( int id, int f, TQVariant* v)
00099 {
00100 return TQDialog::tqt_property( id, f, v);
00101 }
00102
00103 bool ServerDlg::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
00104 #endif // QT_NO_PROPERTIES