00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef TQT_NO_COMPAT
00011 #include "kshowmailview.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 *KshowmailView::className() const
00023 {
00024 return "KshowmailView";
00025 }
00026
00027 TQMetaObject *KshowmailView::metaObj = 0;
00028 static TQMetaObjectCleanUp cleanUp_KshowmailView( "KshowmailView", &KshowmailView::staticMetaObject );
00029
00030 #ifndef TQT_NO_TRANSLATION
00031 TQString KshowmailView::tr( const char *s, const char *c )
00032 {
00033 if ( tqApp )
00034 return tqApp->translate( "KshowmailView", s, c, TQApplication::DefaultCodec );
00035 else
00036 return TQString::fromLatin1( s );
00037 }
00038 #ifndef TQT_NO_TRANSLATION_UTF8
00039 TQString KshowmailView::trUtf8( const char *s, const char *c )
00040 {
00041 if ( tqApp )
00042 return tqApp->translate( "KshowmailView", 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* KshowmailView::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 TQMetaObject* parentObject = TQSplitter::staticMetaObject();
00055 static const TQUParameter param_slot_0[] = {
00056 { 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
00057 { 0, &static_QUType_varptr, "\x0e", TQUParameter::In },
00058 { 0, &static_QUType_int, 0, TQUParameter::In }
00059 };
00060 static const TQUMethod slot_0 = {"slotMessageContext", 3, param_slot_0 };
00061 static const TQUParameter param_slot_1[] = {
00062 { 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
00063 };
00064 static const TQUMethod slot_1 = {"slotMessageDoubleClicked", 1, param_slot_1 };
00065 static const TQUParameter param_slot_2[] = {
00066 { 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
00067 };
00068 static const TQUMethod slot_2 = {"slotMessageClicked", 1, param_slot_2 };
00069 static const TQUParameter param_slot_3[] = {
00070 { 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
00071 { 0, &static_QUType_varptr, "\x0e", TQUParameter::In },
00072 { 0, &static_QUType_int, 0, TQUParameter::In }
00073 };
00074 static const TQUMethod slot_3 = {"slotAccountContext", 3, param_slot_3 };
00075 static const TQUParameter param_slot_4[] = {
00076 { 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
00077 { "point", &static_QUType_varptr, "\x0e", TQUParameter::In },
00078 { "col", &static_QUType_int, 0, TQUParameter::In }
00079 };
00080 static const TQUMethod slot_4 = {"slotAccountClicked", 3, param_slot_4 };
00081 static const TQMetaData slot_tbl[] = {
00082 { "slotMessageContext(TQListViewItem*,const TQPoint&,int)", &slot_0, TQMetaData::Private },
00083 { "slotMessageDoubleClicked(TQListViewItem*)", &slot_1, TQMetaData::Private },
00084 { "slotMessageClicked(TQListViewItem*)", &slot_2, TQMetaData::Private },
00085 { "slotAccountContext(TQListViewItem*,const TQPoint&,int)", &slot_3, TQMetaData::Private },
00086 { "slotAccountClicked(TQListViewItem*,const TQPoint&,int)", &slot_4, TQMetaData::Private }
00087 };
00088 static const TQUMethod signal_0 = {"signalActiveChanged", 0, 0 };
00089 static const TQMetaData signal_tbl[] = {
00090 { "signalActiveChanged()", &signal_0, TQMetaData::Private }
00091 };
00092 metaObj = TQMetaObject::new_metaobject(
00093 "KshowmailView", parentObject,
00094 slot_tbl, 5,
00095 signal_tbl, 1,
00096 #ifndef TQT_NO_PROPERTIES
00097 0, 0,
00098 0, 0,
00099 #endif
00100 0, 0 );
00101 cleanUp_KshowmailView.setMetaObject( metaObj );
00102 return metaObj;
00103 }
00104
00105 void* KshowmailView::tqt_cast( const char* clname )
00106 {
00107 if ( !qstrcmp( clname, "KshowmailView" ) )
00108 return this;
00109 return TQSplitter::tqt_cast( clname );
00110 }
00111
00112
00113 void KshowmailView::signalActiveChanged()
00114 {
00115 activate_signal( staticMetaObject()->signalOffset() + 0 );
00116 }
00117
00118 bool KshowmailView::tqt_invoke( int _id, TQUObject* _o )
00119 {
00120 switch ( _id - staticMetaObject()->slotOffset() ) {
00121 case 0: slotMessageContext((TQListViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
00122 case 1: slotMessageDoubleClicked((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
00123 case 2: slotMessageClicked((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
00124 case 3: slotAccountContext((TQListViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
00125 case 4: slotAccountClicked((TQListViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
00126 default:
00127 return TQSplitter::tqt_invoke( _id, _o );
00128 }
00129 return TRUE;
00130 }
00131
00132 bool KshowmailView::tqt_emit( int _id, TQUObject* _o )
00133 {
00134 switch ( _id - staticMetaObject()->signalOffset() ) {
00135 case 0: signalActiveChanged(); break;
00136 default:
00137 return TQSplitter::tqt_emit(_id,_o);
00138 }
00139 return TRUE;
00140 }
00141 #ifndef TQT_NO_PROPERTIES
00142
00143 bool KshowmailView::tqt_property( int id, int f, TQVariant* v)
00144 {
00145 return TQSplitter::tqt_property( id, f, v);
00146 }
00147
00148 bool KshowmailView::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
00149 #endif // TQT_NO_PROPERTIES