diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QListView.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QListView.cpp | 834 |
1 files changed, 417 insertions, 417 deletions
diff --git a/qtjava/javalib/qtjava/QListView.cpp b/qtjava/javalib/qtjava/QListView.cpp index 30f0b2ff..9e3e693a 100644 --- a/qtjava/javalib/qtjava/QListView.cpp +++ b/qtjava/javalib/qtjava/QListView.cpp @@ -16,355 +16,355 @@ class TQListViewJBridge : public TQListView { public: - TQListViewJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQListView(arg1,arg2,arg3) {}; - TQListViewJBridge(TTQWidget* arg1,const char* arg2) : TTQListView(arg1,arg2) {}; - TQListViewJBridge(TTQWidget* arg1) : TTQListView(arg1) {}; - TQListViewJBridge() : TTQListView() {}; + TQListViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQListView(arg1,arg2,arg3) {}; + TQListViewJBridge(TQWidget* arg1,const char* arg2) : TQListView(arg1,arg2) {}; + TQListViewJBridge(TQWidget* arg1) : TQListView(arg1) {}; + TQListViewJBridge() : TQListView() {}; void public_clearSelection() { - TTQListView::clearSelection(); + TQListView::clearSelection(); return; } void public_sort() { - TTQListView::sort(); + TQListView::sort(); return; } void public_clear() { - TTQListView::clear(); + TQListView::clear(); return; } void public_invertSelection() { - TTQListView::invertSelection(); + TQListView::invertSelection(); return; } - void protected_contentsMousePressEvent(TTQMouseEvent* arg1) { - TTQListView::contentsMousePressEvent(arg1); + void protected_contentsMousePressEvent(TQMouseEvent* arg1) { + TQListView::contentsMousePressEvent(arg1); return; } - void protected_contentsMouseReleaseEvent(TTQMouseEvent* arg1) { - TTQListView::contentsMouseReleaseEvent(arg1); + void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { + TQListView::contentsMouseReleaseEvent(arg1); return; } - void protected_contentsMouseMoveEvent(TTQMouseEvent* arg1) { - TTQListView::contentsMouseMoveEvent(arg1); + void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { + TQListView::contentsMouseMoveEvent(arg1); return; } - void protected_contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { - TTQListView::contentsMouseDoubleClickEvent(arg1); + void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + TQListView::contentsMouseDoubleClickEvent(arg1); return; } - void protected_contentsContextMenuEvent(TTQContextMenuEvent* arg1) { - TTQListView::contentsContextMenuEvent(arg1); + void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { + TQListView::contentsContextMenuEvent(arg1); return; } - void protected_contentsDragEnterEvent(TTQDragEnterEvent* arg1) { - TTQListView::contentsDragEnterEvent(arg1); + void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { + TQListView::contentsDragEnterEvent(arg1); return; } - void protected_contentsDragMoveEvent(TTQDragMoveEvent* arg1) { - TTQListView::contentsDragMoveEvent(arg1); + void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { + TQListView::contentsDragMoveEvent(arg1); return; } - void protected_contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { - TTQListView::contentsDragLeaveEvent(arg1); + void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + TQListView::contentsDragLeaveEvent(arg1); return; } - void protected_contentsDropEvent(TTQDropEvent* arg1) { - TTQListView::contentsDropEvent(arg1); + void protected_contentsDropEvent(TQDropEvent* arg1) { + TQListView::contentsDropEvent(arg1); return; } - TTQDragObject* protected_dragObject() { - return (TTQDragObject*) TTQListView::dragObject(); + TQDragObject* protected_dragObject() { + return (TQDragObject*) TQListView::dragObject(); } void protected_startDrag() { - TTQListView::startDrag(); + TQListView::startDrag(); return; } - void protected_focusInEvent(TTQFocusEvent* arg1) { - TTQListView::focusInEvent(arg1); + void protected_focusInEvent(TQFocusEvent* arg1) { + TQListView::focusInEvent(arg1); return; } - void protected_focusOutEvent(TTQFocusEvent* arg1) { - TTQListView::focusOutEvent(arg1); + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQListView::focusOutEvent(arg1); return; } - void protected_keyPressEvent(TTQKeyEvent* arg1) { - TTQListView::keyPressEvent(arg1); + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQListView::keyPressEvent(arg1); return; } - void protected_resizeEvent(TTQResizeEvent* arg1) { - TTQListView::resizeEvent(arg1); + void protected_resizeEvent(TQResizeEvent* arg1) { + TQListView::resizeEvent(arg1); return; } - void protected_viewportResizeEvent(TTQResizeEvent* arg1) { - TTQListView::viewportResizeEvent(arg1); + void protected_viewportResizeEvent(TQResizeEvent* arg1) { + TQListView::viewportResizeEvent(arg1); return; } - void protected_showEvent(TTQShowEvent* arg1) { - TTQListView::showEvent(arg1); + void protected_showEvent(TQShowEvent* arg1) { + TQListView::showEvent(arg1); return; } - void protected_drawContentsOffset(TTQPainter* arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { - TTQListView::drawContentsOffset(arg1,arg2,arg3,arg4,arg5,arg6,arg7); + void protected_drawContentsOffset(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { + TQListView::drawContentsOffset(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return; } - void protected_paintEmptyArea(TTQPainter* arg1,const TTQRect& arg2) { - TTQListView::paintEmptyArea(arg1,arg2); + void protected_paintEmptyArea(TQPainter* arg1,const TQRect& arg2) { + TQListView::paintEmptyArea(arg1,arg2); return; } - void protected_styleChange(TTQStyle& arg1) { - TTQListView::styleChange(arg1); + void protected_styleChange(TQStyle& arg1) { + TQListView::styleChange(arg1); return; } void protected_windowActivationChange(bool arg1) { - TTQListView::windowActivationChange(arg1); + TQListView::windowActivationChange(arg1); return; } void protected_updateContents() { - TTQListView::updateContents(); + TQListView::updateContents(); return; } void protected_doAutoScroll() { - TTQListView::doAutoScroll(); + TQListView::doAutoScroll(); return; } ~TQListViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TTQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { - TTQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TTQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { - TTQWidget::setMask(arg1); + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); } return; } - void resizeEvent(TTQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { - TTQListView::resizeEvent(arg1); + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQListView::resizeEvent(arg1); } return; } - void setFrameRect(const TTQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { - TTQFrame::setFrameRect(arg1); + void setFrameRect(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { + TQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TTQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { - TTQScrollView::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseDoubleClickEvent(arg1); } return; } - void removeItem(TTQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TTQListViewItem")) { - TTQListView::removeItem(arg1); + void removeItem(TQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { + TQListView::removeItem(arg1); } return; } - void paletteChange(const TTQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { - TTQWidget::paletteChange(arg1); + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(TTQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { - TTQListView::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQListView::contentsMouseReleaseEvent(arg1); } return; } - void viewportPaintEvent(TTQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { - TTQScrollView::viewportPaintEvent(arg1); + void viewportPaintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQScrollView::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { - TTQScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(TTQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { - TTQScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseReleaseEvent(arg1); } return; } - void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { - TTQListView::contentsDragLeaveEvent(arg1); + void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQListView::contentsDragLeaveEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","setActiveWindow")) { - TTQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","setActiveWindow")) { + TQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TTQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { - TTQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TTQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { - TTQListView::focusOutEvent(arg1); + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQListView::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","setFocus")) { - TTQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","setFocus")) { + TQWidget::setFocus(); } return; } - void dragMoveEvent(TTQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { - TTQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); } return; } - void insertItem(TTQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.qt.TTQListViewItem")) { - TTQListView::insertItem(arg1); + void insertItem(TQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { + TQListView::insertItem(arg1); } return; } - void drawFrame(TTQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { - TTQFrame::drawFrame(arg1); + void drawFrame(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { + TQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","hide")) { - TTQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","hide")) { + TQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TTQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { - TTQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(TTQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { - TTQListView::viewportResizeEvent(arg1); + void viewportResizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQListView::viewportResizeEvent(arg1); } return; } void sort() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","sort")) { - TTQListView::sort(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","sort")) { + TQListView::sort(); } return; } - void setPalette(const TTQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TTQPalette")) { - TTQListView::setPalette(arg1); + void setPalette(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQListView::setPalette(arg1); } return; } - void setEraseColor(const TTQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { - TTQWidget::setEraseColor(arg1); + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); } return; } - void paintEvent(TTQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { - TTQFrame::paintEvent(arg1); + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQFrame::paintEvent(arg1); } return; } - void imStartEvent(TTQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { - TTQWidget::imStartEvent(arg1); + 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.TTQListView","clear")) { - TTQListView::clear(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","clear")) { + TQListView::clear(); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","unsetCursor")) { - TTQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","unsetCursor")) { + TQWidget::unsetCursor(); } return; } - void contentsDropEvent(TTQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { - TTQListView::contentsDropEvent(arg1); + void contentsDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQListView::contentsDropEvent(arg1); } return; } - void hideEvent(TTQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { - TTQWidget::hideEvent(arg1); + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); } return; } - void moveEvent(TTQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { - TTQWidget::moveEvent(arg1); + 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.TTQListView","polish")) { - TTQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","polish")) { + TQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","showMaximized")) { - TTQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","showMaximized")) { + TQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TTQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { - TTQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TTQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { - TTQListView::showEvent(arg1); + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQListView::showEvent(arg1); } return; } - void viewportContextMenuEvent(TTQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { - TTQScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::viewportContextMenuEvent(arg1); } return; } - void viewportDragEnterEvent(TTQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { - TTQScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQScrollView::viewportDragEnterEvent(arg1); } return; } - void takeItem(TTQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TTQListViewItem")) { - TTQListView::takeItem(arg1); + void takeItem(TQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { + TQListView::takeItem(arg1); } return; } - void keyPressEvent(TTQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { - TTQListView::keyPressEvent(arg1); + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQListView::keyPressEvent(arg1); } return; } @@ -372,290 +372,290 @@ public: return QtSupport::booleanDelegate(this,"customWhatsThis"); } void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","clearSelection")) { - TTQListView::clearSelection(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","clearSelection")) { + TQListView::clearSelection(); } return; } - void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { - TTQWidget::setPaletteBackgroundPixmap(arg1); + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(TTQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { - TTQScrollView::setCornerWidget(arg1); + void setCornerWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(TTQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { - TTQListView::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQListView::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(TTQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { - TTQScrollView::contentsWheelEvent(arg1); + void contentsWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::contentsWheelEvent(arg1); } return; } - void setCursor(const TTQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { - TTQWidget::setCursor(arg1); + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); } return; } - void closeEvent(TTQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { - TTQWidget::closeEvent(arg1); + 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.TTQListView","startDrag")) { - TTQListView::startDrag(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","startDrag")) { + TQListView::startDrag(); } return; } - void setFont(const TTQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TTQFont")) { - TTQListView::setFont(arg1); + void setFont(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { + TQListView::setFont(arg1); } return; } - void customEvent(TTQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { - TTQObject::customEvent(arg1); + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(TTQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { - TTQListView::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQListView::contentsDragMoveEvent(arg1); } return; } - void enterEvent(TTQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { - TTQWidget::enterEvent(arg1); + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::enterEvent(arg1); } return; } - void timerEvent(TTQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { - TTQObject::timerEvent(arg1); + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(TTQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { - TTQListView::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQListView::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(TTQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { - TTQScrollView::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TTQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { - TTQWidget::setErasePixmap(arg1); + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); } return; } - void childEvent(TTQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { - TTQObject::childEvent(arg1); + 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.TTQListView","invertSelection")) { - TTQListView::invertSelection(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","invertSelection")) { + TQListView::invertSelection(); } return; } - void dropEvent(TTQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { - TTQWidget::dropEvent(arg1); + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); } return; } - void leaveEvent(TTQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { - TTQWidget::leaveEvent(arg1); + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::leaveEvent(arg1); } return; } - void setIcon(const TTQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { - TTQWidget::setIcon(arg1); + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setIcon(arg1); } return; } - void contentsMousePressEvent(TTQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { - TTQListView::contentsMousePressEvent(arg1); + void contentsMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQListView::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","updateMask")) { - TTQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","updateMask")) { + TQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","showNormal")) { - TTQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","showNormal")) { + TQWidget::showNormal(); } return; } - void imComposeEvent(TTQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { - TTQWidget::imComposeEvent(arg1); + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imComposeEvent(arg1); } return; } - void viewportWheelEvent(TTQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { - TTQScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(TTQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { - TTQScrollView::mousePressEvent(arg1); + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TTQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { - TTQScrollView::mouseMoveEvent(arg1); + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(TTQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { - TTQScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(TTQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { - TTQWidget::setFocusProxy(arg1); + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TTQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { - TTQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(TTQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { - TTQScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(TTQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { - TTQScrollView::viewportDragMoveEvent(arg1); + 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.TTQListView","adjustSize")) { - TTQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","adjustSize")) { + TQWidget::adjustSize(); } return; } - void wheelEvent(TTQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { - TTQScrollView::wheelEvent(arg1); + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::wheelEvent(arg1); } return; } - void setCurrentItem(TTQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TTQListViewItem")) { - TTQListView::setCurrentItem(arg1); + void setCurrentItem(TQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { + TQListView::setCurrentItem(arg1); } return; } - void imEndEvent(TTQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { - TTQWidget::imEndEvent(arg1); + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imEndEvent(arg1); } return; } - void insertChild(TTQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { - TTQObject::insertChild(arg1); + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); } return; } - void focusInEvent(TTQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { - TTQListView::focusInEvent(arg1); + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQListView::focusInEvent(arg1); } return; } - void tabletEvent(TTQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { - TTQWidget::tabletEvent(arg1); + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TTQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { - TTQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); } return; } - void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { - TTQListView::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQListView::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(TTQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { - TTQScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::contextMenuEvent(arg1); } return; } - void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { - TTQScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(TTQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { - TTQListView::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQListView::contentsContextMenuEvent(arg1); } return; } - void setGeometry(const TTQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { - TTQWidget::setGeometry(arg1); + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); } return; } - void viewportMousePressEvent(TTQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { - TTQScrollView::viewportMousePressEvent(arg1); + 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.TTQListView","showMinimized")) { - TTQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","showMinimized")) { + TQWidget::showMinimized(); } return; } @@ -664,53 +664,53 @@ public: JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_addColumn__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) { -static TTQString* _qstring_label = 0; - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->addColumn((const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label)); +static TQString* _qstring_label = 0; + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_addColumn__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint size) { -static TTQString* _qstring_label = 0; - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->addColumn((const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) size); +static TQString* _qstring_label = 0; + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) size); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject iconset, jstring label) { -static TTQString* _qstring_label = 0; - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->addColumn((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label)); +static TQString* _qstring_label = 0; + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->addColumn((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject iconset, jstring label, jint size) { -static TTQString* _qstring_label = 0; - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->addColumn((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) size); +static TQString* _qstring_label = 0; + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->addColumn((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) size); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_adjustColumn(JNIEnv* env, jobject obj, jint col) { - ((TTQListView*) QtSupport::getQt(env, obj))->adjustColumn((int) col); + ((TQListView*) QtSupport::getQt(env, obj))->adjustColumn((int) col); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_allColumnsShowFocus(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQListView*) QtSupport::getQt(env, obj))->allColumnsShowFocus(); + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->allColumnsShowFocus(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_childCount(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->childCount(); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->childCount(); return xret; } @@ -718,7 +718,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TTQListView*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TQListView*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -739,113 +739,113 @@ Java_org_kde_qt_QListView_clear(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columnAlignment(JNIEnv* env, jobject obj, jint arg1) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->columnAlignment((int) arg1); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->columnAlignment((int) arg1); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_columnText(JNIEnv* env, jobject obj, jint column) { - TTQString _qstring; - _qstring = ((TTQListView*) QtSupport::getQt(env, obj))->columnText((int) column); + TQString _qstring; + _qstring = ((TQListView*) QtSupport::getQt(env, obj))->columnText((int) column); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columnWidthMode(JNIEnv* env, jobject obj, jint column) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->columnWidthMode((int) column); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->columnWidthMode((int) column); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columnWidth(JNIEnv* env, jobject obj, jint column) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->columnWidth((int) column); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->columnWidth((int) column); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columns(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->columns(); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->columns(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TTQDragEnterEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TTQDragLeaveEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TTQDragMoveEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TTQDropEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_currentItem(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.TTQListViewItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.TQListViewItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_defaultRenameAction(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->defaultRenameAction(); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->defaultRenameAction(); return xret; } @@ -866,36 +866,36 @@ Java_org_kde_qt_QListView_doAutoScroll(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_dragObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TTQDragObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_drawContentsOffset(JNIEnv* env, jobject obj, jobject arg1, jint ox, jint oy, jint cx, jint cy, jint cw, jint ch) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((TTQPainter*) QtSupport::getQt(env, arg1), (int) ox, (int) oy, (int) cx, (int) cy, (int) cw, (int) ch); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((TQPainter*) QtSupport::getQt(env, arg1), (int) ox, (int) oy, (int) cx, (int) cy, (int) cw, (int) ch); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_ensureItemVisible(JNIEnv* env, jobject obj, jobject arg1) { - ((TTQListView*) QtSupport::getQt(env, obj))->ensureItemVisible((const TTQListViewItem*) QtSupport::getQt(env, arg1)); + ((TQListView*) QtSupport::getQt(env, obj))->ensureItemVisible((const TQListViewItem*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject arg2) { - jboolean xret = (jboolean) ((TTQListView*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, o), (TTQEvent*) QtSupport::getQt(env, arg2)); + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, arg2)); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQListView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TTQListView*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQListView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQListView*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -904,58 +904,58 @@ Java_org_kde_qt_QListView_finalize(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_findItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint column) { -static TTQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->findItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) column), "org.kde.qt.TTQListViewItem"); +static TQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) column), "org.kde.qt.TQListViewItem"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_findItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint column, jint compare) { -static TTQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->findItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) column, (TQt::ComparisonFlags) compare), "org.kde.qt.TTQListViewItem"); +static TQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) column, (TQt::ComparisonFlags) compare), "org.kde.qt.TQListViewItem"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_firstChild(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->firstChild(), "org.kde.qt.TTQListViewItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->firstChild(), "org.kde.qt.TQListViewItem"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_focusInEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_focusOutEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_header(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->header(), "org.kde.qt.TTQHeader"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->header(), "org.kde.qt.TQHeader"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_hideColumn(JNIEnv* env, jobject obj, jint column) { - ((TTQListView*) QtSupport::getQt(env, obj))->hideColumn((int) column); + ((TQListView*) QtSupport::getQt(env, obj))->hideColumn((int) column); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_insertItem(JNIEnv* env, jobject obj, jobject arg1) { - ((TTQListView*) QtSupport::getQt(env, obj))->insertItem((TTQListViewItem*) QtSupport::getQt(env, arg1)); + ((TQListView*) QtSupport::getQt(env, obj))->insertItem((TQListViewItem*) QtSupport::getQt(env, arg1)); return; } @@ -975,84 +975,84 @@ Java_org_kde_qt_QListView_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isMultiSelection(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQListView*) QtSupport::getQt(env, obj))->isMultiSelection(); + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isMultiSelection(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isOpen(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((TTQListView*) QtSupport::getQt(env, obj))->isOpen((const TTQListViewItem*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isOpen((const TQListViewItem*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isRenaming(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQListView*) QtSupport::getQt(env, obj))->isRenaming(); + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isRenaming(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isSelected(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((TTQListView*) QtSupport::getQt(env, obj))->isSelected((const TTQListViewItem*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isSelected((const TQListViewItem*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_itemAt(JNIEnv* env, jobject obj, jobject screenPos) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->itemAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, screenPos)), "org.kde.qt.TTQListViewItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->itemAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, screenPos)), "org.kde.qt.TQListViewItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_itemMargin(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->itemMargin(); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->itemMargin(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_itemPos(JNIEnv* env, jobject obj, jobject arg1) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->itemPos((const TTQListViewItem*) QtSupport::getQt(env, arg1)); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->itemPos((const TQListViewItem*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_itemRect(JNIEnv* env, jobject obj, jobject arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQListView*) QtSupport::getQt(env, obj))->itemRect((const TTQListViewItem*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRect", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQListView*) QtSupport::getQt(env, obj))->itemRect((const TQListViewItem*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRect", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_keyPressEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_lastItem(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TTQListViewItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TQListViewItem"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_minimumSizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQListView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQListView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); return xret; } @@ -1070,7 +1070,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newTQListView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListViewJBridge((TTQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQListViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1079,9 +1079,9 @@ Java_org_kde_qt_QListView_newTQListView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobj JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newTQListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { -static TTQCString* _qstring_name = 0; +static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQListViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1090,9 +1090,9 @@ static TTQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newTQListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) { -static TTQCString* _qstring_name = 0; +static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); + QtSupport::setQt(env, obj, new TQListViewJBridge((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; @@ -1101,303 +1101,303 @@ static TTQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QListView_paintEmptyArea(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_paintEmptyArea((TTQPainter*) QtSupport::getQt(env, arg1), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg2)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_paintEmptyArea((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_removeColumn(JNIEnv* env, jobject obj, jint index) { - ((TTQListView*) QtSupport::getQt(env, obj))->removeColumn((int) index); + ((TQListView*) QtSupport::getQt(env, obj))->removeColumn((int) index); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_removeItem(JNIEnv* env, jobject obj, jobject item) { - ((TTQListView*) QtSupport::getQt(env, obj))->removeItem((TTQListViewItem*) QtSupport::getQt(env, item)); + ((TQListView*) QtSupport::getQt(env, obj))->removeItem((TQListViewItem*) QtSupport::getQt(env, item)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_repaintItem(JNIEnv* env, jobject obj, jobject arg1) { - ((TTQListView*) QtSupport::getQt(env, obj))->repaintItem((const TTQListViewItem*) QtSupport::getQt(env, arg1)); + ((TQListView*) QtSupport::getQt(env, obj))->repaintItem((const TQListViewItem*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_resizeEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_resizeMode(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->resizeMode(); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->resizeMode(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_rootIsDecorated(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQListView*) QtSupport::getQt(env, obj))->rootIsDecorated(); + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->rootIsDecorated(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_selectAll(JNIEnv* env, jobject obj, jboolean select) { - ((TTQListView*) QtSupport::getQt(env, obj))->selectAll((bool) select); + ((TQListView*) QtSupport::getQt(env, obj))->selectAll((bool) select); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_selectedItem(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->selectedItem(), "org.kde.qt.TTQListViewItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->selectedItem(), "org.kde.qt.TQListViewItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_selectionMode(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->selectionMode(); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->selectionMode(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setAllColumnsShowFocus(JNIEnv* env, jobject obj, jboolean arg1) { - ((TTQListView*) QtSupport::getQt(env, obj))->setAllColumnsShowFocus((bool) arg1); + ((TQListView*) QtSupport::getQt(env, obj))->setAllColumnsShowFocus((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnAlignment(JNIEnv* env, jobject obj, jint arg1, jint arg2) { - ((TTQListView*) QtSupport::getQt(env, obj))->setColumnAlignment((int) arg1, (int) arg2); + ((TQListView*) QtSupport::getQt(env, obj))->setColumnAlignment((int) arg1, (int) arg2); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnText__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint column, jstring label) { -static TTQString* _qstring_label = 0; - ((TTQListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label)); +static TQString* _qstring_label = 0; + ((TQListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnText__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint column, jobject iconset, jstring label) { -static TTQString* _qstring_label = 0; - ((TTQListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label)); +static TQString* _qstring_label = 0; + ((TQListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnWidthMode(JNIEnv* env, jobject obj, jint column, jint arg2) { - ((TTQListView*) QtSupport::getQt(env, obj))->setColumnWidthMode((int) column, (TTQListView::WidthMode) arg2); + ((TQListView*) QtSupport::getQt(env, obj))->setColumnWidthMode((int) column, (TQListView::WidthMode) arg2); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnWidth(JNIEnv* env, jobject obj, jint column, jint width) { - ((TTQListView*) QtSupport::getQt(env, obj))->setColumnWidth((int) column, (int) width); + ((TQListView*) QtSupport::getQt(env, obj))->setColumnWidth((int) column, (int) width); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setContentsPos(JNIEnv* env, jobject obj, jint x, jint y) { - ((TTQListView*) QtSupport::getQt(env, obj))->setContentsPos((int) x, (int) y); + ((TQListView*) QtSupport::getQt(env, obj))->setContentsPos((int) x, (int) y); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setCurrentItem(JNIEnv* env, jobject obj, jobject arg1) { - ((TTQListView*) QtSupport::getQt(env, obj))->setCurrentItem((TTQListViewItem*) QtSupport::getQt(env, arg1)); + ((TQListView*) QtSupport::getQt(env, obj))->setCurrentItem((TQListViewItem*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setDefaultRenameAction(JNIEnv* env, jobject obj, jint a) { - ((TTQListView*) QtSupport::getQt(env, obj))->setDefaultRenameAction((TTQListView::RenameAction) a); + ((TQListView*) QtSupport::getQt(env, obj))->setDefaultRenameAction((TQListView::RenameAction) a); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setFont(JNIEnv* env, jobject obj, jobject arg1) { - ((TTQListView*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1)); + ((TQListView*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setItemMargin(JNIEnv* env, jobject obj, jint arg1) { - ((TTQListView*) QtSupport::getQt(env, obj))->setItemMargin((int) arg1); + ((TQListView*) QtSupport::getQt(env, obj))->setItemMargin((int) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setMultiSelection(JNIEnv* env, jobject obj, jboolean enable) { - ((TTQListView*) QtSupport::getQt(env, obj))->setMultiSelection((bool) enable); + ((TQListView*) QtSupport::getQt(env, obj))->setMultiSelection((bool) enable); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setOpen(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) { - ((TTQListView*) QtSupport::getQt(env, obj))->setOpen((TTQListViewItem*) QtSupport::getQt(env, arg1), (bool) arg2); + ((TQListView*) QtSupport::getQt(env, obj))->setOpen((TQListViewItem*) QtSupport::getQt(env, arg1), (bool) arg2); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setPalette(JNIEnv* env, jobject obj, jobject arg1) { - ((TTQListView*) QtSupport::getQt(env, obj))->setPalette((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1)); + ((TQListView*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setResizeMode(JNIEnv* env, jobject obj, jint m) { - ((TTQListView*) QtSupport::getQt(env, obj))->setResizeMode((TTQListView::ResizeMode) m); + ((TQListView*) QtSupport::getQt(env, obj))->setResizeMode((TQListView::ResizeMode) m); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setRootIsDecorated(JNIEnv* env, jobject obj, jboolean arg1) { - ((TTQListView*) QtSupport::getQt(env, obj))->setRootIsDecorated((bool) arg1); + ((TQListView*) QtSupport::getQt(env, obj))->setRootIsDecorated((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) { - ((TTQListView*) QtSupport::getQt(env, obj))->setSelected((TTQListViewItem*) QtSupport::getQt(env, arg1), (bool) arg2); + ((TQListView*) QtSupport::getQt(env, obj))->setSelected((TQListViewItem*) QtSupport::getQt(env, arg1), (bool) arg2); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSelectionAnchor(JNIEnv* env, jobject obj, jobject arg1) { - ((TTQListView*) QtSupport::getQt(env, obj))->setSelectionAnchor((TTQListViewItem*) QtSupport::getQt(env, arg1)); + ((TQListView*) QtSupport::getQt(env, obj))->setSelectionAnchor((TQListViewItem*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSelectionMode(JNIEnv* env, jobject obj, jint mode) { - ((TTQListView*) QtSupport::getQt(env, obj))->setSelectionMode((TTQListView::SelectionMode) mode); + ((TQListView*) QtSupport::getQt(env, obj))->setSelectionMode((TQListView::SelectionMode) mode); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setShowSortIndicator(JNIEnv* env, jobject obj, jboolean show) { - ((TTQListView*) QtSupport::getQt(env, obj))->setShowSortIndicator((bool) show); + ((TQListView*) QtSupport::getQt(env, obj))->setShowSortIndicator((bool) show); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setShowToolTips(JNIEnv* env, jobject obj, jboolean b) { - ((TTQListView*) QtSupport::getQt(env, obj))->setShowToolTips((bool) b); + ((TQListView*) QtSupport::getQt(env, obj))->setShowToolTips((bool) b); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSortColumn(JNIEnv* env, jobject obj, jint column) { - ((TTQListView*) QtSupport::getQt(env, obj))->setSortColumn((int) column); + ((TQListView*) QtSupport::getQt(env, obj))->setSortColumn((int) column); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSortOrder(JNIEnv* env, jobject obj, jint order) { - ((TTQListView*) QtSupport::getQt(env, obj))->setSortOrder((TQt::SortOrder) order); + ((TQListView*) QtSupport::getQt(env, obj))->setSortOrder((TQt::SortOrder) order); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSorting__I(JNIEnv* env, jobject obj, jint column) { - ((TTQListView*) QtSupport::getQt(env, obj))->setSorting((int) column); + ((TQListView*) QtSupport::getQt(env, obj))->setSorting((int) column); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSorting__IZ(JNIEnv* env, jobject obj, jint column, jboolean ascending) { - ((TTQListView*) QtSupport::getQt(env, obj))->setSorting((int) column, (bool) ascending); + ((TQListView*) QtSupport::getQt(env, obj))->setSorting((int) column, (bool) ascending); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setTreeStepSize(JNIEnv* env, jobject obj, jint arg1) { - ((TTQListView*) QtSupport::getQt(env, obj))->setTreeStepSize((int) arg1); + ((TQListView*) QtSupport::getQt(env, obj))->setTreeStepSize((int) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_showEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) QtSupport::getQt(env, arg1)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_showSortIndicator(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQListView*) QtSupport::getQt(env, obj))->showSortIndicator(); + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->showSortIndicator(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_showToolTips(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQListView*) QtSupport::getQt(env, obj))->showToolTips(); + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->showToolTips(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_show(JNIEnv* env, jobject obj) { - ((TTQListView*) QtSupport::getQt(env, obj))->show(); + ((TQListView*) QtSupport::getQt(env, obj))->show(); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_sizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQListView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQListView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_sortColumn(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->sortColumn(); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->sortColumn(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_sortOrder(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->sortOrder(); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->sortOrder(); return xret; } @@ -1418,23 +1418,23 @@ Java_org_kde_qt_QListView_startDrag(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QListView_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) QtSupport::getQt(env, arg1)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_takeItem(JNIEnv* env, jobject obj, jobject arg1) { - ((TTQListView*) QtSupport::getQt(env, obj))->takeItem((TTQListViewItem*) QtSupport::getQt(env, arg1)); + ((TQListView*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TTQString _qstring; + TQString _qstring; (void) cls; -static TTQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg1 = 0; _qstring = TQListViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); return QtSupport::fromTQString(env, &_qstring); } @@ -1442,10 +1442,10 @@ static TTQCString* _qstring_arg1 = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) { - TTQString _qstring; + TQString _qstring; (void) cls; -static TTQCString* _qstring_arg1 = 0; -static TTQCString* _qstring_arg2 = 0; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; _qstring = TQListViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); return QtSupport::fromTQString(env, &_qstring); } @@ -1453,14 +1453,14 @@ static TTQCString* _qstring_arg2 = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_treeStepSize(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->treeStepSize(); + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->treeStepSize(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_triggerUpdate(JNIEnv* env, jobject obj) { - ((TTQListView*) QtSupport::getQt(env, obj))->triggerUpdate(); + ((TQListView*) QtSupport::getQt(env, obj))->triggerUpdate(); return; } @@ -1474,7 +1474,7 @@ Java_org_kde_qt_QListView_updateContents(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QListView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject e) { - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TTQResizeEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); return; } @@ -1488,7 +1488,7 @@ Java_org_kde_qt_QListView_windowActivationChange(JNIEnv* env, jobject obj, jbool JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_itemList(JNIEnv *env, jobject obj) { - TTQListViewItemIterator iterator((TTQListView*) QtSupport::getQt(env, obj)); + TQListViewItemIterator iterator((TQListView*) QtSupport::getQt(env, obj)); return QtSupport::arrayWithTQListViewItemList(env, &iterator); } |