00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef TQT_NO_COMPAT
00011 #include "CommandEntryDlg.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 *CommandEntryDlg::className() const
00023 {
00024 return "CommandEntryDlg";
00025 }
00026
00027 TQMetaObject *CommandEntryDlg::metaObj = 0;
00028 static TQMetaObjectCleanUp cleanUp_CommandEntryDlg( "CommandEntryDlg", &CommandEntryDlg::staticMetaObject );
00029
00030 #ifndef TQT_NO_TRANSLATION
00031 TQString CommandEntryDlg::tr( const char *s, const char *c )
00032 {
00033 if ( tqApp )
00034 return tqApp->translate( "CommandEntryDlg", s, c, TQApplication::DefaultCodec );
00035 else
00036 return TQString::fromLatin1( s );
00037 }
00038 #ifndef TQT_NO_TRANSLATION_UTF8
00039 TQString CommandEntryDlg::trUtf8( const char *s, const char *c )
00040 {
00041 if ( tqApp )
00042 return tqApp->translate( "CommandEntryDlg", s, c, TQApplication::UnicodeUTF8 );
00043 else
00044 return TQString::fromUtf8( s );
00045 }
00046 #endif // TQT_NO_TRANSLATION_UTF8
00047
00048 #endif // TQT_NO_TRANSLATION
00049
00050 TQMetaObject* CommandEntryDlg::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 TQMetaObject* parentObject = TQDialog::staticMetaObject();
00055 static const TQUMethod slot_0 = {"slotOk", 0, 0 };
00056 static const TQUMethod slot_1 = {"slotPath", 0, 0 };
00057 static const TQUMethod slot_2 = {"slotTest", 0, 0 };
00058 static const TQUMethod slot_3 = {"languageChange", 0, 0 };
00059 static const TQMetaData slot_tbl[] = {
00060 { "slotOk()", &slot_0, TQMetaData::Public },
00061 { "slotPath()", &slot_1, TQMetaData::Public },
00062 { "slotTest()", &slot_2, TQMetaData::Public },
00063 { "languageChange()", &slot_3, TQMetaData::Protected }
00064 };
00065 metaObj = TQMetaObject::new_metaobject(
00066 "CommandEntryDlg", parentObject,
00067 slot_tbl, 4,
00068 0, 0,
00069 #ifndef TQT_NO_PROPERTIES
00070 0, 0,
00071 0, 0,
00072 #endif
00073 0, 0 );
00074 cleanUp_CommandEntryDlg.setMetaObject( metaObj );
00075 return metaObj;
00076 }
00077
00078 void* CommandEntryDlg::tqt_cast( const char* clname )
00079 {
00080 if ( !qstrcmp( clname, "CommandEntryDlg" ) )
00081 return this;
00082 return TQDialog::tqt_cast( clname );
00083 }
00084
00085 bool CommandEntryDlg::tqt_invoke( int _id, TQUObject* _o )
00086 {
00087 switch ( _id - staticMetaObject()->slotOffset() ) {
00088 case 0: slotOk(); break;
00089 case 1: slotPath(); break;
00090 case 2: slotTest(); break;
00091 case 3: languageChange(); break;
00092 default:
00093 return TQDialog::tqt_invoke( _id, _o );
00094 }
00095 return TRUE;
00096 }
00097
00098 bool CommandEntryDlg::tqt_emit( int _id, TQUObject* _o )
00099 {
00100 return TQDialog::tqt_emit(_id,_o);
00101 }
00102 #ifndef TQT_NO_PROPERTIES
00103
00104 bool CommandEntryDlg::tqt_property( int id, int f, TQVariant* v)
00105 {
00106 return TQDialog::tqt_property( id, f, v);
00107 }
00108
00109 bool CommandEntryDlg::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
00110 #endif // TQT_NO_PROPERTIES