kshowmail: kshowmail/kshowmaildock.moc.cpp Source File

- Main Page
- Namespaces
- Classes
- Files
- Directories

# 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 Qt 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 <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 *KShowMailDock::className() const
    00023 {
    00024     return "KShowMailDock";
    00025 }
    00026
    00027 QMetaObject *KShowMailDock::metaObj = 0;
    00028 static QMetaObjectCleanUp cleanUp_KShowMailDock( "KShowMailDock", &KShowMailDock::staticMetaObject );
    00029
    00030 #ifndef QT_NO_TRANSLATION
    00031 QString KShowMailDock::tr( const char *s, const char *c )
    00032 {
    00033     if ( qApp )
    00034        return qApp->translate( "KShowMailDock", s, c, QApplication::DefaultCodec );
    00035     else
    00036        return QString::fromLatin1( s );
    00037 }
    00038 #ifndef QT_NO_TRANSLATION_UTF8
    00039 QString KShowMailDock::trUtf8( const char *s, const char *c )
    00040 {
    00041     if ( qApp )
    00042        return qApp->translate( "KShowMailDock", 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* KShowMailDock::staticMetaObject()
    00051 {
    00052     if ( metaObj )
    00053        return metaObj;
    00054     QMetaObject* parentObject = KSystemTray::staticMetaObject();
    00055     static const QUParameter param_signal_0[] = {
    00056        { 0, &static_QUType_int, 0, QUParameter::In }
    00057     };
    00058     static const QUMethod signal_0 = {"sigActivated", 1, param_signal_0 };
    00059     static const QUParameter param_signal_1[] = {
    00060        { 0, &static_QUType_int, 0, QUParameter::In }
    00061     };
    00062     static const QUMethod signal_1 = {"sigHighlighted", 1, param_signal_1 };
    00063     static const QMetaData signal_tbl[] = {
    00064        { "sigActivated(int)", &signal_0, QMetaData::Public },
    00065        { "sigHighlighted(int)", &signal_1, QMetaData::Public }
    00066     };
    00067     metaObj = QMetaObject::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::qt_cast( const char* clname )
    00081 {
    00082     if ( !qstrcmp( clname, "KShowMailDock" ) )
    00083        return this;
    00084     return KSystemTray::qt_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::qt_invoke( int _id, QUObject* _o )
    00100 {
    00101     return KSystemTray::qt_invoke(_id,_o);
    00102 }
    00103
    00104 bool KShowMailDock::qt_emit( int _id, QUObject* _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::qt_emit(_id,_o);
    00111     }
    00112     return TRUE;
    00113 }
    00114 #ifndef QT_NO_PROPERTIES
    00115
    00116 bool KShowMailDock::qt_property( int id, int f, QVariant* v)
    00117 {
    00118     return KSystemTray::qt_property( id, f, v);
    00119 }
    00120
    00121 bool KShowMailDock::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
    00122 #endif // QT_NO_PROPERTIES