00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef TQT_NO_COMPAT
00011 #include "OptionDlg.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 *OptionDlg::className() const
00023 {
00024 return "OptionDlg";
00025 }
00026
00027 TQMetaObject *OptionDlg::metaObj = 0;
00028 static TQMetaObjectCleanUp cleanUp_OptionDlg( "OptionDlg", &OptionDlg::staticMetaObject );
00029
00030 #ifndef TQT_NO_TRANSLATION
00031 TQString OptionDlg::tr( const char *s, const char *c )
00032 {
00033 if ( tqApp )
00034 return tqApp->translate( "OptionDlg", s, c, TQApplication::DefaultCodec );
00035 else
00036 return TQString::fromLatin1( s );
00037 }
00038 #ifndef TQT_NO_TRANSLATION_UTF8
00039 TQString OptionDlg::trUtf8( const char *s, const char *c )
00040 {
00041 if ( tqApp )
00042 return tqApp->translate( "OptionDlg", 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* OptionDlg::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 TQMetaObject* parentObject = TQDialog::staticMetaObject();
00055 static const TQUMethod slot_0 = {"slotExternalProgTest", 0, 0 };
00056 static const TQUParameter param_slot_1[] = {
00057 { 0, &static_QUType_int, 0, TQUParameter::In }
00058 };
00059 static const TQUMethod slot_1 = {"slotAccountActivated", 1, param_slot_1 };
00060 static const TQUMethod slot_2 = {"slotButtonAddClicked", 0, 0 };
00061 static const TQUMethod slot_3 = {"slotButtonCopyClicked", 0, 0 };
00062 static const TQUMethod slot_4 = {"slotButtonDeleteClicked", 0, 0 };
00063 static const TQUMethod slot_5 = {"slotButtonEditClicked", 0, 0 };
00064 static const TQUMethod slot_6 = {"slotButtonOkClicked", 0, 0 };
00065 static const TQUMethod slot_7 = {"slotButtonSelectSoundFile", 0, 0 };
00066 static const TQUMethod slot_8 = {"slotMinimizeNoMailClicked", 0, 0 };
00067 static const TQUMethod slot_9 = {"slotSavePasswordToggled", 0, 0 };
00068 static const TQUMethod slot_10 = {"slotSoundTest", 0, 0 };
00069 static const TQUMethod slot_11 = {"slotTerminateNoMailClicked", 0, 0 };
00070 static const TQUMethod slot_12 = {"languageChange", 0, 0 };
00071 static const TQMetaData slot_tbl[] = {
00072 { "slotExternalProgTest()", &slot_0, TQMetaData::Public },
00073 { "slotAccountActivated(int)", &slot_1, TQMetaData::Public },
00074 { "slotButtonAddClicked()", &slot_2, TQMetaData::Public },
00075 { "slotButtonCopyClicked()", &slot_3, TQMetaData::Public },
00076 { "slotButtonDeleteClicked()", &slot_4, TQMetaData::Public },
00077 { "slotButtonEditClicked()", &slot_5, TQMetaData::Public },
00078 { "slotButtonOkClicked()", &slot_6, TQMetaData::Public },
00079 { "slotButtonSelectSoundFile()", &slot_7, TQMetaData::Public },
00080 { "slotMinimizeNoMailClicked()", &slot_8, TQMetaData::Public },
00081 { "slotSavePasswordToggled()", &slot_9, TQMetaData::Public },
00082 { "slotSoundTest()", &slot_10, TQMetaData::Public },
00083 { "slotTerminateNoMailClicked()", &slot_11, TQMetaData::Public },
00084 { "languageChange()", &slot_12, TQMetaData::Protected }
00085 };
00086 metaObj = TQMetaObject::new_metaobject(
00087 "OptionDlg", parentObject,
00088 slot_tbl, 13,
00089 0, 0,
00090 #ifndef TQT_NO_PROPERTIES
00091 0, 0,
00092 0, 0,
00093 #endif
00094 0, 0 );
00095 cleanUp_OptionDlg.setMetaObject( metaObj );
00096 return metaObj;
00097 }
00098
00099 void* OptionDlg::tqt_cast( const char* clname )
00100 {
00101 if ( !qstrcmp( clname, "OptionDlg" ) )
00102 return this;
00103 return TQDialog::tqt_cast( clname );
00104 }
00105
00106 bool OptionDlg::tqt_invoke( int _id, TQUObject* _o )
00107 {
00108 switch ( _id - staticMetaObject()->slotOffset() ) {
00109 case 0: slotExternalProgTest(); break;
00110 case 1: slotAccountActivated((int)static_QUType_int.get(_o+1)); break;
00111 case 2: slotButtonAddClicked(); break;
00112 case 3: slotButtonCopyClicked(); break;
00113 case 4: slotButtonDeleteClicked(); break;
00114 case 5: slotButtonEditClicked(); break;
00115 case 6: slotButtonOkClicked(); break;
00116 case 7: slotButtonSelectSoundFile(); break;
00117 case 8: slotMinimizeNoMailClicked(); break;
00118 case 9: slotSavePasswordToggled(); break;
00119 case 10: slotSoundTest(); break;
00120 case 11: slotTerminateNoMailClicked(); break;
00121 case 12: languageChange(); break;
00122 default:
00123 return TQDialog::tqt_invoke( _id, _o );
00124 }
00125 return TRUE;
00126 }
00127
00128 bool OptionDlg::tqt_emit( int _id, TQUObject* _o )
00129 {
00130 return TQDialog::tqt_emit(_id,_o);
00131 }
00132 #ifndef TQT_NO_PROPERTIES
00133
00134 bool OptionDlg::tqt_property( int id, int f, TQVariant* v)
00135 {
00136 return TQDialog::tqt_property( id, f, v);
00137 }
00138
00139 bool OptionDlg::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
00140 #endif // TQT_NO_PROPERTIES