00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "alertdialog.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 *AlertDialog::className() const
00023 {
00024 return "AlertDialog";
00025 }
00026
00027 QMetaObject *AlertDialog::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_AlertDialog( "AlertDialog", &AlertDialog::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString AlertDialog::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "AlertDialog", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString AlertDialog::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "AlertDialog", 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* AlertDialog::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = AlertDlg::staticMetaObject();
00055 static const QUMethod slot_0 = {"slotOk", 0, 0 };
00056 static const QMetaData slot_tbl[] = {
00057 { "slotOk()", &slot_0, QMetaData::Public }
00058 };
00059 static const QUMethod signal_0 = {"signalOk", 0, 0 };
00060 static const QMetaData signal_tbl[] = {
00061 { "signalOk()", &signal_0, QMetaData::Public }
00062 };
00063 metaObj = QMetaObject::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::qt_cast( const char* clname )
00077 {
00078 if ( !qstrcmp( clname, "AlertDialog" ) )
00079 return this;
00080 return AlertDlg::qt_cast( clname );
00081 }
00082
00083
00084 void AlertDialog::signalOk()
00085 {
00086 activate_signal( staticMetaObject()->signalOffset() + 0 );
00087 }
00088
00089 bool AlertDialog::qt_invoke( int _id, QUObject* _o )
00090 {
00091 switch ( _id - staticMetaObject()->slotOffset() ) {
00092 case 0: slotOk(); break;
00093 default:
00094 return AlertDlg::qt_invoke( _id, _o );
00095 }
00096 return TRUE;
00097 }
00098
00099 bool AlertDialog::qt_emit( int _id, QUObject* _o )
00100 {
00101 switch ( _id - staticMetaObject()->signalOffset() ) {
00102 case 0: signalOk(); break;
00103 default:
00104 return AlertDlg::qt_emit(_id,_o);
00105 }
00106 return TRUE;
00107 }
00108 #ifndef QT_NO_PROPERTIES
00109
00110 bool AlertDialog::qt_property( int id, int f, QVariant* v)
00111 {
00112 return AlertDlg::qt_property( id, f, v);
00113 }
00114
00115 bool AlertDialog::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00116 #endif // QT_NO_PROPERTIES