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

TQMetaObject *MainWindow::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_MainWindow( "MainWindow", &MainWindow::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* MainWindow::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 = {"init", 0, 0 };
    static const TQUMethod slot_1 = {"setup", 0, 0 };
    static const TQUMethod slot_2 = {"destroy", 0, 0 };
    static const TQUMethod slot_3 = {"about", 0, 0 };
    static const TQUMethod slot_4 = {"aboutApplication", 0, 0 };
    static const TQUMethod slot_5 = {"find", 0, 0 };
    static const TQUMethod slot_6 = {"findAgain", 0, 0 };
    static const TQUMethod slot_7 = {"findAgainPrev", 0, 0 };
    static const TQUMethod slot_8 = {"goHome", 0, 0 };
    static const TQUMethod slot_9 = {"print", 0, 0 };
    static const TQUMethod slot_10 = {"updateBookmarkMenu", 0, 0 };
    static const TQUMethod slot_11 = {"setupBookmarkMenu", 0, 0 };
    static const TQUParameter param_slot_12[] = {
	{ "id", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_12 = {"showBookmark", 1, param_slot_12 };
    static const TQUParameter param_slot_13[] = {
	{ "link", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_13 = {"showLinkFromClient", 1, param_slot_13 };
    static const TQUParameter param_slot_14[] = {
	{ "link", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_14 = {"showLink", 1, param_slot_14 };
    static const TQUParameter param_slot_15[] = {
	{ "links", &static_QUType_varptr, "\x04", TQUParameter::In }
    };
    static const TQUMethod slot_15 = {"showLinks", 1, param_slot_15 };
    static const TQUMethod slot_16 = {"showTQtHelp", 0, 0 };
    static const TQUMethod slot_17 = {"showSettingsDialog", 0, 0 };
    static const TQUMethod slot_18 = {"showWebBrowserSettings", 0, 0 };
    static const TQUParameter param_slot_19[] = {
	{ "page", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_19 = {"showSettingsDialog", 1, param_slot_19 };
    static const TQUMethod slot_20 = {"hide", 0, 0 };
    static const TQUParameter param_slot_21[] = {
	{ 0, &static_QUType_ptr, "MainWindow", TQUParameter::Out }
    };
    static const TQUMethod slot_21 = {"newWindow", 1, param_slot_21 };
    static const TQUMethod slot_22 = {"saveSettings", 0, 0 };
    static const TQUMethod slot_23 = {"saveToolbarSettings", 0, 0 };
    static const TQUParameter param_slot_24[] = {
	{ "link", &static_QUType_TQString, 0, TQUParameter::In },
	{ "terms", &static_QUType_varptr, "\x04", TQUParameter::In }
    };
    static const TQUMethod slot_24 = {"showSearchLink", 2, param_slot_24 };
    static const TQUMethod slot_25 = {"showGoActionLink", 0, 0 };
    static const TQUMethod slot_26 = {"showAssistantHelp", 0, 0 };
    static const TQUMethod slot_27 = {"updateProfileSettings", 0, 0 };
    static const TQUParameter param_slot_28[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_28 = {"backwardAvailable", 1, param_slot_28 };
    static const TQUParameter param_slot_29[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_29 = {"forwardAvailable", 1, param_slot_29 };
    static const TQUMethod slot_30 = {"browserTabChanged", 0, 0 };
    static const TQUMethod slot_31 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "init()", &slot_0, TQMetaData::Public },
	{ "setup()", &slot_1, TQMetaData::Public },
	{ "destroy()", &slot_2, TQMetaData::Public },
	{ "about()", &slot_3, TQMetaData::Public },
	{ "aboutApplication()", &slot_4, TQMetaData::Public },
	{ "find()", &slot_5, TQMetaData::Public },
	{ "findAgain()", &slot_6, TQMetaData::Public },
	{ "findAgainPrev()", &slot_7, TQMetaData::Public },
	{ "goHome()", &slot_8, TQMetaData::Public },
	{ "print()", &slot_9, TQMetaData::Public },
	{ "updateBookmarkMenu()", &slot_10, TQMetaData::Public },
	{ "setupBookmarkMenu()", &slot_11, TQMetaData::Public },
	{ "showBookmark(int)", &slot_12, TQMetaData::Public },
	{ "showLinkFromClient(const TQString&)", &slot_13, TQMetaData::Public },
	{ "showLink(const TQString&)", &slot_14, TQMetaData::Public },
	{ "showLinks(const TQStringList&)", &slot_15, TQMetaData::Public },
	{ "showTQtHelp()", &slot_16, TQMetaData::Public },
	{ "showSettingsDialog()", &slot_17, TQMetaData::Public },
	{ "showWebBrowserSettings()", &slot_18, TQMetaData::Public },
	{ "showSettingsDialog(int)", &slot_19, TQMetaData::Public },
	{ "hide()", &slot_20, TQMetaData::Public },
	{ "newWindow()", &slot_21, TQMetaData::Public },
	{ "saveSettings()", &slot_22, TQMetaData::Public },
	{ "saveToolbarSettings()", &slot_23, TQMetaData::Public },
	{ "showSearchLink(const TQString&,const TQStringList&)", &slot_24, TQMetaData::Public },
	{ "showGoActionLink()", &slot_25, TQMetaData::Public },
	{ "showAssistantHelp()", &slot_26, TQMetaData::Public },
	{ "updateProfileSettings()", &slot_27, TQMetaData::Public },
	{ "backwardAvailable(bool)", &slot_28, TQMetaData::Public },
	{ "forwardAvailable(bool)", &slot_29, TQMetaData::Public },
	{ "browserTabChanged()", &slot_30, TQMetaData::Public },
	{ "languageChange()", &slot_31, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"MainWindow", parentObject,
	slot_tbl, 32,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_MainWindow.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool MainWindow::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: init(); break;
    case 1: setup(); break;
    case 2: destroy(); break;
    case 3: about(); break;
    case 4: aboutApplication(); break;
    case 5: find(); break;
    case 6: findAgain(); break;
    case 7: findAgainPrev(); break;
    case 8: goHome(); break;
    case 9: print(); break;
    case 10: updateBookmarkMenu(); break;
    case 11: setupBookmarkMenu(); break;
    case 12: showBookmark((int)static_QUType_int.get(_o+1)); break;
    case 13: showLinkFromClient((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 14: showLink((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 15: showLinks((const TQStringList&)*((const TQStringList*)static_QUType_ptr.get(_o+1))); break;
    case 16: showTQtHelp(); break;
    case 17: showSettingsDialog(); break;
    case 18: showWebBrowserSettings(); break;
    case 19: showSettingsDialog((int)static_QUType_int.get(_o+1)); break;
    case 20: hide(); break;
    case 21: static_QUType_ptr.set(_o,newWindow()); break;
    case 22: saveSettings(); break;
    case 23: saveToolbarSettings(); break;
    case 24: showSearchLink((const TQString&)static_QUType_TQString.get(_o+1),(const TQStringList&)*((const TQStringList*)static_QUType_ptr.get(_o+2))); break;
    case 25: showGoActionLink(); break;
    case 26: showAssistantHelp(); break;
    case 27: updateProfileSettings(); break;
    case 28: backwardAvailable((bool)static_QUType_bool.get(_o+1)); break;
    case 29: forwardAvailable((bool)static_QUType_bool.get(_o+1)); break;
    case 30: browserTabChanged(); break;
    case 31: languageChange(); break;
    default:
	return TQMainWindow::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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