/****************************************************************************
** MainWindowWizardBase meta object code from reading C++ file 'mainwindowwizard.h'
**
** Created by: The TQt Meta Object Compiler version 26 (TQt 3.5.0)
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef TQT_NO_COMPAT
#include "../../mainwindowwizard.h"
#include <ntqmetaobject.h>
#include <ntqapplication.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.5.0. It"
#error "cannot be used with the include files from this version of TQt."
#error "(The moc has changed too much.)"
#endif

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

TQMetaObject *MainWindowWizardBase::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_MainWindowWizardBase( "MainWindowWizardBase", &MainWindowWizardBase::staticMetaObject );

#ifndef TQT_NO_TRANSLATION
TQString MainWindowWizardBase::tr( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "MainWindowWizardBase", s, c, TQApplication::DefaultCodec );
    else
	return TQString::fromLatin1( s );
}
#ifndef TQT_NO_TRANSLATION_UTF8
TQString MainWindowWizardBase::trUtf8( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "MainWindowWizardBase", s, c, TQApplication::UnicodeUTF8 );
    else
	return TQString::fromUtf8( s );
}
#endif // TQT_NO_TRANSLATION_UTF8

#endif // TQT_NO_TRANSLATION

TQMetaObject* MainWindowWizardBase::staticMetaObject()
{
    if ( metaObj ) {
	return metaObj;
}
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock();
    if ( metaObj ) {
	if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
	return metaObj;
    }
#endif // TQT_THREAD_SUPPORT
    TQMetaObject* parentObject = TQWizard::staticMetaObject();
    static const TQUMethod slot_0 = {"setupToolbarPage", 0, 0 };
    static const TQUMethod slot_1 = {"accept", 0, 0 };
    static const TQUParameter param_slot_2[] = {
	{ "n", &static_QUType_TQString, 0, TQUParameter::In },
	{ "pix", &static_QUType_varptr, "\x06", TQUParameter::InOut }
    };
    static const TQUMethod slot_2 = {"getPixmap", 2, param_slot_2 };
    static const TQUParameter param_slot_3[] = {
	{ "iface", &static_QUType_iface, "TQUnknownInterface", TQUParameter::In },
	{ "fw", &static_QUType_ptr, "DesignerFormWindow", TQUParameter::In },
	{ "w", &static_QUType_ptr, "TQWidget", TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"setAppInterface", 3, param_slot_3 };
    static const TQUMethod slot_4 = {"languageChange", 0, 0 };
    static const TQUMethod slot_5 = {"init", 0, 0 };
    static const TQUMethod slot_6 = {"destroy", 0, 0 };
    static const TQUMethod slot_7 = {"currentSettingChanged", 0, 0 };
    static const TQUMethod slot_8 = {"toolbarActionDown", 0, 0 };
    static const TQUMethod slot_9 = {"toolbarActionUp", 0, 0 };
    static const TQUMethod slot_10 = {"toolbarAddAction", 0, 0 };
    static const TQUMethod slot_11 = {"toolbarRemoveAction", 0, 0 };
    static const TQUParameter param_slot_12[] = {
	{ "s", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_12 = {"currentToolbarChanged", 1, param_slot_12 };
    static const TQUParameter param_slot_13[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_13 = {"pageSelected", 1, param_slot_13 };
    static const TQMetaData slot_tbl[] = {
	{ "setupToolbarPage()", &slot_0, TQMetaData::Public },
	{ "accept()", &slot_1, TQMetaData::Public },
	{ "getPixmap(const TQString&,TQPixmap&)", &slot_2, TQMetaData::Public },
	{ "setAppInterface(TQUnknownInterface*,DesignerFormWindow*,TQWidget*)", &slot_3, TQMetaData::Public },
	{ "languageChange()", &slot_4, TQMetaData::Protected },
	{ "init()", &slot_5, TQMetaData::Protected },
	{ "destroy()", &slot_6, TQMetaData::Protected },
	{ "currentSettingChanged()", &slot_7, TQMetaData::Protected },
	{ "toolbarActionDown()", &slot_8, TQMetaData::Protected },
	{ "toolbarActionUp()", &slot_9, TQMetaData::Protected },
	{ "toolbarAddAction()", &slot_10, TQMetaData::Protected },
	{ "toolbarRemoveAction()", &slot_11, TQMetaData::Protected },
	{ "currentToolbarChanged(const TQString&)", &slot_12, TQMetaData::Protected },
	{ "pageSelected(const TQString&)", &slot_13, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"MainWindowWizardBase", parentObject,
	slot_tbl, 14,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_MainWindowWizardBase.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* MainWindowWizardBase::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "MainWindowWizardBase" ) )
	return this;
    return TQWizard::tqt_cast( clname );
}

bool MainWindowWizardBase::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: setupToolbarPage(); break;
    case 1: accept(); break;
    case 2: getPixmap((const TQString&)static_QUType_TQString.get(_o+1),(TQPixmap&)*((TQPixmap*)static_QUType_ptr.get(_o+2))); break;
    case 3: setAppInterface((TQUnknownInterface*)static_QUType_iface.get(_o+1),(DesignerFormWindow*)static_QUType_ptr.get(_o+2),(TQWidget*)static_QUType_ptr.get(_o+3)); break;
    case 4: languageChange(); break;
    case 5: init(); break;
    case 6: destroy(); break;
    case 7: currentSettingChanged(); break;
    case 8: toolbarActionDown(); break;
    case 9: toolbarActionUp(); break;
    case 10: toolbarAddAction(); break;
    case 11: toolbarRemoveAction(); break;
    case 12: currentToolbarChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 13: pageSelected((const TQString&)static_QUType_TQString.get(_o+1)); break;
    default:
	return TQWizard::tqt_invoke( _id, _o );
    }
    return true;
}

bool MainWindowWizardBase::tqt_emit( int _id, TQUObject* _o )
{
    return TQWizard::tqt_emit(_id,_o);
}
#ifndef TQT_NO_PROPERTIES

bool MainWindowWizardBase::tqt_property( int id, int f, TQVariant* v)
{
    return TQWizard::tqt_property( id, f, v);
}

bool MainWindowWizardBase::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES
