/****************************************************************************
** KonqSidebarHistoryModule meta object code from reading C++ file 'standard input'
**
** 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 "/tmp/buildd/tde-packaging/arch/tde-core/tde-tdebase/src/tdebase-trinity-14.1.6/konqueror/sidebar/trees/history_module/history_module.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 *KonqSidebarHistoryModule::className() const
{
    return "KonqSidebarHistoryModule";
}

TQMetaObject *KonqSidebarHistoryModule::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_KonqSidebarHistoryModule( "KonqSidebarHistoryModule", &KonqSidebarHistoryModule::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* KonqSidebarHistoryModule::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 = TQObject::staticMetaObject();
    static const TQUMethod slot_0 = {"clear", 0, 0 };
    static const TQUMethod slot_1 = {"slotCreateItems", 0, 0 };
    static const TQUParameter param_slot_2[] = {
	{ 0, &static_QUType_ptr, "KonqHistoryEntry", TQUParameter::In }
    };
    static const TQUMethod slot_2 = {"slotEntryAdded", 1, param_slot_2 };
    static const TQUParameter param_slot_3[] = {
	{ 0, &static_QUType_ptr, "KonqHistoryEntry", TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"slotEntryRemoved", 1, param_slot_3 };
    static const TQUMethod slot_4 = {"slotNewWindow", 0, 0 };
    static const TQUMethod slot_5 = {"slotRemoveEntry", 0, 0 };
    static const TQUMethod slot_6 = {"slotPreferences", 0, 0 };
    static const TQUMethod slot_7 = {"slotSettingsChanged", 0, 0 };
    static const TQUParameter param_slot_8[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod slot_8 = {"slotItemExpanded", 1, param_slot_8 };
    static const TQUMethod slot_9 = {"slotSortByName", 0, 0 };
    static const TQUMethod slot_10 = {"slotSortByDate", 0, 0 };
    static const TQUMethod slot_11 = {"slotClearHistory", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "clear()", &slot_0, TQMetaData::Public },
	{ "slotCreateItems()", &slot_1, TQMetaData::Private },
	{ "slotEntryAdded(const KonqHistoryEntry*)", &slot_2, TQMetaData::Private },
	{ "slotEntryRemoved(const KonqHistoryEntry*)", &slot_3, TQMetaData::Private },
	{ "slotNewWindow()", &slot_4, TQMetaData::Private },
	{ "slotRemoveEntry()", &slot_5, TQMetaData::Private },
	{ "slotPreferences()", &slot_6, TQMetaData::Private },
	{ "slotSettingsChanged()", &slot_7, TQMetaData::Private },
	{ "slotItemExpanded(TQListViewItem*)", &slot_8, TQMetaData::Private },
	{ "slotSortByName()", &slot_9, TQMetaData::Private },
	{ "slotSortByDate()", &slot_10, TQMetaData::Private },
	{ "slotClearHistory()", &slot_11, TQMetaData::Private }
    };
    metaObj = TQMetaObject::new_metaobject(
	"KonqSidebarHistoryModule", parentObject,
	slot_tbl, 12,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_KonqSidebarHistoryModule.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* KonqSidebarHistoryModule::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "KonqSidebarHistoryModule" ) )
	return this;
    if ( !qstrcmp( clname, "KonqSidebarTreeModule" ) )
	return (KonqSidebarTreeModule*)this;
    return TQObject::tqt_cast( clname );
}

bool KonqSidebarHistoryModule::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: clear(); break;
    case 1: slotCreateItems(); break;
    case 2: slotEntryAdded((const KonqHistoryEntry*)static_QUType_ptr.get(_o+1)); break;
    case 3: slotEntryRemoved((const KonqHistoryEntry*)static_QUType_ptr.get(_o+1)); break;
    case 4: slotNewWindow(); break;
    case 5: slotRemoveEntry(); break;
    case 6: slotPreferences(); break;
    case 7: slotSettingsChanged(); break;
    case 8: slotItemExpanded((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 9: slotSortByName(); break;
    case 10: slotSortByDate(); break;
    case 11: slotClearHistory(); break;
    default:
	return TQObject::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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