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

TQMetaObject *TQIconDrag::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQIconDrag( "TQIconDrag", &TQIconDrag::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQIconDrag::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 = TQDragObject::staticMetaObject();
    metaObj = TQMetaObject::new_metaobject(
	"TQIconDrag", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQIconDrag.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool TQIconDrag::tqt_invoke( int _id, TQUObject* _o )
{
    return TQDragObject::tqt_invoke(_id,_o);
}

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

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

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


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

TQMetaObject *TQIconView::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQIconView( "TQIconView", &TQIconView::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQIconView::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) TQIconView::Single },
	{ "Multi",  (int) TQIconView::Multi },
	{ "Extended",  (int) TQIconView::Extended },
	{ "NoSelection",  (int) TQIconView::NoSelection }
    };
    static const TQMetaEnum::Item enum_1[] = {
	{ "LeftToRight",  (int) TQIconView::LeftToRight },
	{ "TopToBottom",  (int) TQIconView::TopToBottom }
    };
    static const TQMetaEnum::Item enum_2[] = {
	{ "Fixed",  (int) TQIconView::Fixed },
	{ "Adjust",  (int) TQIconView::Adjust }
    };
    static const TQMetaEnum::Item enum_3[] = {
	{ "Bottom",  (int) TQIconView::Bottom },
	{ "Right",  (int) TQIconView::Right }
    };
    static const TQMetaEnum enum_tbl[] = {
	{ "SelectionMode", 4, enum_0, false },
	{ "Arrangement", 2, enum_1, false },
	{ "ResizeMode", 2, enum_2, false },
	{ "ItemTextPos", 2, enum_3, false }
    };
#endif // TQT_NO_PROPERTIES
    static const TQUParameter param_slot_0[] = {
	{ "grid", &static_QUType_varptr, "\x09", TQUParameter::In }
    };
    static const TQUMethod slot_0 = {"arrangeItemsInGrid", 1, param_slot_0 };
    static const TQUParameter param_slot_1[] = {
	{ "grid", &static_QUType_varptr, "\x09", TQUParameter::In },
	{ "update", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_1 = {"arrangeItemsInGrid", 2, param_slot_1 };
    static const TQUMethod slot_2 = {"arrangeItemsInGrid", 0, 0 };
    static const TQUParameter param_slot_3[] = {
	{ "update", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"arrangeItemsInGrid", 1, param_slot_3 };
    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 TQUMethod slot_5 = {"updateContents", 0, 0 };
    static const TQUMethod slot_6 = {"doAutoScroll", 0, 0 };
    static const TQUMethod slot_7 = {"adjustItems", 0, 0 };
    static const TQUMethod slot_8 = {"slotUpdate", 0, 0 };
    static const TQUParameter param_slot_9[] = {
	{ "dx", &static_QUType_int, 0, TQUParameter::In },
	{ "dy", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_9 = {"movedContents", 2, param_slot_9 };
    static const TQMetaData slot_tbl[] = {
	{ "arrangeItemsInGrid(const TQSize&)", &slot_0, TQMetaData::Public },
	{ "arrangeItemsInGrid(const TQSize&,bool)", &slot_1, TQMetaData::Public },
	{ "arrangeItemsInGrid()", &slot_2, TQMetaData::Public },
	{ "arrangeItemsInGrid(bool)", &slot_3, TQMetaData::Public },
	{ "setContentsPos(int,int)", &slot_4, TQMetaData::Public },
	{ "updateContents()", &slot_5, TQMetaData::Public },
	{ "doAutoScroll()", &slot_6, TQMetaData::Protected },
	{ "adjustItems()", &slot_7, TQMetaData::Protected },
	{ "slotUpdate()", &slot_8, TQMetaData::Protected },
	{ "movedContents(int,int)", &slot_9, TQMetaData::Private }
    };
    static const TQUMethod signal_0 = {"selectionChanged", 0, 0 };
    static const TQUParameter param_signal_1[] = {
	{ "item", &static_QUType_ptr, "TQIconViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_1 = {"selectionChanged", 1, param_signal_1 };
    static const TQUParameter param_signal_2[] = {
	{ "item", &static_QUType_ptr, "TQIconViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_2 = {"currentChanged", 1, param_signal_2 };
    static const TQUParameter param_signal_3[] = {
	{ 0, &static_QUType_ptr, "TQIconViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_3 = {"clicked", 1, param_signal_3 };
    static const TQUParameter param_signal_4[] = {
	{ 0, &static_QUType_ptr, "TQIconViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod signal_4 = {"clicked", 2, param_signal_4 };
    static const TQUParameter param_signal_5[] = {
	{ 0, &static_QUType_ptr, "TQIconViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_5 = {"pressed", 1, param_signal_5 };
    static const TQUParameter param_signal_6[] = {
	{ 0, &static_QUType_ptr, "TQIconViewItem", TQUParameter::In },
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod signal_6 = {"pressed", 2, param_signal_6 };
    static const TQUParameter param_signal_7[] = {
	{ "item", &static_QUType_ptr, "TQIconViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_7 = {"doubleClicked", 1, param_signal_7 };
    static const TQUParameter param_signal_8[] = {
	{ "item", &static_QUType_ptr, "TQIconViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_8 = {"returnPressed", 1, param_signal_8 };
    static const TQUParameter param_signal_9[] = {
	{ "item", &static_QUType_ptr, "TQIconViewItem", TQUParameter::In },
	{ "pos", &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod signal_9 = {"rightButtonClicked", 2, param_signal_9 };
    static const TQUParameter param_signal_10[] = {
	{ "item", &static_QUType_ptr, "TQIconViewItem", TQUParameter::In },
	{ "pos", &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod signal_10 = {"rightButtonPressed", 2, param_signal_10 };
    static const TQUParameter param_signal_11[] = {
	{ "button", &static_QUType_int, 0, TQUParameter::In },
	{ "item", &static_QUType_ptr, "TQIconViewItem", TQUParameter::In },
	{ "pos", &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod signal_11 = {"mouseButtonPressed", 3, param_signal_11 };
    static const TQUParameter param_signal_12[] = {
	{ "button", &static_QUType_int, 0, TQUParameter::In },
	{ "item", &static_QUType_ptr, "TQIconViewItem", TQUParameter::In },
	{ "pos", &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod signal_12 = {"mouseButtonClicked", 3, param_signal_12 };
    static const TQUParameter param_signal_13[] = {
	{ "item", &static_QUType_ptr, "TQIconViewItem", TQUParameter::In },
	{ "pos", &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod signal_13 = {"contextMenuRequested", 2, param_signal_13 };
    static const TQUParameter param_signal_14[] = {
	{ "e", &static_QUType_ptr, "TQDropEvent", TQUParameter::In },
	{ "lst", &static_QUType_ptr, "TQValueList<TQIconDragItem>", TQUParameter::In }
    };
    static const TQUMethod signal_14 = {"dropped", 2, param_signal_14 };
    static const TQUMethod signal_15 = {"moved", 0, 0 };
    static const TQUParameter param_signal_16[] = {
	{ "item", &static_QUType_ptr, "TQIconViewItem", 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, "TQIconViewItem", TQUParameter::In },
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_18 = {"itemRenamed", 2, param_signal_18 };
    static const TQUParameter param_signal_19[] = {
	{ "item", &static_QUType_ptr, "TQIconViewItem", TQUParameter::In }
    };
    static const TQUMethod signal_19 = {"itemRenamed", 1, param_signal_19 };
    static const TQMetaData signal_tbl[] = {
	{ "selectionChanged()", &signal_0, TQMetaData::Public },
	{ "selectionChanged(TQIconViewItem*)", &signal_1, TQMetaData::Public },
	{ "currentChanged(TQIconViewItem*)", &signal_2, TQMetaData::Public },
	{ "clicked(TQIconViewItem*)", &signal_3, TQMetaData::Public },
	{ "clicked(TQIconViewItem*,const TQPoint&)", &signal_4, TQMetaData::Public },
	{ "pressed(TQIconViewItem*)", &signal_5, TQMetaData::Public },
	{ "pressed(TQIconViewItem*,const TQPoint&)", &signal_6, TQMetaData::Public },
	{ "doubleClicked(TQIconViewItem*)", &signal_7, TQMetaData::Public },
	{ "returnPressed(TQIconViewItem*)", &signal_8, TQMetaData::Public },
	{ "rightButtonClicked(TQIconViewItem*,const TQPoint&)", &signal_9, TQMetaData::Public },
	{ "rightButtonPressed(TQIconViewItem*,const TQPoint&)", &signal_10, TQMetaData::Public },
	{ "mouseButtonPressed(int,TQIconViewItem*,const TQPoint&)", &signal_11, TQMetaData::Public },
	{ "mouseButtonClicked(int,TQIconViewItem*,const TQPoint&)", &signal_12, TQMetaData::Public },
	{ "contextMenuRequested(TQIconViewItem*,const TQPoint&)", &signal_13, TQMetaData::Public },
	{ "dropped(TQDropEvent*,const TQValueList<TQIconDragItem>&)", &signal_14, TQMetaData::Public },
	{ "moved()", &signal_15, TQMetaData::Public },
	{ "onItem(TQIconViewItem*)", &signal_16, TQMetaData::Public },
	{ "onViewport()", &signal_17, TQMetaData::Public },
	{ "itemRenamed(TQIconViewItem*,const TQString&)", &signal_18, TQMetaData::Public },
	{ "itemRenamed(TQIconViewItem*)", &signal_19, TQMetaData::Public }
    };
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[17] = {
 	{ "bool","sorting", 0x12000001, &TQIconView::metaObj, 0, -1 },
	{ "bool","sortDirection", 0x12000001, &TQIconView::metaObj, 0, -1 },
	{ "SelectionMode","selectionMode", 0x0107, &TQIconView::metaObj, &enum_tbl[0], -1 },
	{ "int","gridX", 0x10000103, &TQIconView::metaObj, 0, -1 },
	{ "int","gridY", 0x10000103, &TQIconView::metaObj, 0, -1 },
	{ "int","spacing", 0x10000103, &TQIconView::metaObj, 0, -1 },
	{ "ItemTextPos","itemTextPos", 0x0107, &TQIconView::metaObj, &enum_tbl[3], -1 },
	{ "TQBrush","itemTextBackground", 0x7000103, &TQIconView::metaObj, 0, -1 },
	{ "Arrangement","arrangement", 0x0107, &TQIconView::metaObj, &enum_tbl[1], -1 },
	{ "ResizeMode","resizeMode", 0x0107, &TQIconView::metaObj, &enum_tbl[2], -1 },
	{ "int","maxItemWidth", 0x10000103, &TQIconView::metaObj, 0, -1 },
	{ "int","maxItemTextLength", 0x10000103, &TQIconView::metaObj, 0, -1 },
	{ "bool","autoArrange", 0x12000103, &TQIconView::metaObj, 0, -1 },
	{ "bool","itemsMovable", 0x12000103, &TQIconView::metaObj, 0, -1 },
	{ "bool","wordWrapIconText", 0x12000103, &TQIconView::metaObj, 0, -1 },
	{ "bool","showToolTips", 0x12000103, &TQIconView::metaObj, 0, -1 },
	{ "uint","count", 0x11000001, &TQIconView::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQIconView", parentObject,
	slot_tbl, 10,
	signal_tbl, 20,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 17,
	enum_tbl, 4,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQIconView.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

// TQ_SIGNAL selectionChanged
void TQIconView::selectionChanged( TQIconViewItem* 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 TQIconView::currentChanged( TQIconViewItem* 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 TQIconView::clicked( TQIconViewItem* 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 TQIconView::clicked( TQIconViewItem* t0, const TQPoint& t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 4 );
    if ( !clist )
	return;
    TQUObject o[3];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_varptr.set(o+2,&t1);
    o[2].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL pressed
void TQIconView::pressed( TQIconViewItem* 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 TQIconView::pressed( TQIconViewItem* t0, const TQPoint& t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 6 );
    if ( !clist )
	return;
    TQUObject o[3];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_varptr.set(o+2,&t1);
    o[2].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL doubleClicked
void TQIconView::doubleClicked( TQIconViewItem* 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 returnPressed
void TQIconView::returnPressed( TQIconViewItem* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 8 );
    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 TQIconView::rightButtonClicked( TQIconViewItem* t0, const TQPoint& t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 9 );
    if ( !clist )
	return;
    TQUObject o[3];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_varptr.set(o+2,&t1);
    o[2].isLastObject = true;
    activate_signal( clist, o );
}

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

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

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

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

// TQ_SIGNAL dropped
void TQIconView::dropped( TQDropEvent* t0, const TQValueList<TQIconDragItem>& t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 14 );
    if ( !clist )
	return;
    TQUObject o[3];
    static_QUType_ptr.set(o+1,t0);
    static_QUType_ptr.set(o+2,&t1);
    o[2].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL moved
void TQIconView::moved()
{
    activate_signal( staticMetaObject()->signalOffset() + 15 );
}

// TQ_SIGNAL onItem
void TQIconView::onItem( TQIconViewItem* 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 TQIconView::onViewport()
{
    activate_signal( staticMetaObject()->signalOffset() + 17 );
}

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

// TQ_SIGNAL itemRenamed
void TQIconView::itemRenamed( TQIconViewItem* 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 );
}

bool TQIconView::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: arrangeItemsInGrid((const TQSize&)*((const TQSize*)static_QUType_ptr.get(_o+1))); break;
    case 1: arrangeItemsInGrid((const TQSize&)*((const TQSize*)static_QUType_ptr.get(_o+1)),(bool)static_QUType_bool.get(_o+2)); break;
    case 2: arrangeItemsInGrid(); break;
    case 3: arrangeItemsInGrid((bool)static_QUType_bool.get(_o+1)); break;
    case 4: setContentsPos((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 5: updateContents(); break;
    case 6: doAutoScroll(); break;
    case 7: adjustItems(); break;
    case 8: slotUpdate(); break;
    case 9: movedContents((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    default:
	return TQScrollView::tqt_invoke( _id, _o );
    }
    return true;
}

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

bool TQIconView::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 1: *v = TQVariant( this->sorting() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 1: switch( f ) {
	case 1: *v = TQVariant( this->sortDirection() ); break;
	case 3: 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 0: setGridX(v->asInt()); break;
	case 1: *v = TQVariant( this->gridX() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 4: switch( f ) {
	case 0: setGridY(v->asInt()); break;
	case 1: *v = TQVariant( this->gridY() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 5: switch( f ) {
	case 0: setSpacing(v->asInt()); break;
	case 1: *v = TQVariant( this->spacing() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 6: switch( f ) {
	case 0: setItemTextPos((ItemTextPos&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->itemTextPos() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 7: switch( f ) {
	case 0: setItemTextBackground(v->asBrush()); break;
	case 1: *v = TQVariant( this->itemTextBackground() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 8: switch( f ) {
	case 0: setArrangement((Arrangement&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->arrangement() ); 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: setMaxItemWidth(v->asInt()); break;
	case 1: *v = TQVariant( this->maxItemWidth() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 11: switch( f ) {
	case 0: setMaxItemTextLength(v->asInt()); break;
	case 1: *v = TQVariant( this->maxItemTextLength() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 12: switch( f ) {
	case 0: setAutoArrange(v->asBool()); break;
	case 1: *v = TQVariant( this->autoArrange() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 13: switch( f ) {
	case 0: setItemsMovable(v->asBool()); break;
	case 1: *v = TQVariant( this->itemsMovable() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 14: switch( f ) {
	case 0: setWordWrapIconText(v->asBool()); break;
	case 1: *v = TQVariant( this->wordWrapIconText() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 15: 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 16: switch( f ) {
	case 1: *v = TQVariant( this->count() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    default:
	return TQScrollView::tqt_property( id, f, v );
    }
    return true;
}

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