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

TQMetaObject *TabbedBrowser::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TabbedBrowser( "TabbedBrowser", &TabbedBrowser::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TabbedBrowser::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 = TQWidget::staticMetaObject();
    static const TQUMethod slot_0 = {"forward", 0, 0 };
    static const TQUMethod slot_1 = {"backward", 0, 0 };
    static const TQUParameter param_slot_2[] = {
	{ "ref", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_2 = {"setSource", 1, param_slot_2 };
    static const TQUMethod slot_3 = {"reload", 0, 0 };
    static const TQUMethod slot_4 = {"home", 0, 0 };
    static const TQUMethod slot_5 = {"nextTab", 0, 0 };
    static const TQUMethod slot_6 = {"previousTab", 0, 0 };
    static const TQUParameter param_slot_7[] = {
	{ "lnk", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"newTab", 1, param_slot_7 };
    static const TQUMethod slot_8 = {"zoomIn", 0, 0 };
    static const TQUMethod slot_9 = {"zoomOut", 0, 0 };
    static const TQUParameter param_slot_10[] = {
	{ "title", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_10 = {"updateTitle", 1, param_slot_10 };
    static const TQUMethod slot_11 = {"newTab", 0, 0 };
    static const TQUMethod slot_12 = {"transferFocus", 0, 0 };
    static const TQUParameter param_slot_13[] = {
	{ "win", &static_QUType_ptr, "HelpWindow", TQUParameter::In }
    };
    static const TQUMethod slot_13 = {"initHelpWindow", 1, param_slot_13 };
    static const TQUMethod slot_14 = {"setup", 0, 0 };
    static const TQUParameter param_slot_15[] = {
	{ "uline", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_15 = {"setLinkUnderline", 1, param_slot_15 };
    static const TQUParameter param_slot_16[] = {
	{ "pal", &static_QUType_varptr, "\x0b", TQUParameter::In }
    };
    static const TQUMethod slot_16 = {"setPalette", 1, param_slot_16 };
    static const TQUMethod slot_17 = {"copy", 0, 0 };
    static const TQUMethod slot_18 = {"closeTab", 0, 0 };
    static const TQUMethod slot_19 = {"sourceChanged", 0, 0 };
    static const TQUMethod slot_20 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "forward()", &slot_0, TQMetaData::Public },
	{ "backward()", &slot_1, TQMetaData::Public },
	{ "setSource(const TQString&)", &slot_2, TQMetaData::Public },
	{ "reload()", &slot_3, TQMetaData::Public },
	{ "home()", &slot_4, TQMetaData::Public },
	{ "nextTab()", &slot_5, TQMetaData::Public },
	{ "previousTab()", &slot_6, TQMetaData::Public },
	{ "newTab(const TQString&)", &slot_7, TQMetaData::Public },
	{ "zoomIn()", &slot_8, TQMetaData::Public },
	{ "zoomOut()", &slot_9, TQMetaData::Public },
	{ "updateTitle(const TQString&)", &slot_10, TQMetaData::Public },
	{ "newTab()", &slot_11, TQMetaData::Public },
	{ "transferFocus()", &slot_12, TQMetaData::Public },
	{ "initHelpWindow(HelpWindow*)", &slot_13, TQMetaData::Public },
	{ "setup()", &slot_14, TQMetaData::Public },
	{ "setLinkUnderline(bool)", &slot_15, TQMetaData::Public },
	{ "setPalette(const TQPalette&)", &slot_16, TQMetaData::Public },
	{ "copy()", &slot_17, TQMetaData::Public },
	{ "closeTab()", &slot_18, TQMetaData::Public },
	{ "sourceChanged()", &slot_19, TQMetaData::Public },
	{ "languageChange()", &slot_20, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"TabbedBrowser", parentObject,
	slot_tbl, 21,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TabbedBrowser.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool TabbedBrowser::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: forward(); break;
    case 1: backward(); break;
    case 2: setSource((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 3: reload(); break;
    case 4: home(); break;
    case 5: nextTab(); break;
    case 6: previousTab(); break;
    case 7: newTab((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 8: zoomIn(); break;
    case 9: zoomOut(); break;
    case 10: updateTitle((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 11: newTab(); break;
    case 12: transferFocus(); break;
    case 13: initHelpWindow((HelpWindow*)static_QUType_ptr.get(_o+1)); break;
    case 14: setup(); break;
    case 15: setLinkUnderline((bool)static_QUType_bool.get(_o+1)); break;
    case 16: setPalette((const TQPalette&)*((const TQPalette*)static_QUType_ptr.get(_o+1))); break;
    case 17: copy(); break;
    case 18: closeTab(); break;
    case 19: sourceChanged(); break;
    case 20: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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