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

TQMetaObject *TQTable::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQTable( "TQTable", &TQTable::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQTable::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) TQTable::Single },
	{ "Multi",  (int) TQTable::Multi },
	{ "SingleRow",  (int) TQTable::SingleRow },
	{ "MultiRow",  (int) TQTable::MultiRow },
	{ "NoSelection",  (int) TQTable::NoSelection }
    };
    static const TQMetaEnum::Item enum_1[] = {
	{ "FollowStyle",  (int) TQTable::FollowStyle },
	{ "SpreadSheet",  (int) TQTable::SpreadSheet }
    };
    static const TQMetaEnum enum_tbl[] = {
	{ "SelectionMode", 5, enum_0, false },
	{ "FocusStyle", 2, enum_1, false }
    };
#endif // TQT_NO_PROPERTIES
    static const TQUParameter param_slot_0[] = {
	{ "r", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_0 = {"setNumRows", 1, param_slot_0 };
    static const TQUParameter param_slot_1[] = {
	{ "r", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_1 = {"setNumCols", 1, param_slot_1 };
    static const TQUParameter param_slot_2[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_2 = {"setShowGrid", 1, param_slot_2 };
    static const TQUParameter param_slot_3[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"hideRow", 1, param_slot_3 };
    static const TQUParameter param_slot_4[] = {
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_4 = {"hideColumn", 1, param_slot_4 };
    static const TQUParameter param_slot_5[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"showRow", 1, param_slot_5 };
    static const TQUParameter param_slot_6[] = {
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"showColumn", 1, param_slot_6 };
    static const TQUParameter param_slot_7[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::Out },
	{ "row", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"isRowHidden", 2, param_slot_7 };
    static const TQUParameter param_slot_8[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::Out },
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_8 = {"isColumnHidden", 2, param_slot_8 };
    static const TQUParameter param_slot_9[] = {
	{ "col", &static_QUType_int, 0, TQUParameter::In },
	{ "w", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_9 = {"setColumnWidth", 2, param_slot_9 };
    static const TQUParameter param_slot_10[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "h", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_10 = {"setRowHeight", 2, param_slot_10 };
    static const TQUParameter param_slot_11[] = {
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_11 = {"adjustColumn", 1, param_slot_11 };
    static const TQUParameter param_slot_12[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_12 = {"adjustRow", 1, param_slot_12 };
    static const TQUParameter param_slot_13[] = {
	{ "col", &static_QUType_int, 0, TQUParameter::In },
	{ "stretch", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_13 = {"setColumnStretchable", 2, param_slot_13 };
    static const TQUParameter param_slot_14[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "stretch", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_14 = {"setRowStretchable", 2, param_slot_14 };
    static const TQUParameter param_slot_15[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::Out },
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_15 = {"isColumnStretchable", 2, param_slot_15 };
    static const TQUParameter param_slot_16[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::Out },
	{ "row", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_16 = {"isRowStretchable", 2, param_slot_16 };
    static const TQUParameter param_slot_17[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_17 = {"setSorting", 1, param_slot_17 };
    static const TQUParameter param_slot_18[] = {
	{ "row1", &static_QUType_int, 0, TQUParameter::In },
	{ "row2", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_18 = {"swapRows", 2, param_slot_18 };
    static const TQUParameter param_slot_19[] = {
	{ "row1", &static_QUType_int, 0, TQUParameter::In },
	{ "row2", &static_QUType_int, 0, TQUParameter::In },
	{ "swapHeader", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_19 = {"swapRows", 3, param_slot_19 };
    static const TQUParameter param_slot_20[] = {
	{ "col1", &static_QUType_int, 0, TQUParameter::In },
	{ "col2", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_20 = {"swapColumns", 2, param_slot_20 };
    static const TQUParameter param_slot_21[] = {
	{ "col1", &static_QUType_int, 0, TQUParameter::In },
	{ "col2", &static_QUType_int, 0, TQUParameter::In },
	{ "swapHeader", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_21 = {"swapColumns", 3, param_slot_21 };
    static const TQUParameter param_slot_22[] = {
	{ "row1", &static_QUType_int, 0, TQUParameter::In },
	{ "col1", &static_QUType_int, 0, TQUParameter::In },
	{ "row2", &static_QUType_int, 0, TQUParameter::In },
	{ "col2", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_22 = {"swapCells", 4, param_slot_22 };
    static const TQUParameter param_slot_23[] = {
	{ "m", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_23 = {"setLeftMargin", 1, param_slot_23 };
    static const TQUParameter param_slot_24[] = {
	{ "m", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_24 = {"setTopMargin", 1, param_slot_24 };
    static const TQUParameter param_slot_25[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_25 = {"setCurrentCell", 2, param_slot_25 };
    static const TQUMethod slot_26 = {"clearSelection", 0, 0 };
    static const TQUParameter param_slot_27[] = {
	{ "repaint", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_27 = {"clearSelection", 1, param_slot_27 };
    static const TQUParameter param_slot_28[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_28 = {"setColumnMovingEnabled", 1, param_slot_28 };
    static const TQUParameter param_slot_29[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_29 = {"setRowMovingEnabled", 1, param_slot_29 };
    static const TQUParameter param_slot_30[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_30 = {"setReadOnly", 1, param_slot_30 };
    static const TQUParameter param_slot_31[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "ro", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_31 = {"setRowReadOnly", 2, param_slot_31 };
    static const TQUParameter param_slot_32[] = {
	{ "col", &static_QUType_int, 0, TQUParameter::In },
	{ "ro", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_32 = {"setColumnReadOnly", 2, param_slot_32 };
    static const TQUParameter param_slot_33[] = {
	{ "b", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_33 = {"setDragEnabled", 1, param_slot_33 };
    static const TQUParameter param_slot_34[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::Out }
    };
    static const TQUMethod slot_34 = {"dragEnabled", 1, param_slot_34 };
    static const TQUParameter param_slot_35[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_35 = {"insertRows", 1, param_slot_35 };
    static const TQUParameter param_slot_36[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "count", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_36 = {"insertRows", 2, param_slot_36 };
    static const TQUParameter param_slot_37[] = {
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_37 = {"insertColumns", 1, param_slot_37 };
    static const TQUParameter param_slot_38[] = {
	{ "col", &static_QUType_int, 0, TQUParameter::In },
	{ "count", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_38 = {"insertColumns", 2, param_slot_38 };
    static const TQUParameter param_slot_39[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_39 = {"removeRow", 1, param_slot_39 };
    static const TQUParameter param_slot_40[] = {
	{ "rows", &static_QUType_ptr, "TQMemArray<int>", TQUParameter::In }
    };
    static const TQUMethod slot_40 = {"removeRows", 1, param_slot_40 };
    static const TQUParameter param_slot_41[] = {
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_41 = {"removeColumn", 1, param_slot_41 };
    static const TQUParameter param_slot_42[] = {
	{ "cols", &static_QUType_ptr, "TQMemArray<int>", TQUParameter::In }
    };
    static const TQUMethod slot_42 = {"removeColumns", 1, param_slot_42 };
    static const TQUParameter param_slot_43[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_43 = {"editCell", 2, param_slot_43 };
    static const TQUParameter param_slot_44[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "col", &static_QUType_int, 0, TQUParameter::In },
	{ "replace", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_44 = {"editCell", 3, param_slot_44 };
    static const TQUParameter param_slot_45[] = {
	{ "labels", &static_QUType_varptr, "\x04", TQUParameter::In }
    };
    static const TQUMethod slot_45 = {"setRowLabels", 1, param_slot_45 };
    static const TQUParameter param_slot_46[] = {
	{ "labels", &static_QUType_varptr, "\x04", TQUParameter::In }
    };
    static const TQUMethod slot_46 = {"setColumnLabels", 1, param_slot_46 };
    static const TQUParameter param_slot_47[] = {
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_47 = {"columnWidthChanged", 1, param_slot_47 };
    static const TQUParameter param_slot_48[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_48 = {"rowHeightChanged", 1, param_slot_48 };
    static const TQUParameter param_slot_49[] = {
	{ "section", &static_QUType_int, 0, TQUParameter::In },
	{ "fromIndex", &static_QUType_int, 0, TQUParameter::In },
	{ "toIndex", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_49 = {"columnIndexChanged", 3, param_slot_49 };
    static const TQUParameter param_slot_50[] = {
	{ "section", &static_QUType_int, 0, TQUParameter::In },
	{ "fromIndex", &static_QUType_int, 0, TQUParameter::In },
	{ "toIndex", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_50 = {"rowIndexChanged", 3, param_slot_50 };
    static const TQUParameter param_slot_51[] = {
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_51 = {"columnClicked", 1, param_slot_51 };
    static const TQUMethod slot_52 = {"doAutoScroll", 0, 0 };
    static const TQUMethod slot_53 = {"doValueChanged", 0, 0 };
    static const TQUMethod slot_54 = {"updateGeometriesSlot", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "setNumRows(int)", &slot_0, TQMetaData::Public },
	{ "setNumCols(int)", &slot_1, TQMetaData::Public },
	{ "setShowGrid(bool)", &slot_2, TQMetaData::Public },
	{ "hideRow(int)", &slot_3, TQMetaData::Public },
	{ "hideColumn(int)", &slot_4, TQMetaData::Public },
	{ "showRow(int)", &slot_5, TQMetaData::Public },
	{ "showColumn(int)", &slot_6, TQMetaData::Public },
	{ "isRowHidden(int)", &slot_7, TQMetaData::Public },
	{ "isColumnHidden(int)", &slot_8, TQMetaData::Public },
	{ "setColumnWidth(int,int)", &slot_9, TQMetaData::Public },
	{ "setRowHeight(int,int)", &slot_10, TQMetaData::Public },
	{ "adjustColumn(int)", &slot_11, TQMetaData::Public },
	{ "adjustRow(int)", &slot_12, TQMetaData::Public },
	{ "setColumnStretchable(int,bool)", &slot_13, TQMetaData::Public },
	{ "setRowStretchable(int,bool)", &slot_14, TQMetaData::Public },
	{ "isColumnStretchable(int)", &slot_15, TQMetaData::Public },
	{ "isRowStretchable(int)", &slot_16, TQMetaData::Public },
	{ "setSorting(bool)", &slot_17, TQMetaData::Public },
	{ "swapRows(int,int)", &slot_18, TQMetaData::Public },
	{ "swapRows(int,int,bool)", &slot_19, TQMetaData::Public },
	{ "swapColumns(int,int)", &slot_20, TQMetaData::Public },
	{ "swapColumns(int,int,bool)", &slot_21, TQMetaData::Public },
	{ "swapCells(int,int,int,int)", &slot_22, TQMetaData::Public },
	{ "setLeftMargin(int)", &slot_23, TQMetaData::Public },
	{ "setTopMargin(int)", &slot_24, TQMetaData::Public },
	{ "setCurrentCell(int,int)", &slot_25, TQMetaData::Public },
	{ "clearSelection()", &slot_26, TQMetaData::Public },
	{ "clearSelection(bool)", &slot_27, TQMetaData::Public },
	{ "setColumnMovingEnabled(bool)", &slot_28, TQMetaData::Public },
	{ "setRowMovingEnabled(bool)", &slot_29, TQMetaData::Public },
	{ "setReadOnly(bool)", &slot_30, TQMetaData::Public },
	{ "setRowReadOnly(int,bool)", &slot_31, TQMetaData::Public },
	{ "setColumnReadOnly(int,bool)", &slot_32, TQMetaData::Public },
	{ "setDragEnabled(bool)", &slot_33, TQMetaData::Public },
	{ "dragEnabled()", &slot_34, TQMetaData::Public },
	{ "insertRows(int)", &slot_35, TQMetaData::Public },
	{ "insertRows(int,int)", &slot_36, TQMetaData::Public },
	{ "insertColumns(int)", &slot_37, TQMetaData::Public },
	{ "insertColumns(int,int)", &slot_38, TQMetaData::Public },
	{ "removeRow(int)", &slot_39, TQMetaData::Public },
	{ "removeRows(const TQMemArray<int>&)", &slot_40, TQMetaData::Public },
	{ "removeColumn(int)", &slot_41, TQMetaData::Public },
	{ "removeColumns(const TQMemArray<int>&)", &slot_42, TQMetaData::Public },
	{ "editCell(int,int)", &slot_43, TQMetaData::Public },
	{ "editCell(int,int,bool)", &slot_44, TQMetaData::Public },
	{ "setRowLabels(const TQStringList&)", &slot_45, TQMetaData::Public },
	{ "setColumnLabels(const TQStringList&)", &slot_46, TQMetaData::Public },
	{ "columnWidthChanged(int)", &slot_47, TQMetaData::Protected },
	{ "rowHeightChanged(int)", &slot_48, TQMetaData::Protected },
	{ "columnIndexChanged(int,int,int)", &slot_49, TQMetaData::Protected },
	{ "rowIndexChanged(int,int,int)", &slot_50, TQMetaData::Protected },
	{ "columnClicked(int)", &slot_51, TQMetaData::Protected },
	{ "doAutoScroll()", &slot_52, TQMetaData::Private },
	{ "doValueChanged()", &slot_53, TQMetaData::Private },
	{ "updateGeometriesSlot()", &slot_54, TQMetaData::Private }
    };
    static const TQUParameter param_signal_0[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_0 = {"currentChanged", 2, param_signal_0 };
    static const TQUParameter param_signal_1[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "col", &static_QUType_int, 0, TQUParameter::In },
	{ "button", &static_QUType_int, 0, TQUParameter::In },
	{ "mousePos", &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod signal_1 = {"clicked", 4, param_signal_1 };
    static const TQUParameter param_signal_2[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "col", &static_QUType_int, 0, TQUParameter::In },
	{ "button", &static_QUType_int, 0, TQUParameter::In },
	{ "mousePos", &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod signal_2 = {"doubleClicked", 4, param_signal_2 };
    static const TQUParameter param_signal_3[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "col", &static_QUType_int, 0, TQUParameter::In },
	{ "button", &static_QUType_int, 0, TQUParameter::In },
	{ "mousePos", &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod signal_3 = {"pressed", 4, param_signal_3 };
    static const TQUMethod signal_4 = {"selectionChanged", 0, 0 };
    static const TQUParameter param_signal_5[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "col", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_5 = {"valueChanged", 2, param_signal_5 };
    static const TQUParameter param_signal_6[] = {
	{ "row", &static_QUType_int, 0, TQUParameter::In },
	{ "col", &static_QUType_int, 0, TQUParameter::In },
	{ "pos", &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod signal_6 = {"contextMenuRequested", 3, param_signal_6 };
    static const TQUParameter param_signal_7[] = {
	{ "e", &static_QUType_ptr, "TQDropEvent", TQUParameter::In }
    };
    static const TQUMethod signal_7 = {"dropped", 1, param_signal_7 };
    static const TQMetaData signal_tbl[] = {
	{ "currentChanged(int,int)", &signal_0, TQMetaData::Protected },
	{ "clicked(int,int,int,const TQPoint&)", &signal_1, TQMetaData::Protected },
	{ "doubleClicked(int,int,int,const TQPoint&)", &signal_2, TQMetaData::Protected },
	{ "pressed(int,int,int,const TQPoint&)", &signal_3, TQMetaData::Protected },
	{ "selectionChanged()", &signal_4, TQMetaData::Protected },
	{ "valueChanged(int,int)", &signal_5, TQMetaData::Protected },
	{ "contextMenuRequested(int,int,const TQPoint&)", &signal_6, TQMetaData::Protected },
	{ "dropped(TQDropEvent*)", &signal_7, TQMetaData::Protected }
    };
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[10] = {
 	{ "int","numRows", 0x10000103, &TQTable::metaObj, 0, -1 },
	{ "int","numCols", 0x10000103, &TQTable::metaObj, 0, -1 },
	{ "bool","showGrid", 0x12000103, &TQTable::metaObj, 0, -1 },
	{ "bool","rowMovingEnabled", 0x12000103, &TQTable::metaObj, 0, -1 },
	{ "bool","columnMovingEnabled", 0x12000103, &TQTable::metaObj, 0, -1 },
	{ "bool","readOnly", 0x12000103, &TQTable::metaObj, 0, -1 },
	{ "bool","sorting", 0x12000103, &TQTable::metaObj, 0, -1 },
	{ "SelectionMode","selectionMode", 0x0107, &TQTable::metaObj, &enum_tbl[0], -1 },
	{ "FocusStyle","focusStyle", 0x0107, &TQTable::metaObj, &enum_tbl[1], -1 },
	{ "int","numSelections", 0x10000001, &TQTable::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQTable", parentObject,
	slot_tbl, 55,
	signal_tbl, 8,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 10,
	enum_tbl, 2,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQTable.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

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

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

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

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

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

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

// TQ_SIGNAL dropped
void TQTable::dropped( TQDropEvent* 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 );
}

bool TQTable::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: setNumRows((int)static_QUType_int.get(_o+1)); break;
    case 1: setNumCols((int)static_QUType_int.get(_o+1)); break;
    case 2: setShowGrid((bool)static_QUType_bool.get(_o+1)); break;
    case 3: hideRow((int)static_QUType_int.get(_o+1)); break;
    case 4: hideColumn((int)static_QUType_int.get(_o+1)); break;
    case 5: showRow((int)static_QUType_int.get(_o+1)); break;
    case 6: showColumn((int)static_QUType_int.get(_o+1)); break;
    case 7: static_QUType_bool.set(_o,isRowHidden((int)static_QUType_int.get(_o+1))); break;
    case 8: static_QUType_bool.set(_o,isColumnHidden((int)static_QUType_int.get(_o+1))); break;
    case 9: setColumnWidth((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 10: setRowHeight((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 11: adjustColumn((int)static_QUType_int.get(_o+1)); break;
    case 12: adjustRow((int)static_QUType_int.get(_o+1)); break;
    case 13: setColumnStretchable((int)static_QUType_int.get(_o+1),(bool)static_QUType_bool.get(_o+2)); break;
    case 14: setRowStretchable((int)static_QUType_int.get(_o+1),(bool)static_QUType_bool.get(_o+2)); break;
    case 15: static_QUType_bool.set(_o,isColumnStretchable((int)static_QUType_int.get(_o+1))); break;
    case 16: static_QUType_bool.set(_o,isRowStretchable((int)static_QUType_int.get(_o+1))); break;
    case 17: setSorting((bool)static_QUType_bool.get(_o+1)); break;
    case 18: swapRows((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 19: swapRows((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(bool)static_QUType_bool.get(_o+3)); break;
    case 20: swapColumns((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 21: swapColumns((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(bool)static_QUType_bool.get(_o+3)); break;
    case 22: swapCells((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4)); break;
    case 23: setLeftMargin((int)static_QUType_int.get(_o+1)); break;
    case 24: setTopMargin((int)static_QUType_int.get(_o+1)); break;
    case 25: setCurrentCell((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 26: clearSelection(); break;
    case 27: clearSelection((bool)static_QUType_bool.get(_o+1)); break;
    case 28: setColumnMovingEnabled((bool)static_QUType_bool.get(_o+1)); break;
    case 29: setRowMovingEnabled((bool)static_QUType_bool.get(_o+1)); break;
    case 30: setReadOnly((bool)static_QUType_bool.get(_o+1)); break;
    case 31: setRowReadOnly((int)static_QUType_int.get(_o+1),(bool)static_QUType_bool.get(_o+2)); break;
    case 32: setColumnReadOnly((int)static_QUType_int.get(_o+1),(bool)static_QUType_bool.get(_o+2)); break;
    case 33: setDragEnabled((bool)static_QUType_bool.get(_o+1)); break;
    case 34: static_QUType_bool.set(_o,dragEnabled()); break;
    case 35: insertRows((int)static_QUType_int.get(_o+1)); break;
    case 36: insertRows((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 37: insertColumns((int)static_QUType_int.get(_o+1)); break;
    case 38: insertColumns((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 39: removeRow((int)static_QUType_int.get(_o+1)); break;
    case 40: removeRows((const TQMemArray<int>&)*((const TQMemArray<int>*)static_QUType_ptr.get(_o+1))); break;
    case 41: removeColumn((int)static_QUType_int.get(_o+1)); break;
    case 42: removeColumns((const TQMemArray<int>&)*((const TQMemArray<int>*)static_QUType_ptr.get(_o+1))); break;
    case 43: editCell((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 44: editCell((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(bool)static_QUType_bool.get(_o+3)); break;
    case 45: setRowLabels((const TQStringList&)*((const TQStringList*)static_QUType_ptr.get(_o+1))); break;
    case 46: setColumnLabels((const TQStringList&)*((const TQStringList*)static_QUType_ptr.get(_o+1))); break;
    case 47: columnWidthChanged((int)static_QUType_int.get(_o+1)); break;
    case 48: rowHeightChanged((int)static_QUType_int.get(_o+1)); break;
    case 49: columnIndexChanged((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3)); break;
    case 50: rowIndexChanged((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3)); break;
    case 51: columnClicked((int)static_QUType_int.get(_o+1)); break;
    case 52: doAutoScroll(); break;
    case 53: doValueChanged(); break;
    case 54: updateGeometriesSlot(); break;
    default:
	return TQScrollView::tqt_invoke( _id, _o );
    }
    return true;
}

bool TQTable::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: currentChanged((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 1: clicked((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+4))); break;
    case 2: doubleClicked((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+4))); break;
    case 3: pressed((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+4))); break;
    case 4: selectionChanged(); break;
    case 5: valueChanged((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 6: contextMenuRequested((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+3))); break;
    case 7: dropped((TQDropEvent*)static_QUType_ptr.get(_o+1)); break;
    default:
	return TQScrollView::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

bool TQTable::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setNumRows(v->asInt()); break;
	case 1: *v = TQVariant( this->numRows() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 1: switch( f ) {
	case 0: setNumCols(v->asInt()); break;
	case 1: *v = TQVariant( this->numCols() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 2: switch( f ) {
	case 0: setShowGrid(v->asBool()); break;
	case 1: *v = TQVariant( this->showGrid() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 3: switch( f ) {
	case 0: setRowMovingEnabled(v->asBool()); break;
	case 1: *v = TQVariant( this->rowMovingEnabled() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 4: switch( f ) {
	case 0: setColumnMovingEnabled(v->asBool()); break;
	case 1: *v = TQVariant( this->columnMovingEnabled() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 5: switch( f ) {
	case 0: setReadOnly(v->asBool()); break;
	case 1: *v = TQVariant( this->isReadOnly() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 6: switch( f ) {
	case 0: setSorting(v->asBool()); break;
	case 1: *v = TQVariant( this->sorting() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 7: 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 8: switch( f ) {
	case 0: setFocusStyle((FocusStyle&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->focusStyle() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 9: switch( f ) {
	case 1: *v = TQVariant( this->numSelections() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    default:
	return TQScrollView::tqt_property( id, f, v );
    }
    return true;
}

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