00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "kshowmailview.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 *KshowmailView::className() const
00023 {
00024 return "KshowmailView";
00025 }
00026
00027 QMetaObject *KshowmailView::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_KshowmailView( "KshowmailView", &KshowmailView::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString KshowmailView::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "KshowmailView", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString KshowmailView::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "KshowmailView", 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* KshowmailView::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = QSplitter::staticMetaObject();
00055 static const QUParameter param_slot_0[] = {
00056 { 0, &static_QUType_ptr, "QListViewItem", QUParameter::In },
00057 { 0, &static_QUType_varptr, "\x0e", QUParameter::In },
00058 { 0, &static_QUType_int, 0, QUParameter::In }
00059 };
00060 static const QUMethod slot_0 = {"slotMessageContext", 3, param_slot_0 };
00061 static const QUParameter param_slot_1[] = {
00062 { 0, &static_QUType_ptr, "QListViewItem", QUParameter::In }
00063 };
00064 static const QUMethod slot_1 = {"slotMessageDoubleClicked", 1, param_slot_1 };
00065 static const QUParameter param_slot_2[] = {
00066 { 0, &static_QUType_ptr, "QListViewItem", QUParameter::In }
00067 };
00068 static const QUMethod slot_2 = {"slotMessageClicked", 1, param_slot_2 };
00069 static const QUParameter param_slot_3[] = {
00070 { 0, &static_QUType_ptr, "QListViewItem", QUParameter::In },
00071 { 0, &static_QUType_varptr, "\x0e", QUParameter::In },
00072 { 0, &static_QUType_int, 0, QUParameter::In }
00073 };
00074 static const QUMethod slot_3 = {"slotAccountContext", 3, param_slot_3 };
00075 static const QUParameter param_slot_4[] = {
00076 { 0, &static_QUType_ptr, "QListViewItem", QUParameter::In },
00077 { "point", &static_QUType_varptr, "\x0e", QUParameter::In },
00078 { "col", &static_QUType_int, 0, QUParameter::In }
00079 };
00080 static const QUMethod slot_4 = {"slotAccountClicked", 3, param_slot_4 };
00081 static const QMetaData slot_tbl[] = {
00082 { "slotMessageContext(QListViewItem*,const QPoint&,int)", &slot_0, QMetaData::Private },
00083 { "slotMessageDoubleClicked(QListViewItem*)", &slot_1, QMetaData::Private },
00084 { "slotMessageClicked(QListViewItem*)", &slot_2, QMetaData::Private },
00085 { "slotAccountContext(QListViewItem*,const QPoint&,int)", &slot_3, QMetaData::Private },
00086 { "slotAccountClicked(QListViewItem*,const QPoint&,int)", &slot_4, QMetaData::Private }
00087 };
00088 static const QUMethod signal_0 = {"signalActiveChanged", 0, 0 };
00089 static const QMetaData signal_tbl[] = {
00090 { "signalActiveChanged()", &signal_0, QMetaData::Private }
00091 };
00092 metaObj = QMetaObject::new_metaobject(
00093 "KshowmailView", parentObject,
00094 slot_tbl, 5,
00095 signal_tbl, 1,
00096 #ifndef QT_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::qt_cast( const char* clname )
00106 {
00107 if ( !qstrcmp( clname, "KshowmailView" ) )
00108 return this;
00109 return QSplitter::qt_cast( clname );
00110 }
00111
00112
00113 void KshowmailView::signalActiveChanged()
00114 {
00115 activate_signal( staticMetaObject()->signalOffset() + 0 );
00116 }
00117
00118 bool KshowmailView::qt_invoke( int _id, QUObject* _o )
00119 {
00120 switch ( _id - staticMetaObject()->slotOffset() ) {
00121 case 0: slotMessageContext((QListViewItem*)static_QUType_ptr.get(_o+1),(const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
00122 case 1: slotMessageDoubleClicked((QListViewItem*)static_QUType_ptr.get(_o+1)); break;
00123 case 2: slotMessageClicked((QListViewItem*)static_QUType_ptr.get(_o+1)); break;
00124 case 3: slotAccountContext((QListViewItem*)static_QUType_ptr.get(_o+1),(const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
00125 case 4: slotAccountClicked((QListViewItem*)static_QUType_ptr.get(_o+1),(const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
00126 default:
00127 return QSplitter::qt_invoke( _id, _o );
00128 }
00129 return TRUE;
00130 }
00131
00132 bool KshowmailView::qt_emit( int _id, QUObject* _o )
00133 {
00134 switch ( _id - staticMetaObject()->signalOffset() ) {
00135 case 0: signalActiveChanged(); break;
00136 default:
00137 return QSplitter::qt_emit(_id,_o);
00138 }
00139 return TRUE;
00140 }
00141 #ifndef QT_NO_PROPERTIES
00142
00143 bool KshowmailView::qt_property( int id, int f, QVariant* v)
00144 {
00145 return QSplitter::qt_property( id, f, v);
00146 }
00147
00148 bool KshowmailView::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00149 #endif // QT_NO_PROPERTIES