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

TQMetaObject *HelpDialogBase::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_HelpDialogBase( "HelpDialogBase", &HelpDialogBase::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* HelpDialogBase::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 = {"languageChange", 0, 0 };
    static const TQUMethod slot_1 = {"init", 0, 0 };
    static const TQUMethod slot_2 = {"destroy", 0, 0 };
    static const TQUMethod slot_3 = {"addBookmark", 0, 0 };
    static const TQUParameter param_slot_4[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod slot_4 = {"currentBookmarkChanged", 1, param_slot_4 };
    static const TQUParameter param_slot_5[] = {
	{ 0, &static_QUType_ptr, "TQListBoxItem", TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"currentIndexChanged", 1, param_slot_5 };
    static const TQUParameter param_slot_6[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"currentTabChanged", 1, param_slot_6 };
    static const TQUMethod slot_7 = {"loadIndexFile", 0, 0 };
    static const TQUParameter param_slot_8[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod slot_8 = {"currentContentsChanged", 1, param_slot_8 };
    static const TQUMethod slot_9 = {"removeBookmark", 0, 0 };
    static const TQUParameter param_slot_10[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_10 = {"searchInIndex", 1, param_slot_10 };
    static const TQUMethod slot_11 = {"showTopic", 0, 0 };
    static const TQUParameter param_slot_12[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_ptr, "TQListBoxItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod slot_12 = {"showTopic", 3, param_slot_12 };
    static const TQUMethod slot_13 = {"showSearchHelp", 0, 0 };
    static const TQUMethod slot_14 = {"startSearch", 0, 0 };
    static const TQUParameter param_slot_15[] = {
	{ 0, &static_QUType_ptr, "TQListBoxItem", TQUParameter::In }
    };
    static const TQUMethod slot_15 = {"showResultPage", 1, param_slot_15 };
    static const TQUParameter param_slot_16[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_ptr, "TQListBoxItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod slot_16 = {"showResultPage", 3, param_slot_16 };
    static const TQUParameter param_slot_17[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod slot_17 = {"showResultPage", 3, param_slot_17 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected },
	{ "init()", &slot_1, TQMetaData::Protected },
	{ "destroy()", &slot_2, TQMetaData::Protected },
	{ "addBookmark()", &slot_3, TQMetaData::Protected },
	{ "currentBookmarkChanged(TQListViewItem*)", &slot_4, TQMetaData::Protected },
	{ "currentIndexChanged(TQListBoxItem*)", &slot_5, TQMetaData::Protected },
	{ "currentTabChanged(const TQString&)", &slot_6, TQMetaData::Protected },
	{ "loadIndexFile()", &slot_7, TQMetaData::Protected },
	{ "currentContentsChanged(TQListViewItem*)", &slot_8, TQMetaData::Protected },
	{ "removeBookmark()", &slot_9, TQMetaData::Protected },
	{ "searchInIndex(const TQString&)", &slot_10, TQMetaData::Protected },
	{ "showTopic()", &slot_11, TQMetaData::Protected },
	{ "showTopic(int,TQListBoxItem*,const TQPoint&)", &slot_12, TQMetaData::Protected },
	{ "showSearchHelp()", &slot_13, TQMetaData::Protected },
	{ "startSearch()", &slot_14, TQMetaData::Protected },
	{ "showResultPage(TQListBoxItem*)", &slot_15, TQMetaData::Protected },
	{ "showResultPage(int,TQListBoxItem*,const TQPoint&)", &slot_16, TQMetaData::Protected },
	{ "showResultPage(int,TQListViewItem*,const TQPoint&)", &slot_17, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"HelpDialogBase", parentObject,
	slot_tbl, 18,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_HelpDialogBase.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool HelpDialogBase::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    case 1: init(); break;
    case 2: destroy(); break;
    case 3: addBookmark(); break;
    case 4: currentBookmarkChanged((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 5: currentIndexChanged((TQListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    case 6: currentTabChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 7: loadIndexFile(); break;
    case 8: currentContentsChanged((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 9: removeBookmark(); break;
    case 10: searchInIndex((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 11: showTopic(); break;
    case 12: showTopic((int)static_QUType_int.get(_o+1),(TQListBoxItem*)static_QUType_ptr.get(_o+2),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+3))); break;
    case 13: showSearchHelp(); break;
    case 14: startSearch(); break;
    case 15: showResultPage((TQListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    case 16: showResultPage((int)static_QUType_int.get(_o+1),(TQListBoxItem*)static_QUType_ptr.get(_o+2),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+3))); break;
    case 17: showResultPage((int)static_QUType_int.get(_o+1),(TQListViewItem*)static_QUType_ptr.get(_o+2),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+3))); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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