00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "kwebsnapdlg.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.3. 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 *KWebSnapDlg::className() const
00023 {
00024 return "KWebSnapDlg";
00025 }
00026
00027 QMetaObject *KWebSnapDlg::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_KWebSnapDlg( "KWebSnapDlg", &KWebSnapDlg::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString KWebSnapDlg::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "KWebSnapDlg", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString KWebSnapDlg::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "KWebSnapDlg", 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* KWebSnapDlg::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = QDialog::staticMetaObject();
00055 static const QUMethod slot_0 = {"slotSnapshot", 0, 0 };
00056 static const QUMethod slot_1 = {"slotStart", 0, 0 };
00057 static const QUMethod slot_2 = {"slotStop", 0, 0 };
00058 static const QUMethod slot_3 = {"slotAbout", 0, 0 };
00059 static const QUMethod slot_4 = {"slotQuit", 0, 0 };
00060 static const QUMethod slot_5 = {"slotConfig", 0, 0 };
00061 static const QUMethod slot_6 = {"slotHelp", 0, 0 };
00062 static const QUMethod slot_7 = {"languageChange", 0, 0 };
00063 static const QMetaData slot_tbl[] = {
00064 { "slotSnapshot()", &slot_0, QMetaData::Public },
00065 { "slotStart()", &slot_1, QMetaData::Public },
00066 { "slotStop()", &slot_2, QMetaData::Public },
00067 { "slotAbout()", &slot_3, QMetaData::Public },
00068 { "slotQuit()", &slot_4, QMetaData::Public },
00069 { "slotConfig()", &slot_5, QMetaData::Public },
00070 { "slotHelp()", &slot_6, QMetaData::Public },
00071 { "languageChange()", &slot_7, QMetaData::Protected }
00072 };
00073 metaObj = QMetaObject::new_metaobject(
00074 "KWebSnapDlg", parentObject,
00075 slot_tbl, 8,
00076 0, 0,
00077 #ifndef QT_NO_PROPERTIES
00078 0, 0,
00079 0, 0,
00080 #endif
00081 0, 0 );
00082 cleanUp_KWebSnapDlg.setMetaObject( metaObj );
00083 return metaObj;
00084 }
00085
00086 void* KWebSnapDlg::qt_cast( const char* clname )
00087 {
00088 if ( !qstrcmp( clname, "KWebSnapDlg" ) )
00089 return this;
00090 return QDialog::qt_cast( clname );
00091 }
00092
00093 bool KWebSnapDlg::qt_invoke( int _id, QUObject* _o )
00094 {
00095 switch ( _id - staticMetaObject()->slotOffset() ) {
00096 case 0: slotSnapshot(); break;
00097 case 1: slotStart(); break;
00098 case 2: slotStop(); break;
00099 case 3: slotAbout(); break;
00100 case 4: slotQuit(); break;
00101 case 5: slotConfig(); break;
00102 case 6: slotHelp(); break;
00103 case 7: languageChange(); break;
00104 default:
00105 return QDialog::qt_invoke( _id, _o );
00106 }
00107 return TRUE;
00108 }
00109
00110 bool KWebSnapDlg::qt_emit( int _id, QUObject* _o )
00111 {
00112 return QDialog::qt_emit(_id,_o);
00113 }
00114 #ifndef QT_NO_PROPERTIES
00115
00116 bool KWebSnapDlg::qt_property( int id, int f, QVariant* v)
00117 {
00118 return QDialog::qt_property( id, f, v);
00119 }
00120
00121 bool KWebSnapDlg::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00122 #endif // QT_NO_PROPERTIES