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