/****************************************************************************
** KviStatusBar meta object code from reading C++ file 'kvi_statusbar.h'
**
** Created: Mon Feb 25 00:12:38 2008
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.8   edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "kvi_statusbar.h"
#include <qmetaobject.h>
#include <qapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.3.8. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

const char *KviStatusBar::className() const
{
    return "KviStatusBar";
}

QMetaObject *KviStatusBar::metaObj = 0;
static QMetaObjectCleanUp cleanUp_KviStatusBar( "KviStatusBar", &KviStatusBar::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString KviStatusBar::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "KviStatusBar", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString KviStatusBar::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "KviStatusBar", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* KviStatusBar::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QStatusBar::staticMetaObject();
    static const QUMethod slot_0 = {"messageTimerFired", 0, 0 };
    static const QUMethod slot_1 = {"contextPopupAboutToShow", 0, 0 };
    static const QUMethod slot_2 = {"appletsPopupAboutToShow", 0, 0 };
    static const QUParameter param_slot_3[] = {
	{ "id", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_3 = {"appletsPopupActivated", 1, param_slot_3 };
    static const QUMethod slot_4 = {"removeClickedApplet", 0, 0 };
    static const QUMethod slot_5 = {"setPermanentMessage", 0, 0 };
    static const QUParameter param_slot_6[] = {
	{ "pTip", &static_QUType_ptr, "KviDynamicToolTip", QUParameter::In },
	{ "pnt", &static_QUType_varptr, "\x0e", QUParameter::In }
    };
    static const QUMethod slot_6 = {"tipRequest", 2, param_slot_6 };
    static const QMetaData slot_tbl[] = {
	{ "messageTimerFired()", &slot_0, QMetaData::Protected },
	{ "contextPopupAboutToShow()", &slot_1, QMetaData::Protected },
	{ "appletsPopupAboutToShow()", &slot_2, QMetaData::Protected },
	{ "appletsPopupActivated(int)", &slot_3, QMetaData::Protected },
	{ "removeClickedApplet()", &slot_4, QMetaData::Protected },
	{ "setPermanentMessage()", &slot_5, QMetaData::Protected },
	{ "tipRequest(KviDynamicToolTip*,const QPoint&)", &slot_6, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
	"KviStatusBar", parentObject,
	slot_tbl, 7,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_KviStatusBar.setMetaObject( metaObj );
    return metaObj;
}

void* KviStatusBar::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "KviStatusBar" ) )
	return this;
    return QStatusBar::qt_cast( clname );
}

bool KviStatusBar::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: messageTimerFired(); break;
    case 1: contextPopupAboutToShow(); break;
    case 2: appletsPopupAboutToShow(); break;
    case 3: appletsPopupActivated((int)static_QUType_int.get(_o+1)); break;
    case 4: removeClickedApplet(); break;
    case 5: setPermanentMessage(); break;
    case 6: tipRequest((KviDynamicToolTip*)static_QUType_ptr.get(_o+1),(const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+2))); break;
    default:
	return QStatusBar::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool KviStatusBar::qt_emit( int _id, QUObject* _o )
{
    return QStatusBar::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool KviStatusBar::qt_property( int id, int f, QVariant* v)
{
    return QStatusBar::qt_property( id, f, v);
}

bool KviStatusBar::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
