00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef TQT_NO_COMPAT
00011 #include "kfeedback.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 *KFeedbackDialog::className() const
00023 {
00024 return "KFeedbackDialog";
00025 }
00026
00027 TQMetaObject *KFeedbackDialog::metaObj = 0;
00028 static TQMetaObjectCleanUp cleanUp_KFeedbackDialog( "KFeedbackDialog", &KFeedbackDialog::staticMetaObject );
00029
00030 #ifndef TQT_NO_TRANSLATION
00031 TQString KFeedbackDialog::tr( const char *s, const char *c )
00032 {
00033 if ( tqApp )
00034 return tqApp->translate( "KFeedbackDialog", s, c, TQApplication::DefaultCodec );
00035 else
00036 return TQString::fromLatin1( s );
00037 }
00038 #ifndef TQT_NO_TRANSLATION_UTF8
00039 TQString KFeedbackDialog::trUtf8( const char *s, const char *c )
00040 {
00041 if ( tqApp )
00042 return tqApp->translate( "KFeedbackDialog", s, c, TQApplication::UnicodeUTF8 );
00043 else
00044 return TQString::fromUtf8( s );
00045 }
00046 #endif // TQT_NO_TRANSLATION_UTF8
00047
00048 #endif // TQT_NO_TRANSLATION
00049
00050 TQMetaObject* KFeedbackDialog::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 TQMetaObject* parentObject = KDialogBase::staticMetaObject();
00055 static const TQUMethod slot_0 = {"checkSendButton", 0, 0 };
00056 static const TQMetaData slot_tbl[] = {
00057 { "checkSendButton()", &slot_0, TQMetaData::Public }
00058 };
00059 static const TQUMethod signal_0 = {"mailSent", 0, 0 };
00060 static const TQMetaData signal_tbl[] = {
00061 { "mailSent()", &signal_0, TQMetaData::Public }
00062 };
00063 metaObj = TQMetaObject::new_metaobject(
00064 "KFeedbackDialog", parentObject,
00065 slot_tbl, 1,
00066 signal_tbl, 1,
00067 #ifndef TQT_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::tqt_cast( const char* clname )
00077 {
00078 if ( !qstrcmp( clname, "KFeedbackDialog" ) )
00079 return this;
00080 return KDialogBase::tqt_cast( clname );
00081 }
00082
00083
00084 void KFeedbackDialog::mailSent()
00085 {
00086 activate_signal( staticMetaObject()->signalOffset() + 0 );
00087 }
00088
00089 bool KFeedbackDialog::tqt_invoke( int _id, TQUObject* _o )
00090 {
00091 switch ( _id - staticMetaObject()->slotOffset() ) {
00092 case 0: checkSendButton(); break;
00093 default:
00094 return KDialogBase::tqt_invoke( _id, _o );
00095 }
00096 return TRUE;
00097 }
00098
00099 bool KFeedbackDialog::tqt_emit( int _id, TQUObject* _o )
00100 {
00101 switch ( _id - staticMetaObject()->signalOffset() ) {
00102 case 0: mailSent(); break;
00103 default:
00104 return KDialogBase::tqt_emit(_id,_o);
00105 }
00106 return TRUE;
00107 }
00108 #ifndef TQT_NO_PROPERTIES
00109
00110 bool KFeedbackDialog::tqt_property( int id, int f, TQVariant* v)
00111 {
00112 return KDialogBase::tqt_property( id, f, v);
00113 }
00114
00115 bool KFeedbackDialog::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
00116 #endif // TQT_NO_PROPERTIES
00117
00118
00119 const char *KFeedbackForm::className() const
00120 {
00121 return "KFeedbackForm";
00122 }
00123
00124 TQMetaObject *KFeedbackForm::metaObj = 0;
00125 static TQMetaObjectCleanUp cleanUp_KFeedbackForm( "KFeedbackForm", &KFeedbackForm::staticMetaObject );
00126
00127 #ifndef TQT_NO_TRANSLATION
00128 TQString KFeedbackForm::tr( const char *s, const char *c )
00129 {
00130 if ( tqApp )
00131 return tqApp->translate( "KFeedbackForm", s, c, TQApplication::DefaultCodec );
00132 else
00133 return TQString::fromLatin1( s );
00134 }
00135 #ifndef TQT_NO_TRANSLATION_UTF8
00136 TQString KFeedbackForm::trUtf8( const char *s, const char *c )
00137 {
00138 if ( tqApp )
00139 return tqApp->translate( "KFeedbackForm", s, c, TQApplication::UnicodeUTF8 );
00140 else
00141 return TQString::fromUtf8( s );
00142 }
00143 #endif // TQT_NO_TRANSLATION_UTF8
00144
00145 #endif // TQT_NO_TRANSLATION
00146
00147 TQMetaObject* KFeedbackForm::staticMetaObject()
00148 {
00149 if ( metaObj )
00150 return metaObj;
00151 TQMetaObject* parentObject = TQVBox::staticMetaObject();
00152 static const TQUMethod slot_0 = {"sendMail", 0, 0 };
00153 static const TQUMethod slot_1 = {"slotCheckComplete", 0, 0 };
00154 static const TQMetaData slot_tbl[] = {
00155 { "sendMail()", &slot_0, TQMetaData::Public },
00156 { "slotCheckComplete()", &slot_1, TQMetaData::Protected }
00157 };
00158 static const TQUMethod signal_0 = {"mailSent", 0, 0 };
00159 static const TQUMethod signal_1 = {"checkComplete", 0, 0 };
00160 static const TQMetaData signal_tbl[] = {
00161 { "mailSent()", &signal_0, TQMetaData::Public },
00162 { "checkComplete()", &signal_1, TQMetaData::Public }
00163 };
00164 metaObj = TQMetaObject::new_metaobject(
00165 "KFeedbackForm", parentObject,
00166 slot_tbl, 2,
00167 signal_tbl, 2,
00168 #ifndef TQT_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::tqt_cast( const char* clname )
00178 {
00179 if ( !qstrcmp( clname, "KFeedbackForm" ) )
00180 return this;
00181 return TQVBox::tqt_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::tqt_invoke( int _id, TQUObject* _o )
00197 {
00198 switch ( _id - staticMetaObject()->slotOffset() ) {
00199 case 0: sendMail(); break;
00200 case 1: slotCheckComplete(); break;
00201 default:
00202 return TQVBox::tqt_invoke( _id, _o );
00203 }
00204 return TRUE;
00205 }
00206
00207 bool KFeedbackForm::tqt_emit( int _id, TQUObject* _o )
00208 {
00209 switch ( _id - staticMetaObject()->signalOffset() ) {
00210 case 0: mailSent(); break;
00211 case 1: checkComplete(); break;
00212 default:
00213 return TQVBox::tqt_emit(_id,_o);
00214 }
00215 return TRUE;
00216 }
00217 #ifndef TQT_NO_PROPERTIES
00218
00219 bool KFeedbackForm::tqt_property( int id, int f, TQVariant* v)
00220 {
00221 return TQVBox::tqt_property( id, f, v);
00222 }
00223
00224 bool KFeedbackForm::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
00225 #endif // TQT_NO_PROPERTIES
00226
00227
00228 const char *KFeedbackQuestionList::className() const
00229 {
00230 return "KFeedbackQuestionList";
00231 }
00232
00233 TQMetaObject *KFeedbackQuestionList::metaObj = 0;
00234 static TQMetaObjectCleanUp cleanUp_KFeedbackQuestionList( "KFeedbackQuestionList", &KFeedbackQuestionList::staticMetaObject );
00235
00236 #ifndef TQT_NO_TRANSLATION
00237 TQString KFeedbackQuestionList::tr( const char *s, const char *c )
00238 {
00239 if ( tqApp )
00240 return tqApp->translate( "KFeedbackQuestionList", s, c, TQApplication::DefaultCodec );
00241 else
00242 return TQString::fromLatin1( s );
00243 }
00244 #ifndef TQT_NO_TRANSLATION_UTF8
00245 TQString KFeedbackQuestionList::trUtf8( const char *s, const char *c )
00246 {
00247 if ( tqApp )
00248 return tqApp->translate( "KFeedbackQuestionList", s, c, TQApplication::UnicodeUTF8 );
00249 else
00250 return TQString::fromUtf8( s );
00251 }
00252 #endif // TQT_NO_TRANSLATION_UTF8
00253
00254 #endif // TQT_NO_TRANSLATION
00255
00256 TQMetaObject* KFeedbackQuestionList::staticMetaObject()
00257 {
00258 if ( metaObj )
00259 return metaObj;
00260 TQMetaObject* parentObject = TQListView::staticMetaObject();
00261 static const TQUMethod signal_0 = {"checkComplete", 0, 0 };
00262 static const TQMetaData signal_tbl[] = {
00263 { "checkComplete()", &signal_0, TQMetaData::Public }
00264 };
00265 metaObj = TQMetaObject::new_metaobject(
00266 "KFeedbackQuestionList", parentObject,
00267 0, 0,
00268 signal_tbl, 1,
00269 #ifndef TQT_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::tqt_cast( const char* clname )
00279 {
00280 if ( !qstrcmp( clname, "KFeedbackQuestionList" ) )
00281 return this;
00282 return TQListView::tqt_cast( clname );
00283 }
00284
00285
00286 void KFeedbackQuestionList::checkComplete()
00287 {
00288 activate_signal( staticMetaObject()->signalOffset() + 0 );
00289 }
00290
00291 bool KFeedbackQuestionList::tqt_invoke( int _id, TQUObject* _o )
00292 {
00293 return TQListView::tqt_invoke(_id,_o);
00294 }
00295
00296 bool KFeedbackQuestionList::tqt_emit( int _id, TQUObject* _o )
00297 {
00298 switch ( _id - staticMetaObject()->signalOffset() ) {
00299 case 0: checkComplete(); break;
00300 default:
00301 return TQListView::tqt_emit(_id,_o);
00302 }
00303 return TRUE;
00304 }
00305 #ifndef TQT_NO_PROPERTIES
00306
00307 bool KFeedbackQuestionList::tqt_property( int id, int f, TQVariant* v)
00308 {
00309 return TQListView::tqt_property( id, f, v);
00310 }
00311
00312 bool KFeedbackQuestionList::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
00313 #endif // TQT_NO_PROPERTIES