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