kshowmaildock.moc.cpp

00001 /****************************************************************************
00002 ** KShowMailDock meta object code from reading C++ file 'kshowmaildock.h'
00003 **
00004 ** Created: Fri Jun 29 22:09:01 2007
00005 **      by: The TQt MOC ($Id: kshowmaildock_8moc_8cpp-source.html,v 1.10 2007/07/05 17:37:51 kuddel-fl Exp $)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 *****************************************************************************/
00009 
00010 #undef QT_NO_COMPAT
00011 #include "kshowmaildock.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 *KShowMailDock::className() const
00023 {
00024     return "KShowMailDock";
00025 }
00026 
00027 TQMetaObject *KShowMailDock::metaObj = 0;
00028 static TQMetaObjectCleanUp cleanUp_KShowMailDock( "KShowMailDock", &KShowMailDock::staticMetaObject );
00029 
00030 #ifndef QT_NO_TRANSLATION
00031 TQString KShowMailDock::tr( const char *s, const char *c )
00032 {
00033     if ( tqApp )
00034        return tqApp->translate( "KShowMailDock", s, c, TQApplication::DefaultCodec );
00035     else
00036        return TQString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 TQString KShowMailDock::trUtf8( const char *s, const char *c )
00040 {
00041     if ( tqApp )
00042        return tqApp->translate( "KShowMailDock", s, c, TQApplication::UnicodeUTF8 );
00043     else
00044        return TQString::fromUtf8( s );
00045 }
00046 #endif // QT_NO_TRANSLATION_UTF8
00047 
00048 #endif // QT_NO_TRANSLATION
00049 
00050 TQMetaObject* KShowMailDock::staticMetaObject()
00051 {
00052     if ( metaObj )
00053        return metaObj;
00054     TQMetaObject* parentObject = KSystemTray::staticMetaObject();
00055     static const TQUParameter param_signal_0[] = {
00056        { 0, &static_QUType_int, 0, TQUParameter::In }
00057     };
00058     static const TQUMethod signal_0 = {"sigActivated", 1, param_signal_0 };
00059     static const TQUParameter param_signal_1[] = {
00060        { 0, &static_QUType_int, 0, TQUParameter::In }
00061     };
00062     static const TQUMethod signal_1 = {"sigHighlighted", 1, param_signal_1 };
00063     static const TQMetaData signal_tbl[] = {
00064        { "sigActivated(int)", &signal_0, TQMetaData::Public },
00065        { "sigHighlighted(int)", &signal_1, TQMetaData::Public }
00066     };
00067     metaObj = TQMetaObject::new_metaobject(
00068        "KShowMailDock", parentObject,
00069        0, 0,
00070        signal_tbl, 2,
00071 #ifndef QT_NO_PROPERTIES
00072        0, 0,
00073        0, 0,
00074 #endif // QT_NO_PROPERTIES
00075        0, 0 );
00076     cleanUp_KShowMailDock.setMetaObject( metaObj );
00077     return metaObj;
00078 }
00079 
00080 void* KShowMailDock::tqt_cast( const char* clname )
00081 {
00082     if ( !qstrcmp( clname, "KShowMailDock" ) )
00083        return this;
00084     return KSystemTray::tqt_cast( clname );
00085 }
00086 
00087 // SIGNAL sigActivated
00088 void KShowMailDock::sigActivated( int t0 )
00089 {
00090     activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
00091 }
00092 
00093 // SIGNAL sigHighlighted
00094 void KShowMailDock::sigHighlighted( int t0 )
00095 {
00096     activate_signal( staticMetaObject()->signalOffset() + 1, t0 );
00097 }
00098 
00099 bool KShowMailDock::tqt_invoke( int _id, TQUObject* _o )
00100 {
00101     return KSystemTray::tqt_invoke(_id,_o);
00102 }
00103 
00104 bool KShowMailDock::tqt_emit( int _id, TQUObject* _o )
00105 {
00106     switch ( _id - staticMetaObject()->signalOffset() ) {
00107     case 0: sigActivated((int)static_QUType_int.get(_o+1)); break;
00108     case 1: sigHighlighted((int)static_QUType_int.get(_o+1)); break;
00109     default:
00110        return KSystemTray::tqt_emit(_id,_o);
00111     }
00112     return TRUE;
00113 }
00114 #ifndef QT_NO_PROPERTIES
00115 
00116 bool KShowMailDock::tqt_property( int id, int f, TQVariant* v)
00117 {
00118     return KSystemTray::tqt_property( id, f, v);
00119 }
00120 
00121 bool KShowMailDock::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
00122 #endif // QT_NO_PROPERTIES

Generated on Thu Jul 5 19:36:06 2007 for kshowmail by  doxygen 1.5.0