00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "optiondialog.h"
00012 #include <qmetaobject.h>
00013 #include <qapplication.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 Qt."
00019 #error "(The moc has changed too much.)"
00020 #endif
00021
00022 const char *OptionDialog::className() const
00023 {
00024 return "OptionDialog";
00025 }
00026
00027 QMetaObject *OptionDialog::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_OptionDialog( "OptionDialog", &OptionDialog::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString OptionDialog::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "OptionDialog", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString OptionDialog::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "OptionDialog", s, c, QApplication::UnicodeUTF8 );
00043 else
00044 return QString::fromUtf8( s );
00045 }
00046 #endif // QT_NO_TRANSLATION_UTF8
00047
00048 #endif // QT_NO_TRANSLATION
00049
00050 QMetaObject* OptionDialog::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = OptionDlg::staticMetaObject();
00055 static const QUMethod slot_0 = {"slotButtonAddClicked", 0, 0 };
00056 static const QUMethod slot_1 = {"slotButtonEditClicked", 0, 0 };
00057 static const QUMethod slot_2 = {"slotButtonCopyClicked", 0, 0 };
00058 static const QUMethod slot_3 = {"slotButtonDeleteClicked", 0, 0 };
00059 static const QUMethod slot_4 = {"slotButtonOkClicked", 0, 0 };
00060 static const QUParameter param_slot_5[] = {
00061 { "index", &static_QUType_int, 0, QUParameter::In }
00062 };
00063 static const QUMethod slot_5 = {"slotAccountActivated", 1, param_slot_5 };
00064 static const QUMethod slot_6 = {"slotSavePasswordToggled", 0, 0 };
00065 static const QUMethod slot_7 = {"slotButtonSelectSoundFile", 0, 0 };
00066 static const QUMethod slot_8 = {"slotMinimizeNoMailClicked", 0, 0 };
00067 static const QUMethod slot_9 = {"slotTerminateNoMailClicked", 0, 0 };
00068 static const QUMethod slot_10 = {"slotSoundTest", 0, 0 };
00069 static const QUMethod slot_11 = {"slotExternalProgTest", 0, 0 };
00070 static const QMetaData slot_tbl[] = {
00071 { "slotButtonAddClicked()", &slot_0, QMetaData::Public },
00072 { "slotButtonEditClicked()", &slot_1, QMetaData::Public },
00073 { "slotButtonCopyClicked()", &slot_2, QMetaData::Public },
00074 { "slotButtonDeleteClicked()", &slot_3, QMetaData::Public },
00075 { "slotButtonOkClicked()", &slot_4, QMetaData::Public },
00076 { "slotAccountActivated(int)", &slot_5, QMetaData::Public },
00077 { "slotSavePasswordToggled()", &slot_6, QMetaData::Public },
00078 { "slotButtonSelectSoundFile()", &slot_7, QMetaData::Public },
00079 { "slotMinimizeNoMailClicked()", &slot_8, QMetaData::Public },
00080 { "slotTerminateNoMailClicked()", &slot_9, QMetaData::Public },
00081 { "slotSoundTest()", &slot_10, QMetaData::Public },
00082 { "slotExternalProgTest()", &slot_11, QMetaData::Public }
00083 };
00084 metaObj = QMetaObject::new_metaobject(
00085 "OptionDialog", parentObject,
00086 slot_tbl, 12,
00087 0, 0,
00088 #ifndef QT_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::qt_cast( const char* clname )
00098 {
00099 if ( !qstrcmp( clname, "OptionDialog" ) )
00100 return this;
00101 return OptionDlg::qt_cast( clname );
00102 }
00103
00104 bool OptionDialog::qt_invoke( int _id, QUObject* _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::qt_invoke( _id, _o );
00121 }
00122 return TRUE;
00123 }
00124
00125 bool OptionDialog::qt_emit( int _id, QUObject* _o )
00126 {
00127 return OptionDlg::qt_emit(_id,_o);
00128 }
00129 #ifndef QT_NO_PROPERTIES
00130
00131 bool OptionDialog::qt_property( int id, int f, QVariant* v)
00132 {
00133 return OptionDlg::qt_property( id, f, v);
00134 }
00135
00136 bool OptionDialog::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00137 #endif // QT_NO_PROPERTIES