//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqrect.h>
#include <tqsqlerror.h>
#include <tqsql.h>
#include <tqpixmap.h>
#include <tqiconset.h>
#include <tqstring.h>
#include <tqsqlindex.h>
#include <tqvariant.h>
#include <tqstringlist.h>
#include <tqpalette.h>
#include <tqdatatable.h>
#include <tqnamespace.h>

#include <qtjava/QtSupport.h>
#include <qtjava/TQDataTable.h>

class TQDataTableJBridge : public TQDataTable
{
public:
	TQDataTableJBridge(TQWidget* arg1,const char* arg2) : TQDataTable(arg1,arg2) {};
	TQDataTableJBridge(TQWidget* arg1) : TQDataTable(arg1) {};
	TQDataTableJBridge() : TQDataTable() {};
	TQDataTableJBridge(TQSqlCursor* arg1,bool arg2,TQWidget* arg3,const char* arg4) : TQDataTable(arg1,arg2,arg3,arg4) {};
	TQDataTableJBridge(TQSqlCursor* arg1,bool arg2,TQWidget* arg3) : TQDataTable(arg1,arg2,arg3) {};
	TQDataTableJBridge(TQSqlCursor* arg1,bool arg2) : TQDataTable(arg1,arg2) {};
	TQDataTableJBridge(TQSqlCursor* arg1) : TQDataTable(arg1) {};
	void public_setSqlCursor() {
		TQDataTable::setSqlCursor();
		return;
	}
	void public_refresh() {
		TQDataTable::refresh();
		return;
	}
	bool protected_insertCurrent() {
		return (bool) TQDataTable::insertCurrent();
	}
	bool protected_updateCurrent() {
		return (bool) TQDataTable::updateCurrent();
	}
	bool protected_deleteCurrent() {
		return (bool) TQDataTable::deleteCurrent();
	}
	TQSql::Confirm protected_confirmEdit(TQSql::Op arg1) {
		return (TQSql::Confirm) TQDataTable::confirmEdit(arg1);
	}
	TQSql::Confirm protected_confirmCancel(TQSql::Op arg1) {
		return (TQSql::Confirm) TQDataTable::confirmCancel(arg1);
	}
	void protected_handleError(const TQSqlError& arg1) {
		TQDataTable::handleError(arg1);
		return;
	}
	bool protected_beginInsert() {
		return (bool) TQDataTable::beginInsert();
	}
	TQWidget* protected_beginUpdate(int arg1,int arg2,bool arg3) {
		return (TQWidget*) TQDataTable::beginUpdate(arg1,arg2,arg3);
	}
	bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) {
		return (bool) TQDataTable::eventFilter(arg1,arg2);
	}
	void protected_keyPressEvent(TQKeyEvent* arg1) {
		TQDataTable::keyPressEvent(arg1);
		return;
	}
	void protected_resizeEvent(TQResizeEvent* arg1) {
		TQDataTable::resizeEvent(arg1);
		return;
	}
	void protected_contentsMousePressEvent(TQMouseEvent* arg1) {
		TQDataTable::contentsMousePressEvent(arg1);
		return;
	}
	void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) {
		TQDataTable::contentsContextMenuEvent(arg1);
		return;
	}
	void protected_endEdit(int arg1,int arg2,bool arg3,bool arg4) {
		TQDataTable::endEdit(arg1,arg2,arg3,arg4);
		return;
	}
	TQWidget* protected_createEditor(int arg1,int arg2,bool arg3) {
		return (TQWidget*) TQDataTable::createEditor(arg1,arg2,arg3);
	}
	void protected_activateNextCell() {
		TQDataTable::activateNextCell();
		return;
	}
	int protected_indexOf(uint arg1) {
		return (int) TQDataTable::indexOf(arg1);
	}
	void protected_reset() {
		TQDataTable::reset();
		return;
	}
	void protected_setSize(TQSqlCursor* arg1) {
		TQDataTable::setSize(arg1);
		return;
	}
	void protected_repaintCell(int arg1,int arg2) {
		TQDataTable::repaintCell(arg1,arg2);
		return;
	}
	void protected_paintCell(TQPainter* arg1,int arg2,int arg3,const TQRect& arg4,bool arg5,const TQColorGroup& arg6) {
		TQDataTable::paintCell(arg1,arg2,arg3,arg4,arg5,arg6);
		return;
	}
	void protected_paintField(TQPainter* arg1,const TQSqlField* arg2,const TQRect& arg3,bool arg4) {
		TQDataTable::paintField(arg1,arg2,arg3,arg4);
		return;
	}
	void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) {
		TQDataTable::drawContents(arg1,arg2,arg3,arg4,arg5);
		return;
	}
	int protected_fieldAlignment(const TQSqlField* arg1) {
		return (int) TQDataTable::fieldAlignment(arg1);
	}
	void protected_columnClicked(int arg1) {
		TQDataTable::columnClicked(arg1);
		return;
	}
	void protected_resizeData(int arg1) {
		TQDataTable::resizeData(arg1);
		return;
	}
	TQTableItem* protected_item(int arg1,int arg2) {
		return (TQTableItem*) TQDataTable::item(arg1,arg2);
	}
	void protected_setItem(int arg1,int arg2,TQTableItem* arg3) {
		TQDataTable::setItem(arg1,arg2,arg3);
		return;
	}
	void protected_clearCell(int arg1,int arg2) {
		TQDataTable::clearCell(arg1,arg2);
		return;
	}
	void protected_setPixmap(int arg1,int arg2,const TQPixmap& arg3) {
		TQDataTable::setPixmap(arg1,arg2,arg3);
		return;
	}
	void protected_takeItem(TQTableItem* arg1) {
		TQDataTable::takeItem(arg1);
		return;
	}
	~TQDataTableJBridge() {QtSupport::qtKeyDeleted(this);}
	void dragLeaveEvent(TQDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragLeaveEvent")) {
			TQWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void setMask(const TQRegion& arg1) {
		if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.trinitydesktop.qt.TQRegion")) {
			TQWidget::setMask(arg1);
		}
		return;
	}
	void resizeEvent(TQResizeEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.trinitydesktop.qt.TQResizeEvent")) {
			TQDataTable::resizeEvent(arg1);
		}
		return;
	}
	void setFrameRect(const TQRect& arg1) {
		if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.trinitydesktop.qt.TQRect")) {
			TQFrame::setFrameRect(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQScrollView::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void paletteChange(const TQPalette& arg1) {
		if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.trinitydesktop.qt.TQPalette")) {
			TQWidget::paletteChange(arg1);
		}
		return;
	}
	void contentsMouseReleaseEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQTable::contentsMouseReleaseEvent(arg1);
		}
		return;
	}
	void viewportPaintEvent(TQPaintEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.trinitydesktop.qt.TQPaintEvent")) {
			TQScrollView::viewportPaintEvent(arg1);
		}
		return;
	}
	void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQScrollView::viewportMouseDoubleClickEvent(arg1);
		}
		return;
	}
	void viewportMouseReleaseEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQScrollView::viewportMouseReleaseEvent(arg1);
		}
		return;
	}
	void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragLeaveEvent")) {
			TQTable::contentsDragLeaveEvent(arg1);
		}
		return;
	}
	void setActiveWindow() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQDataTable","setActiveWindow")) {
			TQWidget::setActiveWindow();
		}
		return;
	}
	void dragEnterEvent(TQDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragEnterEvent")) {
			TQWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void focusOutEvent(TQFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.trinitydesktop.qt.TQFocusEvent")) {
			TQTable::focusOutEvent(arg1);
		}
		return;
	}
	void setFocus() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQDataTable","setFocus")) {
			TQWidget::setFocus();
		}
		return;
	}
	void dragMoveEvent(TQDragMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragMoveEvent")) {
			TQWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void drawFrame(TQPainter* arg1) {
		if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.trinitydesktop.qt.TQPainter")) {
			TQFrame::drawFrame(arg1);
		}
		return;
	}
	void hide() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQDataTable","hide")) {
			TQWidget::hide();
		}
		return;
	}
	void setPaletteBackgroundColor(const TQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.trinitydesktop.qt.TQColor")) {
			TQWidget::setPaletteBackgroundColor(arg1);
		}
		return;
	}
	void viewportResizeEvent(TQResizeEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.trinitydesktop.qt.TQResizeEvent")) {
			TQTable::viewportResizeEvent(arg1);
		}
		return;
	}
	void setEraseColor(const TQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.trinitydesktop.qt.TQColor")) {
			TQWidget::setEraseColor(arg1);
		}
		return;
	}
	void paintEvent(TQPaintEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.trinitydesktop.qt.TQPaintEvent")) {
			TQTable::paintEvent(arg1);
		}
		return;
	}
	void imStartEvent(TQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.trinitydesktop.qt.TQIMEvent")) {
			TQWidget::imStartEvent(arg1);
		}
		return;
	}
	void unsetCursor() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQDataTable","unsetCursor")) {
			TQWidget::unsetCursor();
		}
		return;
	}
	void contentsDropEvent(TQDropEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.trinitydesktop.qt.TQDropEvent")) {
			TQTable::contentsDropEvent(arg1);
		}
		return;
	}
	void hideEvent(TQHideEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.trinitydesktop.qt.TQHideEvent")) {
			TQWidget::hideEvent(arg1);
		}
		return;
	}
	void moveEvent(TQMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.trinitydesktop.qt.TQMoveEvent")) {
			TQWidget::moveEvent(arg1);
		}
		return;
	}
	void polish() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQDataTable","polish")) {
			TQWidget::polish();
		}
		return;
	}
	void showMaximized() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQDataTable","showMaximized")) {
			TQWidget::showMaximized();
		}
		return;
	}
	void setBackgroundPixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
			TQWidget::setBackgroundPixmap(arg1);
		}
		return;
	}
	void showEvent(TQShowEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.trinitydesktop.qt.TQShowEvent")) {
			TQTable::showEvent(arg1);
		}
		return;
	}
	void viewportContextMenuEvent(TQContextMenuEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.trinitydesktop.qt.TQContextMenuEvent")) {
			TQScrollView::viewportContextMenuEvent(arg1);
		}
		return;
	}
	void viewportDragEnterEvent(TQDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragEnterEvent")) {
			TQScrollView::viewportDragEnterEvent(arg1);
		}
		return;
	}
	void keyPressEvent(TQKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.trinitydesktop.qt.TQKeyEvent")) {
			TQDataTable::keyPressEvent(arg1);
		}
		return;
	}
	bool customWhatsThis() {
		return QtSupport::booleanDelegate(this,"customWhatsThis");
	}
	void setPaletteBackgroundPixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
			TQWidget::setPaletteBackgroundPixmap(arg1);
		}
		return;
	}
	void setCornerWidget(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
			TQScrollView::setCornerWidget(arg1);
		}
		return;
	}
	void contentsDragEnterEvent(TQDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragEnterEvent")) {
			TQTable::contentsDragEnterEvent(arg1);
		}
		return;
	}
	void contentsWheelEvent(TQWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.trinitydesktop.qt.TQWheelEvent")) {
			TQScrollView::contentsWheelEvent(arg1);
		}
		return;
	}
	void setCursor(const TQCursor& arg1) {
		if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.trinitydesktop.qt.TQCursor")) {
			TQWidget::setCursor(arg1);
		}
		return;
	}
	void closeEvent(TQCloseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.trinitydesktop.qt.TQCloseEvent")) {
			TQWidget::closeEvent(arg1);
		}
		return;
	}
	void startDrag() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQDataTable","startDrag")) {
			TQTable::startDrag();
		}
		return;
	}
	bool updateCurrent() {
		return QtSupport::booleanDelegate(this,"updateCurrent");
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	void contentsDragMoveEvent(TQDragMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragMoveEvent")) {
			TQTable::contentsDragMoveEvent(arg1);
		}
		return;
	}
	void enterEvent(TQEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.trinitydesktop.qt.TQEvent")) {
			TQWidget::enterEvent(arg1);
		}
		return;
	}
	void timerEvent(TQTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.trinitydesktop.qt.TQTimerEvent")) {
			TQObject::timerEvent(arg1);
		}
		return;
	}
	void contentsMouseMoveEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQTable::contentsMouseMoveEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQScrollView::mouseReleaseEvent(arg1);
		}
		return;
	}
	void setErasePixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
			TQWidget::setErasePixmap(arg1);
		}
		return;
	}
	void childEvent(TQChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.trinitydesktop.qt.TQChildEvent")) {
			TQObject::childEvent(arg1);
		}
		return;
	}
	void dropEvent(TQDropEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.trinitydesktop.qt.TQDropEvent")) {
			TQWidget::dropEvent(arg1);
		}
		return;
	}
	void leaveEvent(TQEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.trinitydesktop.qt.TQEvent")) {
			TQWidget::leaveEvent(arg1);
		}
		return;
	}
	void setIcon(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
			TQWidget::setIcon(arg1);
		}
		return;
	}
	void contentsMousePressEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQDataTable::contentsMousePressEvent(arg1);
		}
		return;
	}
	void updateMask() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQDataTable","updateMask")) {
			TQWidget::updateMask();
		}
		return;
	}
	void showNormal() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQDataTable","showNormal")) {
			TQWidget::showNormal();
		}
		return;
	}
	void imComposeEvent(TQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.trinitydesktop.qt.TQIMEvent")) {
			TQWidget::imComposeEvent(arg1);
		}
		return;
	}
	void viewportWheelEvent(TQWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.trinitydesktop.qt.TQWheelEvent")) {
			TQScrollView::viewportWheelEvent(arg1);
		}
		return;
	}
	void mousePressEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQScrollView::mousePressEvent(arg1);
		}
		return;
	}
	bool beginInsert() {
		return QtSupport::booleanDelegate(this,"beginInsert");
	}
	void mouseMoveEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQScrollView::mouseMoveEvent(arg1);
		}
		return;
	}
	void viewportMouseMoveEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQScrollView::viewportMouseMoveEvent(arg1);
		}
		return;
	}
	void setFocusProxy(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
			TQWidget::setFocusProxy(arg1);
		}
		return;
	}
	void setBackgroundColor(const TQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.trinitydesktop.qt.TQColor")) {
			TQWidget::setBackgroundColor(arg1);
		}
		return;
	}
	void viewportDropEvent(TQDropEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.trinitydesktop.qt.TQDropEvent")) {
			TQScrollView::viewportDropEvent(arg1);
		}
		return;
	}
	void viewportDragMoveEvent(TQDragMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragMoveEvent")) {
			TQScrollView::viewportDragMoveEvent(arg1);
		}
		return;
	}
	void adjustSize() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQDataTable","adjustSize")) {
			TQWidget::adjustSize();
		}
		return;
	}
	void wheelEvent(TQWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.trinitydesktop.qt.TQWheelEvent")) {
			TQScrollView::wheelEvent(arg1);
		}
		return;
	}
	void imEndEvent(TQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.trinitydesktop.qt.TQIMEvent")) {
			TQWidget::imEndEvent(arg1);
		}
		return;
	}
	void insertChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	void focusInEvent(TQFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.trinitydesktop.qt.TQFocusEvent")) {
			TQTable::focusInEvent(arg1);
		}
		return;
	}
	bool deleteCurrent() {
		return QtSupport::booleanDelegate(this,"deleteCurrent");
	}
	void refresh() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQDataTable","refresh")) {
			TQDataTable::refresh();
		}
		return;
	}
	void tabletEvent(TQTabletEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.trinitydesktop.qt.TQTabletEvent")) {
			TQWidget::tabletEvent(arg1);
		}
		return;
	}
	void handleError(const TQSqlError& arg1) {
		if (!QtSupport::eventDelegate(this,"handleError",(void*)&arg1,"org.trinitydesktop.qt.TQSqlError")) {
			TQDataTable::handleError(arg1);
		}
		return;
	}
	void keyReleaseEvent(TQKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.trinitydesktop.qt.TQKeyEvent")) {
			TQWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQTable::contentsMouseDoubleClickEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(TQContextMenuEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.trinitydesktop.qt.TQContextMenuEvent")) {
			TQScrollView::contextMenuEvent(arg1);
		}
		return;
	}
	void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragLeaveEvent")) {
			TQScrollView::viewportDragLeaveEvent(arg1);
		}
		return;
	}
	void contentsContextMenuEvent(TQContextMenuEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.trinitydesktop.qt.TQContextMenuEvent")) {
			TQDataTable::contentsContextMenuEvent(arg1);
		}
		return;
	}
	bool insertCurrent() {
		return QtSupport::booleanDelegate(this,"insertCurrent");
	}
	void setGeometry(const TQRect& arg1) {
		if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.trinitydesktop.qt.TQRect")) {
			TQWidget::setGeometry(arg1);
		}
		return;
	}
	void setSort(const TQSqlIndex& arg1) {
		if (!QtSupport::eventDelegate(this,"setSort",(void*)&arg1,"org.trinitydesktop.qt.TQSqlIndex")) {
			TQDataTable::setSort(arg1);
		}
		return;
	}
	void viewportMousePressEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQScrollView::viewportMousePressEvent(arg1);
		}
		return;
	}
	void showMinimized() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQDataTable","showMinimized")) {
			TQWidget::showMinimized();
		}
		return;
	}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_activateNextCell(JNIEnv* env, jobject obj)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_activateNextCell();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_addColumn__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName)
{
static TQString* _qstring_fieldName = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName, jstring label)
{
static TQString* _qstring_fieldName = 0;
static TQString* _qstring_label = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fieldName, jstring label, jint width)
{
static TQString* _qstring_fieldName = 0;
static TQString* _qstring_label = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2ILorg_trinitydesktop_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring fieldName, jstring label, jint width, jobject iconset)
{
static TQString* _qstring_fieldName = 0;
static TQString* _qstring_label = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_adjustColumn(JNIEnv* env, jobject obj, jint col)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->adjustColumn((int) col);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_autoDelete(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->autoDelete();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_autoEdit(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->autoEdit();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_beginInsert(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_beginInsert();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QDataTable_beginUpdate(JNIEnv* env, jobject obj, jint row, jint col, jboolean replace)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_beginUpdate((int) row, (int) col, (bool) replace), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QDataTable_className(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->className();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_clearCell(JNIEnv* env, jobject obj, jint row, jint col)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_clearCell((int) row, (int) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_columnClicked(JNIEnv* env, jobject obj, jint col)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_columnClicked((int) col);
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QDataTable_confirmCancel(JNIEnv* env, jobject obj, jint m)
{
	jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_confirmCancel((TQSql::Op) m);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_confirmCancels(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmCancels();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_confirmDelete(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmDelete();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QDataTable_confirmEdit(JNIEnv* env, jobject obj, jint m)
{
	jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_confirmEdit((TQSql::Op) m);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_confirmEdits(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmEdits();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_confirmInsert(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmInsert();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_confirmUpdate(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmUpdate();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QDataTable_createEditor(JNIEnv* env, jobject obj, jint row, jint col, jboolean initFromCell)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_createEditor((int) row, (int) col, (bool) initFromCell), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QDataTable_currentRecord(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTable*) QtSupport::getQt(env, obj))->currentRecord(), "org.trinitydesktop.qt.TQSqlRecord");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QDataTable_dateFormat(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQDataTable*) QtSupport::getQt(env, obj))->dateFormat();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_deleteCurrent(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_deleteCurrent();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QDataTable_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_endEdit(JNIEnv* env, jobject obj, jint row, jint col, jboolean accept, jboolean replace)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_endEdit((int) row, (int) col, (bool) accept, (bool) replace);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e)
{
	jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QDataTable_falseText(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->falseText();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QDataTable_fieldAlignment(JNIEnv* env, jobject obj, jobject field)
{
	jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_fieldAlignment((const TQSqlField*) QtSupport::getQt(env, field));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QDataTable_filter(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->filter();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDataTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) {
		delete (TQDataTable*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_findBuffer__Lorg_trinitydesktop_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject idx)
{
	jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->findBuffer((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, idx));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_findBuffer__Lorg_trinitydesktop_qt_QSqlIndex_2I(JNIEnv* env, jobject obj, jobject idx, jint atHint)
{
	jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->findBuffer((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, idx), (int) atHint);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_find(JNIEnv* env, jobject obj, jstring str, jboolean caseSensitive, jboolean backwards)
{
static TQString* _qstring_str = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (bool) caseSensitive, (bool) backwards);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_handleError(JNIEnv* env, jobject obj, jobject e)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_handleError((const TQSqlError&)*(const TQSqlError*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_hideColumn(JNIEnv* env, jobject obj, jint col)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->hideColumn((int) col);
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QDataTable_indexOf(JNIEnv* env, jobject obj, jint i)
{
	jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_indexOf((uint) i);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_insertCurrent(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_insertCurrent();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_installEditorFactory(JNIEnv* env, jobject obj, jobject f)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->installEditorFactory((TQSqlEditorFactory*) QtSupport::getQt(env, f));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_installPropertyMap(JNIEnv* env, jobject obj, jobject m)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->installPropertyMap((TQSqlPropertyMap*) QtSupport::getQt(env, m));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QDataTable_item(JNIEnv* env, jobject obj, jint row, jint col)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_item((int) row, (int) col), "org.trinitydesktop.qt.TQTableItem");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QDataTable_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTable*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_newTQDataTable__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQDataTableJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_newTQDataTable__Lorg_trinitydesktop_qt_QSqlCursor_2(JNIEnv* env, jobject obj, jobject cursor)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_newTQDataTable__Lorg_trinitydesktop_qt_QSqlCursor_2Z(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_newTQDataTable__Lorg_trinitydesktop_qt_QSqlCursor_2ZLorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate, jobject parent)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (TQWidget*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_newTQDataTable__Lorg_trinitydesktop_qt_QSqlCursor_2ZLorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate, jobject parent, jstring name)
{
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_newTQDataTable__Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQDataTableJBridge((TQWidget*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_newTQDataTable__Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
{
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQDataTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QDataTable_nullText(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->nullText();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QDataTable_numCols(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQDataTable*) QtSupport::getQt(env, obj))->numCols();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QDataTable_numRows(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQDataTable*) QtSupport::getQt(env, obj))->numRows();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_paintCell(JNIEnv* env, jobject obj, jobject p, jint row, jint col, jobject cr, jboolean selected, jobject cg)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((TQPainter*) QtSupport::getQt(env, p), (int) row, (int) col, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_paintField(JNIEnv* env, jobject obj, jobject p, jobject field, jobject cr, jboolean selected)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_paintField((TQPainter*) QtSupport::getQt(env, p), (const TQSqlField*) QtSupport::getQt(env, field), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_refresh__(JNIEnv* env, jobject obj)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->public_refresh();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_refresh__I(JNIEnv* env, jobject obj, jint mode)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->refresh((TQDataTable::Refresh) mode);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_removeColumn(JNIEnv* env, jobject obj, jint col)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->removeColumn((uint) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_repaintCell(JNIEnv* env, jobject obj, jint row, jint col)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_repaintCell((int) row, (int) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_reset(JNIEnv* env, jobject obj)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_reset();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_resizeData(JNIEnv* env, jobject obj, jint len)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_resizeData((int) len);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_resizeEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setAutoDelete(JNIEnv* env, jobject obj, jboolean enable)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setAutoDelete((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setAutoEdit(JNIEnv* env, jobject obj, jboolean autoEdit)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setAutoEdit((bool) autoEdit);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setColumnStretchable(JNIEnv* env, jobject obj, jint col, jboolean stretch)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setColumnStretchable((int) col, (bool) stretch);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setColumnWidth(JNIEnv* env, jobject obj, jint col, jint w)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setColumnWidth((int) col, (int) w);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setColumn__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint col, jstring fieldName)
{
static TQString* _qstring_fieldName = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint col, jstring fieldName, jstring label)
{
static TQString* _qstring_fieldName = 0;
static TQString* _qstring_label = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint col, jstring fieldName, jstring label, jint width)
{
static TQString* _qstring_fieldName = 0;
static TQString* _qstring_label = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2ILorg_trinitydesktop_qt_QIconSet_2(JNIEnv* env, jobject obj, jint col, jstring fieldName, jstring label, jint width, jobject iconset)
{
static TQString* _qstring_fieldName = 0;
static TQString* _qstring_label = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setConfirmCancels(JNIEnv* env, jobject obj, jboolean confirm)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmCancels((bool) confirm);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setConfirmDelete(JNIEnv* env, jobject obj, jboolean confirm)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmDelete((bool) confirm);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setConfirmEdits(JNIEnv* env, jobject obj, jboolean confirm)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmEdits((bool) confirm);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setConfirmInsert(JNIEnv* env, jobject obj, jboolean confirm)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmInsert((bool) confirm);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setConfirmUpdate(JNIEnv* env, jobject obj, jboolean confirm)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmUpdate((bool) confirm);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setDateFormat(JNIEnv* env, jobject obj, jint f)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setDateFormat((const TQt::DateFormat) f);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setFalseText(JNIEnv* env, jobject obj, jstring falseText)
{
static TQString* _qstring_falseText = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->setFalseText((const TQString&)*(TQString*) QtSupport::toTQString(env, falseText, &_qstring_falseText));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setFilter(JNIEnv* env, jobject obj, jstring filter)
{
static TQString* _qstring_filter = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setItem(JNIEnv* env, jobject obj, jint row, jint col, jobject item)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setItem((int) row, (int) col, (TQTableItem*) QtSupport::getQt(env, item));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setNullText(JNIEnv* env, jobject obj, jstring nullText)
{
static TQString* _qstring_nullText = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->setNullText((const TQString&)*(TQString*) QtSupport::toTQString(env, nullText, &_qstring_nullText));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setNumCols(JNIEnv* env, jobject obj, jint c)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setNumCols((int) c);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setNumRows(JNIEnv* env, jobject obj, jint r)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setNumRows((int) r);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setPixmap(JNIEnv* env, jobject obj, jint row, jint col, jobject pix)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setPixmap((int) row, (int) col, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setSize(JNIEnv* env, jobject obj, jobject sql)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setSize((TQSqlCursor*) QtSupport::getQt(env, sql));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setSort__Lorg_trinitydesktop_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject sort)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setSort((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setSort___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray sort)
{
static TQStringList* _qlist_sort = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->setSort((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, sort, &_qlist_sort));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setSqlCursor__(JNIEnv* env, jobject obj)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->public_setSqlCursor();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setSqlCursor__Lorg_trinitydesktop_qt_QSqlCursor_2(JNIEnv* env, jobject obj, jobject cursor)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setSqlCursor__Lorg_trinitydesktop_qt_QSqlCursor_2Z(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setSqlCursor__Lorg_trinitydesktop_qt_QSqlCursor_2ZZ(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate, jboolean autoDelete)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (bool) autoDelete);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_setTrueText(JNIEnv* env, jobject obj, jstring trueText)
{
static TQString* _qstring_trueText = 0;
	((TQDataTable*) QtSupport::getQt(env, obj))->setTrueText((const TQString&)*(TQString*) QtSupport::toTQString(env, trueText, &_qstring_trueText));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_showColumn(JNIEnv* env, jobject obj, jint col)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->showColumn((int) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_sortAscending(JNIEnv* env, jobject obj, jint col)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->sortAscending((int) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_sortColumn__I(JNIEnv* env, jobject obj, jint col)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->sortColumn((int) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_sortColumn__IZ(JNIEnv* env, jobject obj, jint col, jboolean ascending)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->sortColumn((int) col, (bool) ascending);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_sortColumn__IZZ(JNIEnv* env, jobject obj, jint col, jboolean ascending, jboolean wholeRows)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->sortColumn((int) col, (bool) ascending, (bool) wholeRows);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_sortDescending(JNIEnv* env, jobject obj, jint col)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->sortDescending((int) col);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QDataTable_sort(JNIEnv* env, jobject obj)
{
	TQStringList  _qlist;
	_qlist = ((TQDataTable*) QtSupport::getQt(env, obj))->sort();
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QDataTable_sqlCursor(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTable*) QtSupport::getQt(env, obj))->sqlCursor(), "org.trinitydesktop.qt.TQSqlCursor");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_swapColumns__II(JNIEnv* env, jobject obj, jint col1, jint col2)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->swapColumns((int) col1, (int) col2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_swapColumns__IIZ(JNIEnv* env, jobject obj, jint col1, jint col2, jboolean swapHeaders)
{
	((TQDataTable*) QtSupport::getQt(env, obj))->swapColumns((int) col1, (int) col2, (bool) swapHeaders);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataTable_takeItem(JNIEnv* env, jobject obj, jobject i)
{
	((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_takeItem((TQTableItem*) QtSupport::getQt(env, i));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QDataTable_text(JNIEnv* env, jobject obj, jint row, jint col)
{
	TQString  _qstring;
	_qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->text((int) row, (int) col);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QDataTable_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
	TQString  _qstring;
	(void) cls;
static TQCString* _qstring_arg1 = 0;
	_qstring = TQDataTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QDataTable_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
	TQString  _qstring;
	(void) cls;
static TQCString* _qstring_arg1 = 0;
static TQCString* _qstring_arg2 = 0;
	_qstring = TQDataTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QDataTable_trueText(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->trueText();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataTable_updateCurrent(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_updateCurrent();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QDataTable_value(JNIEnv* env, jobject obj, jint row, jint col)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQDataTable*) QtSupport::getQt(env, obj))->value((int) row, (int) col)), "org.trinitydesktop.qt.TQVariant", TRUE);
	return xret;
}

