/****************************************************************************
** TQListView meta object code from reading C++ file 'ntqlistview.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 "../../widgets/ntqlistview.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

#include <ntqvariant.h>
const char *TQListView::className() const
{
    return "TQListView";
}

TQMetaObject *TQListView::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQListView( "TQListView", &TQListView::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQListView::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 = TQScrollView::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaEnum::Item enum_0[] = {
	{ "Single",  (int) TQListView::Single },
	{ "Multi",  (int) TQListView::Multi },
	{ "Extended",  (int) TQListView::Extended },
	{ "NoSelection",  (int) TQListView::NoSelection }
    };
    static const TQMetaEnum::Item enum_1[] = {
	{ "NoColumn",  (int) TQListView::NoColumn },
	{ "AllColumns",  (int) TQListView::AllColumns },
	{ "LastColumn",  (int) TQListView::LastColumn }
    };
    static const TQMetaEnum::Item enum_2[] = {
	{ "Accept",  (int) TQListView::Accept },
	{ "Reject",  (int) TQListView::Reject }
    };
    static const TQMetaEnum enum_tbl[] = {
	{ "SelectionMode", 4, enum_0, false },
	{ "ResizeMode", 3, enum_1, false },
	{ "RenameAction", 2, enum_2, false }
    };
#endif // TQT_NO_PROPERTIES
    static const TQUMethod slot_0 = {"clear", 0, 0 };
    static const TQUMethod slot_1 = {"invertSelection", 0, 0 };
    static const TQUParameter param_slot_2[] = {
	{ "select", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_2 = {"selectAll", 1, param_slot_2 };
    static const TQUMethod slot_3 = {"triggerUpdate", 0, 0 };
    static const TQUParameter param_slot_4[] = {
	{ "x", &static_QUType_int, 0, TQUParameter::In },
	{ "y", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_4 = {"setContentsPos", 2, param_slot_4 };
    static const TQUParameter param_slot_5[] = {
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"adjustColumn", 1, param_slot_5 };
    static const TQUMethod slot_6 = {"updateContents", 0, 0 };
    static const TQUMethod slot_7 = {"doAutoScroll", 0, 0 };
    static const TQUParameter param_slot_8[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_8 = {"changeSortColumn", 1, param_slot_8 };
    static const TQUMethod slot_9 = {"handleIndexChange", 0, 0 };
    static const TQUMethod slot_10 = {"updateDirtyItems", 0, 0 };
    static const TQUMethod slot_11 = {"makeVisible", 0, 0 };
    static const TQUParameter param_slot_12[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_12 = {"handleSizeChange", 3, param_slot_12 };
    static const TQUMethod slot_13 = {"startRename", 0, 0 };
    static const TQUMethod slot_14 = {"openFocusItem", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "clear()", &slot_0, TQMetaData::Public },
	{ "invertSelection()", &slot_1, TQMetaData::Public },
	{ "selectAll(bool)", &slot_2, TQMetaData::Public },
	{ "triggerUpdate()", &slot_3, TQMetaData::Public },
	{ "setContentsPos(int,int)", &slot_4, TQMetaData::Public },
	{ "adjustColumn(int)", &slot_5, TQMetaData::Public },
	{ "updateContents()", &slot_6, TQMetaData::Protected },
	{ "doAutoScroll()", &slot_7, TQMetaData::Protected },
	{ "changeSortColumn(int)", &slot_8, TQMetaData::Private },
	{ "handleIndexChange()", &slot_9, TQMetaData::Private },
	{ "updateDirtyItems()", &slot_10, TQMetaData::Private },
	{ "makeVisible()", &slot_11, TQMetaData::Private },
	{ "handleSizeChange(int,int,int)", &slot_12, TQMetaData::Private },
	{ "startRename()", &slot_13, TQMetaData::Private },
	{ "openFocusItem()", &slot_14, TQMetaData::Private }
    };
    static const TQUMethod signal_0 = {"selectionChanged", 0, 0 };
    static const TQUParameter param_signal_1[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_1 = {"selectionChanged", 1, param_signal_1 };
    static const TQUParameter param_signal_2[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_2 = {"currentChanged", 1, param_signal_2 };
    static const TQUParameter param_signal_3[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_3 = {"clicked", 1, param_signal_3 };
    static const TQUParameter param_signal_4[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_4 = {"clicked", 3, param_signal_4 };
    static const TQUParameter param_signal_5[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_5 = {"pressed", 1, param_signal_5 };
    static const TQUParameter param_signal_6[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_6 = {"pressed", 3, param_signal_6 };
    static const TQUParameter param_signal_7[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_7 = {"doubleClicked", 1, param_signal_7 };
    static const TQUParameter param_signal_8[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_8 = {"doubleClicked", 3, param_signal_8 };
    static const TQUParameter param_signal_9[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_9 = {"returnPressed", 1, param_signal_9 };
    static const TQUParameter param_signal_10[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_10 = {"spacePressed", 1, param_signal_10 };
    static const TQUParameter param_signal_11[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_11 = {"rightButtonClicked", 3, param_signal_11 };
    static const TQUParameter param_signal_12[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_12 = {"rightButtonPressed", 3, param_signal_12 };
    static const TQUParameter param_signal_13[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_13 = {"mouseButtonPressed", 4, param_signal_13 };
    static const TQUParameter param_signal_14[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_14 = {"mouseButtonClicked", 4, param_signal_14 };
    static const TQUParameter param_signal_15[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_15 = {"contextMenuRequested", 3, param_signal_15 };
    static const TQUParameter param_signal_16[] = {
	{ "item", &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_16 = {"onItem", 1, param_signal_16 };
    static const TQUMethod signal_17 = {"onViewport", 0, 0 };
    static const TQUParameter param_signal_18[] = {
	{ "item", &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_18 = {"expanded", 1, param_signal_18 };
    static const TQUParameter param_signal_19[] = {
	{ "item", &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_19 = {"collapsed", 1, param_signal_19 };
    static const TQUParameter param_signal_20[] = {
	{ "e", &static_QUType_ptr, "TQDropEvent", TQUParameter::In }
    };
    static const TQUMethod signal_20 = {"dropped", 1, param_signal_20 };
    static const TQUParameter param_signal_21[] = {
	{ "item", &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ "col", &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_21 = {"itemRenamed", 3, param_signal_21 };
    static const TQUParameter param_signal_22[] = {
	{ "item", &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_22 = {"itemRenamed", 2, param_signal_22 };
    static const TQMetaData signal_tbl[] = {
	{ "selectionChanged()", &signal_0, TQMetaData::Public },
	{ "selectionChanged(TQListViewItem*)", &signal_1, TQMetaData::Public },
	{ "currentChanged(TQListViewItem*)", &signal_2, TQMetaData::Public },
	{ "clicked(TQListViewItem*)", &signal_3, TQMetaData::Public },
	{ "clicked(TQListViewItem*,const TQPoint&,int)", &signal_4, TQMetaData::Public },
	{ "pressed(TQListViewItem*)", &signal_5, TQMetaData::Public },
	{ "pressed(TQListViewItem*,const TQPoint&,int)", &signal_6, TQMetaData::Public },
	{ "doubleClicked(TQListViewItem*)", &signal_7, TQMetaData::Public },
	{ "doubleClicked(TQListViewItem*,const TQPoint&,int)", &signal_8, TQMetaData::Public },
	{ "returnPressed(TQListViewItem*)", &signal_9, TQMetaData::Public },
	{ "spacePressed(TQListViewItem*)", &signal_10, TQMetaData::Public },
	{ "rightButtonClicked(TQListViewItem*,const TQPoint&,int)", &signal_11, TQMetaData::Public },
	{ "rightButtonPressed(TQListViewItem*,const TQPoint&,int)", &signal_12, TQMetaData::Public },
	{ "mouseButtonPressed(int,TQListViewItem*,const TQPoint&,int)", &signal_13, TQMetaData::Public },
	{ "mouseButtonClicked(int,TQListViewItem*,const TQPoint&,int)", &signal_14, TQMetaData::Public },
	{ "contextMenuRequested(TQListViewItem*,const TQPoint&,int)", &signal_15, TQMetaData::Public },
	{ "onItem(TQListViewItem*)", &signal_16, TQMetaData::Public },
	{ "onViewport()", &signal_17, TQMetaData::Public },
	{ "expanded(TQListViewItem*)", &signal_18, TQMetaData::Public },
	{ "collapsed(TQListViewItem*)", &signal_19, TQMetaData::Public },
	{ "dropped(TQDropEvent*)", &signal_20, TQMetaData::Public },
	{ "itemRenamed(TQListViewItem*,int,const TQString&)", &signal_21, TQMetaData::Public },
	{ "itemRenamed(TQListViewItem*,int)", &signal_22, TQMetaData::Public }
    };
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[12] = {
 	{ "int","columns", 0x10000001, &TQListView::metaObj, 0, -1 },
	{ "bool","multiSelection", 0x12001103, &TQListView::metaObj, 0, -1 },
	{ "SelectionMode","selectionMode", 0x0107, &TQListView::metaObj, &enum_tbl[0], -1 },
	{ "int","childCount", 0x10000001, &TQListView::metaObj, 0, -1 },
	{ "bool","allColumnsShowFocus", 0x12000103, &TQListView::metaObj, 0, -1 },
	{ "bool","showSortIndicator", 0x12000103, &TQListView::metaObj, 0, -1 },
	{ "int","itemMargin", 0x10000103, &TQListView::metaObj, 0, -1 },
	{ "bool","rootIsDecorated", 0x12000103, &TQListView::metaObj, 0, -1 },
	{ "bool","showToolTips", 0x12000103, &TQListView::metaObj, 0, -1 },
	{ "ResizeMode","resizeMode", 0x0107, &TQListView::metaObj, &enum_tbl[1], -1 },
	{ "int","treeStepSize", 0x10000103, &TQListView::metaObj, 0, -1 },
	{ "RenameAction","defaultRenameAction", 0x0107, &TQListView::metaObj, &enum_tbl[2], -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQListView", parentObject,
	slot_tbl, 15,
	signal_tbl, 23,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 12,
	enum_tbl, 3,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQListView.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

// TQ_SIGNAL selectionChanged
void TQListView::selectionChanged()
{
    activate_signal( staticMetaObject()->signalOffset() + 0 );
}

#include <ntqobjectdefs.h>
#include <ntqsignalslotimp.h>

// TQ_SIGNAL selectionChanged
void TQListView::selectionChanged( TQListViewItem* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 1 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL currentChanged
void TQListView::currentChanged( TQListViewItem* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 2 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL clicked
void TQListView::clicked( TQListViewItem* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 3 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL clicked
void TQListView::clicked( TQListViewItem* t0, const TQPoint& t1, int t2 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 4 );
    if ( !clist )
	return;
    TQUObject o[4];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_varptr.set(o+2,&t1);
    static_QUType_int.set(o+3,t2);
    o[3].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL pressed
void TQListView::pressed( TQListViewItem* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 5 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL pressed
void TQListView::pressed( TQListViewItem* t0, const TQPoint& t1, int t2 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 6 );
    if ( !clist )
	return;
    TQUObject o[4];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_varptr.set(o+2,&t1);
    static_QUType_int.set(o+3,t2);
    o[3].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL doubleClicked
void TQListView::doubleClicked( TQListViewItem* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 7 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL doubleClicked
void TQListView::doubleClicked( TQListViewItem* t0, const TQPoint& t1, int t2 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 8 );
    if ( !clist )
	return;
    TQUObject o[4];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_varptr.set(o+2,&t1);
    static_QUType_int.set(o+3,t2);
    o[3].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL returnPressed
void TQListView::returnPressed( TQListViewItem* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 9 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL spacePressed
void TQListView::spacePressed( TQListViewItem* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 10 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL rightButtonClicked
void TQListView::rightButtonClicked( TQListViewItem* t0, const TQPoint& t1, int t2 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 11 );
    if ( !clist )
	return;
    TQUObject o[4];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_varptr.set(o+2,&t1);
    static_QUType_int.set(o+3,t2);
    o[3].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL rightButtonPressed
void TQListView::rightButtonPressed( TQListViewItem* t0, const TQPoint& t1, int t2 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 12 );
    if ( !clist )
	return;
    TQUObject o[4];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_varptr.set(o+2,&t1);
    static_QUType_int.set(o+3,t2);
    o[3].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL mouseButtonPressed
void TQListView::mouseButtonPressed( int t0, TQListViewItem* t1, const TQPoint& t2, int t3 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 13 );
    if ( !clist )
	return;
    TQUObject o[5];
    static_QUType_int.set(o+1,t0);
    static_QUType_ptr.set(o+2,t1);
    static_QUType_varptr.set(o+3,&t2);
    static_QUType_int.set(o+4,t3);
    o[4].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL mouseButtonClicked
void TQListView::mouseButtonClicked( int t0, TQListViewItem* t1, const TQPoint& t2, int t3 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 14 );
    if ( !clist )
	return;
    TQUObject o[5];
    static_QUType_int.set(o+1,t0);
    static_QUType_ptr.set(o+2,t1);
    static_QUType_varptr.set(o+3,&t2);
    static_QUType_int.set(o+4,t3);
    o[4].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL contextMenuRequested
void TQListView::contextMenuRequested( TQListViewItem* t0, const TQPoint& t1, int t2 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 15 );
    if ( !clist )
	return;
    TQUObject o[4];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_varptr.set(o+2,&t1);
    static_QUType_int.set(o+3,t2);
    o[3].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL onItem
void TQListView::onItem( TQListViewItem* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 16 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL onViewport
void TQListView::onViewport()
{
    activate_signal( staticMetaObject()->signalOffset() + 17 );
}

// TQ_SIGNAL expanded
void TQListView::expanded( TQListViewItem* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 18 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL collapsed
void TQListView::collapsed( TQListViewItem* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 19 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL dropped
void TQListView::dropped( TQDropEvent* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 20 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL itemRenamed
void TQListView::itemRenamed( TQListViewItem* t0, int t1, const TQString& t2 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 21 );
    if ( !clist )
	return;
    TQUObject o[4];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_int.set(o+2,t1);
    static_QUType_TQString.set(o+3,t2);
    o[3].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL itemRenamed
void TQListView::itemRenamed( TQListViewItem* t0, int t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 22 );
    if ( !clist )
	return;
    TQUObject o[3];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_int.set(o+2,t1);
    o[2].isLastObject = true;
    activate_signal( clist, o );
}

bool TQListView::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: clear(); break;
    case 1: invertSelection(); break;
    case 2: selectAll((bool)static_QUType_bool.get(_o+1)); break;
    case 3: triggerUpdate(); break;
    case 4: setContentsPos((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 5: adjustColumn((int)static_QUType_int.get(_o+1)); break;
    case 6: updateContents(); break;
    case 7: doAutoScroll(); break;
    case 8: changeSortColumn((int)static_QUType_int.get(_o+1)); break;
    case 9: handleIndexChange(); break;
    case 10: updateDirtyItems(); break;
    case 11: makeVisible(); break;
    case 12: handleSizeChange((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3)); break;
    case 13: startRename(); break;
    case 14: openFocusItem(); break;
    default:
	return TQScrollView::tqt_invoke( _id, _o );
    }
    return true;
}

bool TQListView::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: selectionChanged(); break;
    case 1: selectionChanged((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 2: currentChanged((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 3: clicked((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 4: clicked((TQListViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
    case 5: pressed((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 6: pressed((TQListViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
    case 7: doubleClicked((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 8: doubleClicked((TQListViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
    case 9: returnPressed((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 10: spacePressed((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 11: rightButtonClicked((TQListViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
    case 12: rightButtonPressed((TQListViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
    case 13: mouseButtonPressed((int)static_QUType_int.get(_o+1),(TQListViewItem*)static_QUType_ptr.get(_o+2),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+3)),(int)static_QUType_int.get(_o+4)); break;
    case 14: mouseButtonClicked((int)static_QUType_int.get(_o+1),(TQListViewItem*)static_QUType_ptr.get(_o+2),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+3)),(int)static_QUType_int.get(_o+4)); break;
    case 15: contextMenuRequested((TQListViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
    case 16: onItem((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 17: onViewport(); break;
    case 18: expanded((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 19: collapsed((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 20: dropped((TQDropEvent*)static_QUType_ptr.get(_o+1)); break;
    case 21: itemRenamed((TQListViewItem*)static_QUType_ptr.get(_o+1),(int)static_QUType_int.get(_o+2),(const TQString&)static_QUType_TQString.get(_o+3)); break;
    case 22: itemRenamed((TQListViewItem*)static_QUType_ptr.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    default:
	return TQScrollView::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

bool TQListView::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 1: *v = TQVariant( this->columns() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 1: switch( f ) {
	case 0: setMultiSelection(v->asBool()); break;
	case 1: *v = TQVariant( this->isMultiSelection() ); break;
	case 4: case 5: break;
	default: return false;
    } break;
    case 2: switch( f ) {
	case 0: setSelectionMode((SelectionMode&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->selectionMode() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 3: switch( f ) {
	case 1: *v = TQVariant( this->childCount() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 4: switch( f ) {
	case 0: setAllColumnsShowFocus(v->asBool()); break;
	case 1: *v = TQVariant( this->allColumnsShowFocus() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 5: switch( f ) {
	case 0: setShowSortIndicator(v->asBool()); break;
	case 1: *v = TQVariant( this->showSortIndicator() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 6: switch( f ) {
	case 0: setItemMargin(v->asInt()); break;
	case 1: *v = TQVariant( this->itemMargin() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 7: switch( f ) {
	case 0: setRootIsDecorated(v->asBool()); break;
	case 1: *v = TQVariant( this->rootIsDecorated() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 8: switch( f ) {
	case 0: setShowToolTips(v->asBool()); break;
	case 1: *v = TQVariant( this->showToolTips() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 9: switch( f ) {
	case 0: setResizeMode((ResizeMode&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->resizeMode() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 10: switch( f ) {
	case 0: setTreeStepSize(v->asInt()); break;
	case 1: *v = TQVariant( this->treeStepSize() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 11: switch( f ) {
	case 0: setDefaultRenameAction((RenameAction&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->defaultRenameAction() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    default:
	return TQScrollView::tqt_property( id, f, v );
    }
    return true;
}

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