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