00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "kfeedback.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 *KFeedbackDialog::className() const
00023 {
00024 return "KFeedbackDialog";
00025 }
00026
00027 QMetaObject *KFeedbackDialog::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_KFeedbackDialog( "KFeedbackDialog", &KFeedbackDialog::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString KFeedbackDialog::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "KFeedbackDialog", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString KFeedbackDialog::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "KFeedbackDialog", 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* KFeedbackDialog::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = KDialogBase::staticMetaObject();
00055 static const QUMethod slot_0 = {"checkSendButton", 0, 0 };
00056 static const QMetaData slot_tbl[] = {
00057 { "checkSendButton()", &slot_0, QMetaData::Public }
00058 };
00059 static const QUMethod signal_0 = {"mailSent", 0, 0 };
00060 static const QMetaData signal_tbl[] = {
00061 { "mailSent()", &signal_0, QMetaData::Public }
00062 };
00063 metaObj = QMetaObject::new_metaobject(
00064 "KFeedbackDialog", 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_KFeedbackDialog.setMetaObject( metaObj );
00073 return metaObj;
00074 }
00075
00076 void* KFeedbackDialog::qt_cast( const char* clname )
00077 {
00078 if ( !qstrcmp( clname, "KFeedbackDialog" ) )
00079 return this;
00080 return KDialogBase::qt_cast( clname );
00081 }
00082
00083
00084 void KFeedbackDialog::mailSent()
00085 {
00086 activate_signal( staticMetaObject()->signalOffset() + 0 );
00087 }
00088
00089 bool KFeedbackDialog::qt_invoke( int _id, QUObject* _o )
00090 {
00091 switch ( _id - staticMetaObject()->slotOffset() ) {
00092 case 0: checkSendButton(); break;
00093 default:
00094 return KDialogBase::qt_invoke( _id, _o );
00095 }
00096 return TRUE;
00097 }
00098
00099 bool KFeedbackDialog::qt_emit( int _id, QUObject* _o )
00100 {
00101 switch ( _id - staticMetaObject()->signalOffset() ) {
00102 case 0: mailSent(); break;
00103 default:
00104 return KDialogBase::qt_emit(_id,_o);
00105 }
00106 return TRUE;
00107 }
00108 #ifndef QT_NO_PROPERTIES
00109
00110 bool KFeedbackDialog::qt_property( int id, int f, QVariant* v)
00111 {
00112 return KDialogBase::qt_property( id, f, v);
00113 }
00114
00115 bool KFeedbackDialog::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00116 #endif // QT_NO_PROPERTIES
00117
00118
00119 const char *KFeedbackForm::className() const
00120 {
00121 return "KFeedbackForm";
00122 }
00123
00124 QMetaObject *KFeedbackForm::metaObj = 0;
00125 static QMetaObjectCleanUp cleanUp_KFeedbackForm( "KFeedbackForm", &KFeedbackForm::staticMetaObject );
00126
00127 #ifndef QT_NO_TRANSLATION
00128 QString KFeedbackForm::tr( const char *s, const char *c )
00129 {
00130 if ( qApp )
00131 return qApp->translate( "KFeedbackForm", s, c, QApplication::DefaultCodec );
00132 else
00133 return QString::fromLatin1( s );
00134 }
00135 #ifndef QT_NO_TRANSLATION_UTF8
00136 QString KFeedbackForm::trUtf8( const char *s, const char *c )
00137 {
00138 if ( qApp )
00139 return qApp->translate( "KFeedbackForm", s, c, QApplication::UnicodeUTF8 );
00140 else
00141 return QString::fromUtf8( s );
00142 }
00143 #endif // QT_NO_TRANSLATION_UTF8
00144
00145 #endif // QT_NO_TRANSLATION
00146
00147 QMetaObject* KFeedbackForm::staticMetaObject()
00148 {
00149 if ( metaObj )
00150 return metaObj;
00151 QMetaObject* parentObject = QVBox::staticMetaObject();
00152 static const QUMethod slot_0 = {"sendMail", 0, 0 };
00153 static const QUMethod slot_1 = {"slotCheckComplete", 0, 0 };
00154 static const QMetaData slot_tbl[] = {
00155 { "sendMail()", &slot_0, QMetaData::Public },
00156 { "slotCheckComplete()", &slot_1, QMetaData::Protected }
00157 };
00158 static const QUMethod signal_0 = {"mailSent", 0, 0 };
00159 static const QUMethod signal_1 = {"checkComplete", 0, 0 };
00160 static const QMetaData signal_tbl[] = {
00161 { "mailSent()", &signal_0, QMetaData::Public },
00162 { "checkComplete()", &signal_1, QMetaData::Public }
00163 };
00164 metaObj = QMetaObject::new_metaobject(
00165 "KFeedbackForm", parentObject,
00166 slot_tbl, 2,
00167 signal_tbl, 2,
00168 #ifndef QT_NO_PROPERTIES
00169 0, 0,
00170 0, 0,
00171 #endif
00172 0, 0 );
00173 cleanUp_KFeedbackForm.setMetaObject( metaObj );
00174 return metaObj;
00175 }
00176
00177 void* KFeedbackForm::qt_cast( const char* clname )
00178 {
00179 if ( !qstrcmp( clname, "KFeedbackForm" ) )
00180 return this;
00181 return QVBox::qt_cast( clname );
00182 }
00183
00184
00185 void KFeedbackForm::mailSent()
00186 {
00187 activate_signal( staticMetaObject()->signalOffset() + 0 );
00188 }
00189
00190
00191 void KFeedbackForm::checkComplete()
00192 {
00193 activate_signal( staticMetaObject()->signalOffset() + 1 );
00194 }
00195
00196 bool KFeedbackForm::qt_invoke( int _id, QUObject* _o )
00197 {
00198 switch ( _id - staticMetaObject()->slotOffset() ) {
00199 case 0: sendMail(); break;
00200 case 1: slotCheckComplete(); break;
00201 default:
00202 return QVBox::qt_invoke( _id, _o );
00203 }
00204 return TRUE;
00205 }
00206
00207 bool KFeedbackForm::qt_emit( int _id, QUObject* _o )
00208 {
00209 switch ( _id - staticMetaObject()->signalOffset() ) {
00210 case 0: mailSent(); break;
00211 case 1: checkComplete(); break;
00212 default:
00213 return QVBox::qt_emit(_id,_o);
00214 }
00215 return TRUE;
00216 }
00217 #ifndef QT_NO_PROPERTIES
00218
00219 bool KFeedbackForm::qt_property( int id, int f, QVariant* v)
00220 {
00221 return QVBox::qt_property( id, f, v);
00222 }
00223
00224 bool KFeedbackForm::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00225 #endif // QT_NO_PROPERTIES
00226
00227
00228 const char *KFeedbackQuestionList::className() const
00229 {
00230 return "KFeedbackQuestionList";
00231 }
00232
00233 QMetaObject *KFeedbackQuestionList::metaObj = 0;
00234 static QMetaObjectCleanUp cleanUp_KFeedbackQuestionList( "KFeedbackQuestionList", &KFeedbackQuestionList::staticMetaObject );
00235
00236 #ifndef QT_NO_TRANSLATION
00237 QString KFeedbackQuestionList::tr( const char *s, const char *c )
00238 {
00239 if ( qApp )
00240 return qApp->translate( "KFeedbackQuestionList", s, c, QApplication::DefaultCodec );
00241 else
00242 return QString::fromLatin1( s );
00243 }
00244 #ifndef QT_NO_TRANSLATION_UTF8
00245 QString KFeedbackQuestionList::trUtf8( const char *s, const char *c )
00246 {
00247 if ( qApp )
00248 return qApp->translate( "KFeedbackQuestionList", s, c, QApplication::UnicodeUTF8 );
00249 else
00250 return QString::fromUtf8( s );
00251 }
00252 #endif // QT_NO_TRANSLATION_UTF8
00253
00254 #endif // QT_NO_TRANSLATION
00255
00256 QMetaObject* KFeedbackQuestionList::staticMetaObject()
00257 {
00258 if ( metaObj )
00259 return metaObj;
00260 QMetaObject* parentObject = QListView::staticMetaObject();
00261 static const QUMethod signal_0 = {"checkComplete", 0, 0 };
00262 static const QMetaData signal_tbl[] = {
00263 { "checkComplete()", &signal_0, QMetaData::Public }
00264 };
00265 metaObj = QMetaObject::new_metaobject(
00266 "KFeedbackQuestionList", parentObject,
00267 0, 0,
00268 signal_tbl, 1,
00269 #ifndef QT_NO_PROPERTIES
00270 0, 0,
00271 0, 0,
00272 #endif
00273 0, 0 );
00274 cleanUp_KFeedbackQuestionList.setMetaObject( metaObj );
00275 return metaObj;
00276 }
00277
00278 void* KFeedbackQuestionList::qt_cast( const char* clname )
00279 {
00280 if ( !qstrcmp( clname, "KFeedbackQuestionList" ) )
00281 return this;
00282 return QListView::qt_cast( clname );
00283 }
00284
00285
00286 void KFeedbackQuestionList::checkComplete()
00287 {
00288 activate_signal( staticMetaObject()->signalOffset() + 0 );
00289 }
00290
00291 bool KFeedbackQuestionList::qt_invoke( int _id, QUObject* _o )
00292 {
00293 return QListView::qt_invoke(_id,_o);
00294 }
00295
00296 bool KFeedbackQuestionList::qt_emit( int _id, QUObject* _o )
00297 {
00298 switch ( _id - staticMetaObject()->signalOffset() ) {
00299 case 0: checkComplete(); break;
00300 default:
00301 return QListView::qt_emit(_id,_o);
00302 }
00303 return TRUE;
00304 }
00305 #ifndef QT_NO_PROPERTIES
00306
00307 bool KFeedbackQuestionList::qt_property( int id, int f, QVariant* v)
00308 {
00309 return QListView::qt_property( id, f, v);
00310 }
00311
00312 bool KFeedbackQuestionList::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00313 #endif // QT_NO_PROPERTIES