/****************************************************************************
** MainWindowBase meta object code from reading C++ file 'mainwindowbase.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 "../../mainwindowbase.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 *MainWindowBase::className() const
{
    return "MainWindowBase";
}

TQMetaObject *MainWindowBase::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_MainWindowBase( "MainWindowBase", &MainWindowBase::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* MainWindowBase::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 = TQMainWindow::staticMetaObject();
    static const TQUMethod slot_0 = {"addFontpath", 0, 0 };
    static const TQUMethod slot_1 = {"addLibpath", 0, 0 };
    static const TQUMethod slot_2 = {"addSubstitute", 0, 0 };
    static const TQUMethod slot_3 = {"browseFontpath", 0, 0 };
    static const TQUMethod slot_4 = {"browseLibpath", 0, 0 };
    static const TQUMethod slot_5 = {"buildFont", 0, 0 };
    static const TQUMethod slot_6 = {"buildPalette", 0, 0 };
    static const TQUMethod slot_7 = {"downFontpath", 0, 0 };
    static const TQUMethod slot_8 = {"downLibpath", 0, 0 };
    static const TQUMethod slot_9 = {"downSubstitute", 0, 0 };
    static const TQUParameter param_slot_10[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_10 = {"familySelected", 1, param_slot_10 };
    static const TQUMethod slot_11 = {"fileExit", 0, 0 };
    static const TQUMethod slot_12 = {"fileSave", 0, 0 };
    static const TQUMethod slot_13 = {"helpAbout", 0, 0 };
    static const TQUMethod slot_14 = {"helpAboutTQt", 0, 0 };
    static const TQUMethod slot_15 = {"new_slot", 0, 0 };
    static const TQUParameter param_slot_16[] = {
	{ 0, &static_QUType_ptr, "TQWidget", TQUParameter::In }
    };
    static const TQUMethod slot_16 = {"pageChanged", 1, param_slot_16 };
    static const TQUParameter param_slot_17[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_17 = {"paletteSelected", 1, param_slot_17 };
    static const TQUMethod slot_18 = {"removeFontpath", 0, 0 };
    static const TQUMethod slot_19 = {"removeLibpath", 0, 0 };
    static const TQUMethod slot_20 = {"removeSubstitute", 0, 0 };
    static const TQUMethod slot_21 = {"somethingModified", 0, 0 };
    static const TQUParameter param_slot_22[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_22 = {"styleSelected", 1, param_slot_22 };
    static const TQUParameter param_slot_23[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_23 = {"substituteSelected", 1, param_slot_23 };
    static const TQUMethod slot_24 = {"tunePalette", 0, 0 };
    static const TQUMethod slot_25 = {"upFontpath", 0, 0 };
    static const TQUMethod slot_26 = {"upLibpath", 0, 0 };
    static const TQUMethod slot_27 = {"upSubstitute", 0, 0 };
    static const TQUMethod slot_28 = {"languageChange", 0, 0 };
    static const TQUMethod slot_29 = {"init", 0, 0 };
    static const TQUMethod slot_30 = {"destroy", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "addFontpath()", &slot_0, TQMetaData::Public },
	{ "addLibpath()", &slot_1, TQMetaData::Public },
	{ "addSubstitute()", &slot_2, TQMetaData::Public },
	{ "browseFontpath()", &slot_3, TQMetaData::Public },
	{ "browseLibpath()", &slot_4, TQMetaData::Public },
	{ "buildFont()", &slot_5, TQMetaData::Public },
	{ "buildPalette()", &slot_6, TQMetaData::Public },
	{ "downFontpath()", &slot_7, TQMetaData::Public },
	{ "downLibpath()", &slot_8, TQMetaData::Public },
	{ "downSubstitute()", &slot_9, TQMetaData::Public },
	{ "familySelected(const TQString&)", &slot_10, TQMetaData::Public },
	{ "fileExit()", &slot_11, TQMetaData::Public },
	{ "fileSave()", &slot_12, TQMetaData::Public },
	{ "helpAbout()", &slot_13, TQMetaData::Public },
	{ "helpAboutTQt()", &slot_14, TQMetaData::Public },
	{ "new_slot()", &slot_15, TQMetaData::Public },
	{ "pageChanged(TQWidget*)", &slot_16, TQMetaData::Public },
	{ "paletteSelected(int)", &slot_17, TQMetaData::Public },
	{ "removeFontpath()", &slot_18, TQMetaData::Public },
	{ "removeLibpath()", &slot_19, TQMetaData::Public },
	{ "removeSubstitute()", &slot_20, TQMetaData::Public },
	{ "somethingModified()", &slot_21, TQMetaData::Public },
	{ "styleSelected(const TQString&)", &slot_22, TQMetaData::Public },
	{ "substituteSelected(const TQString&)", &slot_23, TQMetaData::Public },
	{ "tunePalette()", &slot_24, TQMetaData::Public },
	{ "upFontpath()", &slot_25, TQMetaData::Public },
	{ "upLibpath()", &slot_26, TQMetaData::Public },
	{ "upSubstitute()", &slot_27, TQMetaData::Public },
	{ "languageChange()", &slot_28, TQMetaData::Protected },
	{ "init()", &slot_29, TQMetaData::Protected },
	{ "destroy()", &slot_30, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"MainWindowBase", parentObject,
	slot_tbl, 31,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_MainWindowBase.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool MainWindowBase::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: addFontpath(); break;
    case 1: addLibpath(); break;
    case 2: addSubstitute(); break;
    case 3: browseFontpath(); break;
    case 4: browseLibpath(); break;
    case 5: buildFont(); break;
    case 6: buildPalette(); break;
    case 7: downFontpath(); break;
    case 8: downLibpath(); break;
    case 9: downSubstitute(); break;
    case 10: familySelected((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 11: fileExit(); break;
    case 12: fileSave(); break;
    case 13: helpAbout(); break;
    case 14: helpAboutTQt(); break;
    case 15: new_slot(); break;
    case 16: pageChanged((TQWidget*)static_QUType_ptr.get(_o+1)); break;
    case 17: paletteSelected((int)static_QUType_int.get(_o+1)); break;
    case 18: removeFontpath(); break;
    case 19: removeLibpath(); break;
    case 20: removeSubstitute(); break;
    case 21: somethingModified(); break;
    case 22: styleSelected((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 23: substituteSelected((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 24: tunePalette(); break;
    case 25: upFontpath(); break;
    case 26: upLibpath(); break;
    case 27: upSubstitute(); break;
    case 28: languageChange(); break;
    case 29: init(); break;
    case 30: destroy(); break;
    default:
	return TQMainWindow::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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