00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef TQT_NO_COMPAT
00011 #include "kshowmail.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 *KShowMailApp::className() const
00023 {
00024 return "KShowMailApp";
00025 }
00026
00027 TQMetaObject *KShowMailApp::metaObj = 0;
00028 static TQMetaObjectCleanUp cleanUp_KShowMailApp( "KShowMailApp", &KShowMailApp::staticMetaObject );
00029
00030 #ifndef TQT_NO_TRANSLATION
00031 TQString KShowMailApp::tr( const char *s, const char *c )
00032 {
00033 if ( tqApp )
00034 return tqApp->translate( "KShowMailApp", s, c, TQApplication::DefaultCodec );
00035 else
00036 return TQString::fromLatin1( s );
00037 }
00038 #ifndef TQT_NO_TRANSLATION_UTF8
00039 TQString KShowMailApp::trUtf8( const char *s, const char *c )
00040 {
00041 if ( tqApp )
00042 return tqApp->translate( "KShowMailApp", 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* KShowMailApp::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 TQMetaObject* parentObject = TDEMainWindow::staticMetaObject();
00055 static const TQUParameter param_slot_0[] = {
00056 { "text", &static_QUType_TQString, 0, TQUParameter::In }
00057 };
00058 static const TQUMethod slot_0 = {"slotStatusHelpMsg", 1, param_slot_0 };
00059 static const TQUParameter param_slot_1[] = {
00060 { "text", &static_QUType_TQString, 0, TQUParameter::In }
00061 };
00062 static const TQUMethod slot_1 = {"slotStatusMsg", 1, param_slot_1 };
00063 static const TQUMethod slot_2 = {"slotConfChanged", 0, 0 };
00064 static const TQUMethod slot_3 = {"slotDelete", 0, 0 };
00065 static const TQUMethod slot_4 = {"slotDeletionReady", 0, 0 };
00066 static const TQUMethod slot_5 = {"slotShowMessage", 0, 0 };
00067 static const TQUMethod slot_6 = {"slotShowMessageReady", 0, 0 };
00068 static const TQUMethod slot_7 = {"slotNormalCursor", 0, 0 };
00069 static const TQUMethod slot_8 = {"slotWaitingCursor", 0, 0 };
00070 static const TQUMethod slot_9 = {"slotRefresh", 0, 0 };
00071 static const TQUMethod slot_10 = {"slotRefreshReady", 0, 0 };
00072 static const TQUMethod slot_11 = {"slotAlertDestroyed", 0, 0 };
00073 static const TQUMethod slot_12 = {"slotAlertOk", 0, 0 };
00074 static const TQUMethod slot_13 = {"slotRefreshView", 0, 0 };
00075 static const TQUMethod slot_14 = {"slotStop", 0, 0 };
00076 static const TQUMethod slot_15 = {"slotShowHeader", 0, 0 };
00077 static const TQUMethod slot_16 = {"slotEditToolbars", 0, 0 };
00078 static const TQUMethod slot_17 = {"slotSaveOptions", 0, 0 };
00079 static const TQUMethod slot_18 = {"slotFileQuit", 0, 0 };
00080 static const TQUMethod slot_19 = {"slotSetupAccount", 0, 0 };
00081 static const TQUMethod slot_20 = {"slotSetup", 0, 0 };
00082 static const TQUMethod slot_21 = {"slotSetupFilters", 0, 0 };
00083 static const TQUParameter param_slot_22[] = {
00084 { 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
00085 };
00086 static const TQUMethod slot_22 = {"slotAccountActivated", 1, param_slot_22 };
00087 static const TQUMethod slot_23 = {"slotSendFeedbackMail", 0, 0 };
00088 static const TQUMethod slot_24 = {"slotForceClose", 0, 0 };
00089 static const TQMetaData slot_tbl[] = {
00090 { "slotStatusHelpMsg(const TQString&)", &slot_0, TQMetaData::Protected },
00091 { "slotStatusMsg(const TQString&)", &slot_1, TQMetaData::Protected },
00092 { "slotConfChanged()", &slot_2, TQMetaData::Protected },
00093 { "slotDelete()", &slot_3, TQMetaData::Protected },
00094 { "slotDeletionReady()", &slot_4, TQMetaData::Protected },
00095 { "slotShowMessage()", &slot_5, TQMetaData::Protected },
00096 { "slotShowMessageReady()", &slot_6, TQMetaData::Protected },
00097 { "slotNormalCursor()", &slot_7, TQMetaData::Protected },
00098 { "slotWaitingCursor()", &slot_8, TQMetaData::Protected },
00099 { "slotRefresh()", &slot_9, TQMetaData::Protected },
00100 { "slotRefreshReady()", &slot_10, TQMetaData::Protected },
00101 { "slotAlertDestroyed()", &slot_11, TQMetaData::Protected },
00102 { "slotAlertOk()", &slot_12, TQMetaData::Protected },
00103 { "slotRefreshView()", &slot_13, TQMetaData::Protected },
00104 { "slotStop()", &slot_14, TQMetaData::Protected },
00105 { "slotShowHeader()", &slot_15, TQMetaData::Protected },
00106 { "slotEditToolbars()", &slot_16, TQMetaData::Protected },
00107 { "slotSaveOptions()", &slot_17, TQMetaData::Protected },
00108 { "slotFileQuit()", &slot_18, TQMetaData::Protected },
00109 { "slotSetupAccount()", &slot_19, TQMetaData::Protected },
00110 { "slotSetup()", &slot_20, TQMetaData::Protected },
00111 { "slotSetupFilters()", &slot_21, TQMetaData::Protected },
00112 { "slotAccountActivated(TQListViewItem*)", &slot_22, TQMetaData::Protected },
00113 { "slotSendFeedbackMail()", &slot_23, TQMetaData::Protected },
00114 { "slotForceClose()", &slot_24, TQMetaData::Protected }
00115 };
00116 metaObj = TQMetaObject::new_metaobject(
00117 "KShowMailApp", parentObject,
00118 slot_tbl, 25,
00119 0, 0,
00120 #ifndef TQT_NO_PROPERTIES
00121 0, 0,
00122 0, 0,
00123 #endif
00124 0, 0 );
00125 cleanUp_KShowMailApp.setMetaObject( metaObj );
00126 return metaObj;
00127 }
00128
00129 void* KShowMailApp::tqt_cast( const char* clname )
00130 {
00131 if ( !qstrcmp( clname, "KShowMailApp" ) )
00132 return this;
00133 return TDEMainWindow::tqt_cast( clname );
00134 }
00135
00136 bool KShowMailApp::tqt_invoke( int _id, TQUObject* _o )
00137 {
00138 switch ( _id - staticMetaObject()->slotOffset() ) {
00139 case 0: slotStatusHelpMsg((const TQString&)static_QUType_TQString.get(_o+1)); break;
00140 case 1: slotStatusMsg((const TQString&)static_QUType_TQString.get(_o+1)); break;
00141 case 2: slotConfChanged(); break;
00142 case 3: slotDelete(); break;
00143 case 4: slotDeletionReady(); break;
00144 case 5: slotShowMessage(); break;
00145 case 6: slotShowMessageReady(); break;
00146 case 7: slotNormalCursor(); break;
00147 case 8: slotWaitingCursor(); break;
00148 case 9: slotRefresh(); break;
00149 case 10: slotRefreshReady(); break;
00150 case 11: slotAlertDestroyed(); break;
00151 case 12: slotAlertOk(); break;
00152 case 13: slotRefreshView(); break;
00153 case 14: slotStop(); break;
00154 case 15: slotShowHeader(); break;
00155 case 16: slotEditToolbars(); break;
00156 case 17: slotSaveOptions(); break;
00157 case 18: slotFileQuit(); break;
00158 case 19: slotSetupAccount(); break;
00159 case 20: slotSetup(); break;
00160 case 21: slotSetupFilters(); break;
00161 case 22: slotAccountActivated((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
00162 case 23: slotSendFeedbackMail(); break;
00163 case 24: slotForceClose(); break;
00164 default:
00165 return TDEMainWindow::tqt_invoke( _id, _o );
00166 }
00167 return TRUE;
00168 }
00169
00170 bool KShowMailApp::tqt_emit( int _id, TQUObject* _o )
00171 {
00172 return TDEMainWindow::tqt_emit(_id,_o);
00173 }
00174 #ifndef TQT_NO_PROPERTIES
00175
00176 bool KShowMailApp::tqt_property( int id, int f, TQVariant* v)
00177 {
00178 return TDEMainWindow::tqt_property( id, f, v);
00179 }
00180
00181 bool KShowMailApp::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
00182 #endif // TQT_NO_PROPERTIES