diff options
Diffstat (limited to 'qtjava/javalib/qtjava/TQIconView.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/TQIconView.cpp | 1522 |
1 files changed, 1522 insertions, 0 deletions
diff --git a/qtjava/javalib/qtjava/TQIconView.cpp b/qtjava/javalib/qtjava/TQIconView.cpp new file mode 100644 index 00000000..6917393b --- /dev/null +++ b/qtjava/javalib/qtjava/TQIconView.cpp @@ -0,0 +1,1522 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqrect.h> +#include <tqstyle.h> +#include <tqiconview.h> +#include <tqstring.h> +#include <tqpoint.h> +#include <tqpalette.h> +#include <tqsize.h> +#include <tqbrush.h> +#include <tqfont.h> +#include <tqnamespace.h> + +#include <qtjava/QtSupport.h> +#include <qtjava/TQIconView.h> + +class TQIconViewJBridge : public TQIconView +{ +public: + TQIconViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQIconView(arg1,arg2,arg3) {}; + TQIconViewJBridge(TQWidget* arg1,const char* arg2) : TQIconView(arg1,arg2) {}; + TQIconViewJBridge(TQWidget* arg1) : TQIconView(arg1) {}; + TQIconViewJBridge() : TQIconView() {}; + void public_clearSelection() { + TQIconView::clearSelection(); + return; + } + void public_invertSelection() { + TQIconView::invertSelection(); + return; + } + void public_clear() { + TQIconView::clear(); + return; + } + void public_sort() { + TQIconView::sort(); + return; + } + void public_arrangeItemsInGrid() { + TQIconView::arrangeItemsInGrid(); + return; + } + void public_updateContents() { + TQIconView::updateContents(); + return; + } + void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TQIconView::drawContents(arg1,arg2,arg3,arg4,arg5); + return; + } + void protected_contentsMousePressEvent(TQMouseEvent* arg1) { + TQIconView::contentsMousePressEvent(arg1); + return; + } + void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { + TQIconView::contentsMouseReleaseEvent(arg1); + return; + } + void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { + TQIconView::contentsMouseMoveEvent(arg1); + return; + } + void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + TQIconView::contentsMouseDoubleClickEvent(arg1); + return; + } + void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { + TQIconView::contentsContextMenuEvent(arg1); + return; + } + void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { + TQIconView::contentsDragEnterEvent(arg1); + return; + } + void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { + TQIconView::contentsDragMoveEvent(arg1); + return; + } + void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + TQIconView::contentsDragLeaveEvent(arg1); + return; + } + void protected_contentsDropEvent(TQDropEvent* arg1) { + TQIconView::contentsDropEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQIconView::resizeEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQIconView::keyPressEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQIconView::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQIconView::focusOutEvent(arg1); + return; + } + void protected_enterEvent(TQEvent* arg1) { + TQIconView::enterEvent(arg1); + return; + } + void protected_drawRubber(TQPainter* arg1) { + TQIconView::drawRubber(arg1); + return; + } + TQDragObject* protected_dragObject() { + return (TQDragObject*) TQIconView::dragObject(); + } + void protected_startDrag() { + TQIconView::startDrag(); + return; + } + void protected_insertInGrid(TQIconViewItem* arg1) { + TQIconView::insertInGrid(arg1); + return; + } + void protected_drawBackground(TQPainter* arg1,const TQRect& arg2) { + TQIconView::drawBackground(arg1,arg2); + return; + } + void protected_emitSelectionChanged(TQIconViewItem* arg1) { + TQIconView::emitSelectionChanged(arg1); + return; + } + void protected_emitSelectionChanged() { + TQIconView::emitSelectionChanged(); + return; + } + void protected_emitRenamed(TQIconViewItem* arg1) { + TQIconView::emitRenamed(arg1); + return; + } + TQIconViewItem* protected_makeRowLayout(TQIconViewItem* arg1,int& arg2,bool& arg3) { + return (TQIconViewItem*) TQIconView::makeRowLayout(arg1,arg2,arg3); + } + void protected_styleChange(TQStyle& arg1) { + TQIconView::styleChange(arg1); + return; + } + void protected_windowActivationChange(bool arg1) { + TQIconView::windowActivationChange(arg1); + return; + } + void protected_doAutoScroll() { + TQIconView::doAutoScroll(); + return; + } + void protected_adjustItems() { + TQIconView::adjustItems(); + return; + } + void protected_slotUpdate() { + TQIconView::slotUpdate(); + return; + } + ~TQIconViewJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void doAutoScroll() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","doAutoScroll")) { + TQIconView::doAutoScroll(); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQIconView::resizeEvent(arg1); + } + return; + } + void setFrameRect(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { + TQFrame::setFrameRect(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseDoubleClickEvent(arg1); + } + return; + } + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); + } + return; + } + void contentsMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQIconView::contentsMouseReleaseEvent(arg1); + } + return; + } + void viewportPaintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQScrollView::viewportPaintEvent(arg1); + } + return; + } + void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseDoubleClickEvent(arg1); + } + return; + } + void viewportMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseReleaseEvent(arg1); + } + return; + } + void setItemTextBackground(const TQBrush& arg1) { + if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TQBrush")) { + TQIconView::setItemTextBackground(arg1); + } + return; + } + void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQIconView::contentsDragLeaveEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQIconView::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void slotUpdate() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","slotUpdate")) { + TQIconView::slotUpdate(); + } + return; + } + void drawFrame(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { + TQFrame::drawFrame(arg1); + } + return; + } + void updateContents() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","updateContents")) { + TQIconView::updateContents(); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","hide")) { + TQWidget::hide(); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void viewportResizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQScrollView::viewportResizeEvent(arg1); + } + return; + } + void setPalette(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQIconView::setPalette(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQFrame::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imStartEvent(arg1); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","clear")) { + TQIconView::clear(); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void contentsDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQIconView::contentsDropEvent(arg1); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); + } + return; + } + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQIconView::showEvent(arg1); + } + return; + } + void viewportContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::viewportContextMenuEvent(arg1); + } + return; + } + void viewportDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQScrollView::viewportDragEnterEvent(arg1); + } + return; + } + void takeItem(TQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { + TQIconView::takeItem(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQIconView::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void repaintItem(TQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"repaintItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { + TQIconView::repaintItem(arg1); + } + return; + } + void clearSelection() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","clearSelection")) { + TQIconView::clearSelection(); + } + return; + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void setCornerWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQScrollView::setCornerWidget(arg1); + } + return; + } + void contentsDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQIconView::contentsDragEnterEvent(arg1); + } + return; + } + void contentsWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::contentsWheelEvent(arg1); + } + return; + } + void insertInGrid(TQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TQIconViewItem")) { + TQIconView::insertInGrid(arg1); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + TQWidget::closeEvent(arg1); + } + return; + } + void startDrag() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","startDrag")) { + TQIconView::startDrag(); + } + return; + } + void setFont(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { + TQIconView::setFont(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void contentsDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQIconView::contentsDragMoveEvent(arg1); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQIconView::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void contentsMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQIconView::contentsMouseMoveEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); + } + return; + } + void invertSelection() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","invertSelection")) { + TQIconView::invertSelection(); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void drawRubber(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TQPainter")) { + TQIconView::drawRubber(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::leaveEvent(arg1); + } + return; + } + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setIcon(arg1); + } + return; + } + void contentsMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQIconView::contentsMousePressEvent(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","showNormal")) { + TQWidget::showNormal(); + } + return; + } + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imComposeEvent(arg1); + } + return; + } + void viewportWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::viewportWheelEvent(arg1); + } + return; + } + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseMoveEvent(arg1); + } + return; + } + void viewportMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseMoveEvent(arg1); + } + return; + } + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void viewportDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQScrollView::viewportDropEvent(arg1); + } + return; + } + void viewportDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQScrollView::viewportDragMoveEvent(arg1); + } + return; + } + void adjustSize() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::wheelEvent(arg1); + } + return; + } + void setCurrentItem(TQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { + TQIconView::setCurrentItem(arg1); + } + return; + } + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imEndEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQIconView::focusInEvent(arg1); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); + } + return; + } + void adjustItems() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","adjustItems")) { + TQIconView::adjustItems(); + } + return; + } + void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQIconView::contentsMouseDoubleClickEvent(arg1); + } + return; + } + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::contextMenuEvent(arg1); + } + return; + } + void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQScrollView::viewportDragLeaveEvent(arg1); + } + return; + } + void contentsContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQIconView::contentsContextMenuEvent(arg1); + } + return; + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void viewportMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMousePressEvent(arg1); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_adjustItems(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_adjustItems(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_arrangeItemsInGrid__(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_arrangeItemsInGrid(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_arrangeItemsInGrid__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject grid) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((const TQSize&)*(const TQSize*) QtSupport::getQt(env, grid)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_arrangeItemsInGrid__Lorg_kde_qt_QSize_2Z(JNIEnv* env, jobject obj, jobject grid, jboolean update) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((const TQSize&)*(const TQSize*) QtSupport::getQt(env, grid), (bool) update); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_arrangeItemsInGrid__Z(JNIEnv* env, jobject obj, jboolean update) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((bool) update); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_arrangement(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->arrangement(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_autoArrange(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->autoArrange(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconView_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQIconView*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_clearSelection(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_clear(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_currentItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QIconView_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_doAutoScroll(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_doAutoScroll(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_dragObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_drawBackground(JNIEnv* env, jobject obj, jobject p, jobject r) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawBackground((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) +{ + ((TQIconViewJBridge*) 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_kde_qt_QIconView_drawRubber(JNIEnv* env, jobject obj, jobject p) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawRubber((TQPainter*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_emitRenamed(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitRenamed((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_emitSelectionChanged__(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitSelectionChanged(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_emitSelectionChanged__Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject i) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitSelectionChanged((TQIconViewItem*) QtSupport::getQt(env, i)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_ensureItemVisible(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->ensureItemVisible((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_enterEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject arg2) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQIconView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQIconView*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_findFirstVisibleItem(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findFirstVisibleItem((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_findItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_findItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint compare) +{ +static TQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQt::ComparisonFlags) compare), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_findItem__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findItem((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_findLastVisibleItem(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findLastVisibleItem((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_firstItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->firstItem(), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_focusInEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_focusOutEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_gridX(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->gridX(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_gridY(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->gridY(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_index(JNIEnv* env, jobject obj, jobject item) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->index((const TQIconViewItem*) QtSupport::getQt(env, item)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_insertInGrid(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_insertInGrid((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_insertItem__Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->insertItem((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_insertItem__Lorg_kde_qt_QIconViewItem_2Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject item, jobject after) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->insertItem((TQIconViewItem*) QtSupport::getQt(env, item), (TQIconViewItem*) QtSupport::getQt(env, after)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_invertSelection(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_isRenaming(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->isRenaming(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_itemTextBackground(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBrush(((TQIconView*) QtSupport::getQt(env, obj))->itemTextBackground()), "org.kde.qt.TQBrush", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_itemTextPos(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->itemTextPos(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_itemsMovable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->itemsMovable(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_keyPressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_lastItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_makeRowLayout(JNIEnv* env, jobject obj, jobject begin, jintArray y, jboolean changed) +{ + int* _int_y = QtSupport::toIntPtr(env, y); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_makeRowLayout((TQIconViewItem*) QtSupport::getQt(env, begin), (int&) *_int_y, (bool&) changed), "org.kde.qt.TQIconViewItem"); + env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_maxItemTextLength(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->maxItemTextLength(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_maxItemWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->maxItemWidth(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQIconView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_newTQIconView__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconViewJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_newTQIconView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_newTQIconView__Lorg_kde_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 TQIconViewJBridge((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_kde_qt_QIconView_newTQIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_repaintItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->repaintItem((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_repaintSelectedItems(JNIEnv* env, jobject obj) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->repaintSelectedItems(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_resizeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_resizeMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->resizeMode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_selectAll(JNIEnv* env, jobject obj, jboolean select) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->selectAll((bool) select); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_selectionMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->selectionMode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setArrangement(JNIEnv* env, jobject obj, jint am) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setArrangement((TQIconView::Arrangement) am); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setAutoArrange(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setAutoArrange((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setContentsPos(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setContentsPos((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setCurrentItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setCurrentItem((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setFont(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setGridX(JNIEnv* env, jobject obj, jint rx) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setGridX((int) rx); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setGridY(JNIEnv* env, jobject obj, jint ry) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setGridY((int) ry); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setItemTextBackground(JNIEnv* env, jobject obj, jobject b) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setItemTextBackground((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, b)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setItemTextPos(JNIEnv* env, jobject obj, jint pos) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setItemTextPos((TQIconView::ItemTextPos) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setItemsMovable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setItemsMovable((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setMaxItemTextLength(JNIEnv* env, jobject obj, jint w) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setMaxItemTextLength((int) w); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setMaxItemWidth(JNIEnv* env, jobject obj, jint w) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setMaxItemWidth((int) w); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setPalette(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setResizeMode(JNIEnv* env, jobject obj, jint am) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setResizeMode((TQIconView::ResizeMode) am); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setSelected__Lorg_kde_qt_QIconViewItem_2Z(JNIEnv* env, jobject obj, jobject item, jboolean s) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setSelected((TQIconViewItem*) QtSupport::getQt(env, item), (bool) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setSelected__Lorg_kde_qt_QIconViewItem_2ZZ(JNIEnv* env, jobject obj, jobject item, jboolean s, jboolean cb) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setSelected((TQIconViewItem*) QtSupport::getQt(env, item), (bool) s, (bool) cb); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setSelectionMode(JNIEnv* env, jobject obj, jint m) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setSelectionMode((TQIconView::SelectionMode) m); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setShowToolTips(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setShowToolTips((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setSorting__Z(JNIEnv* env, jobject obj, jboolean sort) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setSorting((bool) sort); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setSorting__ZZ(JNIEnv* env, jobject obj, jboolean sort, jboolean ascending) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setSorting((bool) sort, (bool) ascending); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setSpacing(JNIEnv* env, jobject obj, jint sp) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setSpacing((int) sp); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setWordWrapIconText(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setWordWrapIconText((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_showEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_showToolTips(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->showToolTips(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQIconView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_slotUpdate(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotUpdate(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_sortDirection(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->sortDirection(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_sortOnInsert(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->sorting(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_sort__(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_sort(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_sort__Z(JNIEnv* env, jobject obj, jboolean ascending) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->sort((bool) ascending); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_spacing(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->spacing(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_startDrag(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_takeItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->takeItem((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQIconViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconView_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 = TQIconViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_updateContents(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_updateContents(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_wordWrapIconText(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->wordWrapIconText(); + return xret; +} + |