/****************************************************************************
** KBloggerMenu meta object code from reading C++ file 'kbloggermenu.h'
**
** Created: Fri Jan 30 08:24:59 2009
**      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 "kbloggermenu.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.8b. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

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

QMetaObject *KBloggerMenu::metaObj = 0;
static QMetaObjectCleanUp cleanUp_KBloggerMenu( "KBloggerMenu", &KBloggerMenu::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* KBloggerMenu::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = KPopupMenu::staticMetaObject();
    static const QUMethod slot_0 = {"populateMenu", 0, 0 };
    static const QUParameter param_slot_1[] = {
	{ "posting", &static_QUType_ptr, "KBlog::BlogPosting", QUParameter::InOut }
    };
    static const QUMethod slot_1 = {"addPostingSlot", 1, param_slot_1 };
    static const QUMethod slot_2 = {"createMenuSlot", 0, 0 };
    static const QUParameter param_slot_3[] = {
	{ "postid", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_3 = {"deleteSlot", 1, param_slot_3 };
    static const QUMethod slot_4 = {"bugSlot", 0, 0 };
    static const QUMethod slot_5 = {"configurateSlot", 0, 0 };
    static const QUMethod slot_6 = {"helpSlot", 0, 0 };
    static const QUMethod slot_7 = {"aboutSlot", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "populateMenu()", &slot_0, QMetaData::Public },
	{ "addPostingSlot(KBlog::BlogPosting&)", &slot_1, QMetaData::Private },
	{ "createMenuSlot()", &slot_2, QMetaData::Private },
	{ "deleteSlot(int)", &slot_3, QMetaData::Private },
	{ "bugSlot()", &slot_4, QMetaData::Private },
	{ "configurateSlot()", &slot_5, QMetaData::Private },
	{ "helpSlot()", &slot_6, QMetaData::Private },
	{ "aboutSlot()", &slot_7, QMetaData::Private }
    };
    metaObj = QMetaObject::new_metaobject(
	"KBloggerMenu", parentObject,
	slot_tbl, 8,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_KBloggerMenu.setMetaObject( metaObj );
    return metaObj;
}

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

bool KBloggerMenu::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: populateMenu(); break;
    case 1: addPostingSlot((KBlog::BlogPosting&)*((KBlog::BlogPosting*)static_QUType_ptr.get(_o+1))); break;
    case 2: createMenuSlot(); break;
    case 3: deleteSlot((int)static_QUType_int.get(_o+1)); break;
    case 4: bugSlot(); break;
    case 5: configurateSlot(); break;
    case 6: helpSlot(); break;
    case 7: aboutSlot(); break;
    default:
	return KPopupMenu::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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