00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef TQT_NO_COMPAT
00011 #include "kshowmaildoc.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 *KshowmailDoc::className() const
00023 {
00024 return "KshowmailDoc";
00025 }
00026
00027 TQMetaObject *KshowmailDoc::metaObj = 0;
00028 static TQMetaObjectCleanUp cleanUp_KshowmailDoc( "KshowmailDoc", &KshowmailDoc::staticMetaObject );
00029
00030 #ifndef TQT_NO_TRANSLATION
00031 TQString KshowmailDoc::tr( const char *s, const char *c )
00032 {
00033 if ( tqApp )
00034 return tqApp->translate( "KshowmailDoc", s, c, TQApplication::DefaultCodec );
00035 else
00036 return TQString::fromLatin1( s );
00037 }
00038 #ifndef TQT_NO_TRANSLATION_UTF8
00039 TQString KshowmailDoc::trUtf8( const char *s, const char *c )
00040 {
00041 if ( tqApp )
00042 return tqApp->translate( "KshowmailDoc", 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* KshowmailDoc::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 TQMetaObject* parentObject = TQObject::staticMetaObject();
00055 static const TQUParameter param_slot_0[] = {
00056 { "sender", &static_QUType_ptr, "KshowmailView", TQUParameter::In }
00057 };
00058 static const TQUMethod slot_0 = {"slotUpdateAllViews", 1, param_slot_0 };
00059 static const TQMetaData slot_tbl[] = {
00060 { "slotUpdateAllViews(KshowmailView*)", &slot_0, TQMetaData::Public }
00061 };
00062 metaObj = TQMetaObject::new_metaobject(
00063 "KshowmailDoc", parentObject,
00064 slot_tbl, 1,
00065 0, 0,
00066 #ifndef TQT_NO_PROPERTIES
00067 0, 0,
00068 0, 0,
00069 #endif
00070 0, 0 );
00071 cleanUp_KshowmailDoc.setMetaObject( metaObj );
00072 return metaObj;
00073 }
00074
00075 void* KshowmailDoc::tqt_cast( const char* clname )
00076 {
00077 if ( !qstrcmp( clname, "KshowmailDoc" ) )
00078 return this;
00079 return TQObject::tqt_cast( clname );
00080 }
00081
00082 bool KshowmailDoc::tqt_invoke( int _id, TQUObject* _o )
00083 {
00084 switch ( _id - staticMetaObject()->slotOffset() ) {
00085 case 0: slotUpdateAllViews((KshowmailView*)static_QUType_ptr.get(_o+1)); break;
00086 default:
00087 return TQObject::tqt_invoke( _id, _o );
00088 }
00089 return TRUE;
00090 }
00091
00092 bool KshowmailDoc::tqt_emit( int _id, TQUObject* _o )
00093 {
00094 return TQObject::tqt_emit(_id,_o);
00095 }
00096 #ifndef TQT_NO_PROPERTIES
00097
00098 bool KshowmailDoc::tqt_property( int id, int f, TQVariant* v)
00099 {
00100 return TQObject::tqt_property( id, f, v);
00101 }
00102
00103 bool KshowmailDoc::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
00104 #endif // TQT_NO_PROPERTIES