00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "ksnapshotwidgetui.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 *KWebSnapWidgetUI::className() const
00023 {
00024 return "KWebSnapWidgetUI";
00025 }
00026
00027 QMetaObject *KWebSnapWidgetUI::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_KWebSnapWidgetUI( "KWebSnapWidgetUI", &KWebSnapWidgetUI::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString KWebSnapWidgetUI::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "KWebSnapWidgetUI", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString KWebSnapWidgetUI::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "KWebSnapWidgetUI", 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* KWebSnapWidgetUI::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = QWidget::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 static const QUMethod signal_0 = {"snapClicked", 0, 0 };
00074 static const QUMethod signal_1 = {"startClicked", 0, 0 };
00075 static const QUMethod signal_2 = {"stopClicked", 0, 0 };
00076 static const QUMethod signal_3 = {"aboutClicked", 0, 0 };
00077 static const QUMethod signal_4 = {"quitClicked", 0, 0 };
00078 static const QUMethod signal_5 = {"configClicked", 0, 0 };
00079 static const QUMethod signal_6 = {"helpClicked", 0, 0 };
00080 static const QMetaData signal_tbl[] = {
00081 { "snapClicked()", &signal_0, QMetaData::Public },
00082 { "startClicked()", &signal_1, QMetaData::Public },
00083 { "stopClicked()", &signal_2, QMetaData::Public },
00084 { "aboutClicked()", &signal_3, QMetaData::Public },
00085 { "quitClicked()", &signal_4, QMetaData::Public },
00086 { "configClicked()", &signal_5, QMetaData::Public },
00087 { "helpClicked()", &signal_6, QMetaData::Public }
00088 };
00089 metaObj = QMetaObject::new_metaobject(
00090 "KWebSnapWidgetUI", parentObject,
00091 slot_tbl, 8,
00092 signal_tbl, 7,
00093 #ifndef QT_NO_PROPERTIES
00094 0, 0,
00095 0, 0,
00096 #endif
00097 0, 0 );
00098 cleanUp_KWebSnapWidgetUI.setMetaObject( metaObj );
00099 return metaObj;
00100 }
00101
00102 void* KWebSnapWidgetUI::qt_cast( const char* clname )
00103 {
00104 if ( !qstrcmp( clname, "KWebSnapWidgetUI" ) )
00105 return this;
00106 return QWidget::qt_cast( clname );
00107 }
00108
00109
00110 void KWebSnapWidgetUI::snapClicked()
00111 {
00112 activate_signal( staticMetaObject()->signalOffset() + 0 );
00113 }
00114
00115
00116 void KWebSnapWidgetUI::startClicked()
00117 {
00118 activate_signal( staticMetaObject()->signalOffset() + 1 );
00119 }
00120
00121
00122 void KWebSnapWidgetUI::stopClicked()
00123 {
00124 activate_signal( staticMetaObject()->signalOffset() + 2 );
00125 }
00126
00127
00128 void KWebSnapWidgetUI::aboutClicked()
00129 {
00130 activate_signal( staticMetaObject()->signalOffset() + 3 );
00131 }
00132
00133
00134 void KWebSnapWidgetUI::quitClicked()
00135 {
00136 activate_signal( staticMetaObject()->signalOffset() + 4 );
00137 }
00138
00139
00140 void KWebSnapWidgetUI::configClicked()
00141 {
00142 activate_signal( staticMetaObject()->signalOffset() + 5 );
00143 }
00144
00145
00146 void KWebSnapWidgetUI::helpClicked()
00147 {
00148 activate_signal( staticMetaObject()->signalOffset() + 6 );
00149 }
00150
00151 bool KWebSnapWidgetUI::qt_invoke( int _id, QUObject* _o )
00152 {
00153 switch ( _id - staticMetaObject()->slotOffset() ) {
00154 case 0: slotSnapshot(); break;
00155 case 1: slotStart(); break;
00156 case 2: slotStop(); break;
00157 case 3: slotAbout(); break;
00158 case 4: slotQuit(); break;
00159 case 5: slotConfig(); break;
00160 case 6: slotHelp(); break;
00161 case 7: languageChange(); break;
00162 default:
00163 return QWidget::qt_invoke( _id, _o );
00164 }
00165 return TRUE;
00166 }
00167
00168 bool KWebSnapWidgetUI::qt_emit( int _id, QUObject* _o )
00169 {
00170 switch ( _id - staticMetaObject()->signalOffset() ) {
00171 case 0: snapClicked(); break;
00172 case 1: startClicked(); break;
00173 case 2: stopClicked(); break;
00174 case 3: aboutClicked(); break;
00175 case 4: quitClicked(); break;
00176 case 5: configClicked(); break;
00177 case 6: helpClicked(); break;
00178 default:
00179 return QWidget::qt_emit(_id,_o);
00180 }
00181 return TRUE;
00182 }
00183 #ifndef QT_NO_PROPERTIES
00184
00185 bool KWebSnapWidgetUI::qt_property( int id, int f, QVariant* v)
00186 {
00187 return QWidget::qt_property( id, f, v);
00188 }
00189
00190 bool KWebSnapWidgetUI::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00191 #endif // QT_NO_PROPERTIES