/****************************************************************************
** KBloggerEditor meta object code from reading C++ file 'kbloggereditor.h'
**
** Created: Fri Jan 30 08:24:36 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 "kbloggereditor.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 *KBloggerEditor::className() const
{
    return "KBloggerEditor";
}

QMetaObject *KBloggerEditor::metaObj = 0;
static QMetaObjectCleanUp cleanUp_KBloggerEditor( "KBloggerEditor", &KBloggerEditor::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* KBloggerEditor::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = KBloggerEditorBlank::staticMetaObject();
    static const QUMethod slot_0 = {"sendSlot", 0, 0 };
    static const QUParameter param_slot_1[] = {
	{ "name", &static_QUType_QString, 0, QUParameter::In },
	{ "description", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"getCategoriesSlot", 2, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ "posting", &static_QUType_ptr, "KBlog::BlogPosting", QUParameter::InOut }
    };
    static const QUMethod slot_2 = {"loadPostSlot", 1, param_slot_2 };
    static const QUMethod slot_3 = {"disconnectCategoriesSlot", 0, 0 };
    static const QUMethod slot_4 = {"toggleItalic", 0, 0 };
    static const QUMethod slot_5 = {"toggleBold", 0, 0 };
    static const QUMethod slot_6 = {"linkDialogSlot", 0, 0 };
    static const QUMethod slot_7 = {"htmlDialogSlot", 0, 0 };
    static const QUParameter param_slot_8[] = {
	{ 0, &static_QUType_QString, 0, QUParameter::In },
	{ 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_8 = {"addHtmlLink", 2, param_slot_8 };
    static const QUParameter param_slot_9[] = {
	{ 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_9 = {"addHtmlCode", 1, param_slot_9 };
    static const QUParameter param_slot_10[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_10 = {"closeSignal", 1, param_slot_10 };
    static const QUParameter param_slot_11[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_11 = {"handleSuccess", 1, param_slot_11 };
    static const QUParameter param_slot_12[] = {
	{ 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_12 = {"handleBackendError", 1, param_slot_12 };
    static const QMetaData slot_tbl[] = {
	{ "sendSlot()", &slot_0, QMetaData::Public },
	{ "getCategoriesSlot(const QString&,const QString&)", &slot_1, QMetaData::Public },
	{ "loadPostSlot(KBlog::BlogPosting&)", &slot_2, QMetaData::Private },
	{ "disconnectCategoriesSlot()", &slot_3, QMetaData::Private },
	{ "toggleItalic()", &slot_4, QMetaData::Private },
	{ "toggleBold()", &slot_5, QMetaData::Private },
	{ "linkDialogSlot()", &slot_6, QMetaData::Private },
	{ "htmlDialogSlot()", &slot_7, QMetaData::Private },
	{ "addHtmlLink(QString,QString)", &slot_8, QMetaData::Private },
	{ "addHtmlCode(QString)", &slot_9, QMetaData::Private },
	{ "closeSignal(const int)", &slot_10, QMetaData::Private },
	{ "handleSuccess(const int)", &slot_11, QMetaData::Private },
	{ "handleBackendError(const QString&)", &slot_12, QMetaData::Private }
    };
    metaObj = QMetaObject::new_metaobject(
	"KBloggerEditor", parentObject,
	slot_tbl, 13,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_KBloggerEditor.setMetaObject( metaObj );
    return metaObj;
}

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

bool KBloggerEditor::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: sendSlot(); break;
    case 1: getCategoriesSlot((const QString&)static_QUType_QString.get(_o+1),(const QString&)static_QUType_QString.get(_o+2)); break;
    case 2: loadPostSlot((KBlog::BlogPosting&)*((KBlog::BlogPosting*)static_QUType_ptr.get(_o+1))); break;
    case 3: disconnectCategoriesSlot(); break;
    case 4: toggleItalic(); break;
    case 5: toggleBold(); break;
    case 6: linkDialogSlot(); break;
    case 7: htmlDialogSlot(); break;
    case 8: addHtmlLink((QString)static_QUType_QString.get(_o+1),(QString)static_QUType_QString.get(_o+2)); break;
    case 9: addHtmlCode((QString)static_QUType_QString.get(_o+1)); break;
    case 10: closeSignal((const int)static_QUType_int.get(_o+1)); break;
    case 11: handleSuccess((const int)static_QUType_int.get(_o+1)); break;
    case 12: handleBackendError((const QString&)static_QUType_QString.get(_o+1)); break;
    default:
	return KBloggerEditorBlank::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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