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