diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QListView.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QListView.cpp | 854 |
1 files changed, 427 insertions, 427 deletions
diff --git a/qtjava/javalib/qtjava/QListView.cpp b/qtjava/javalib/qtjava/QListView.cpp index f4be4d7e..fe85dcca 100644 --- a/qtjava/javalib/qtjava/QListView.cpp +++ b/qtjava/javalib/qtjava/QListView.cpp @@ -1,14 +1,14 @@ //Auto-generated by kalyptus. DO NOT EDIT. -#include <qrect.h> -#include <qstyle.h> -#include <qstring.h> -#include <qpoint.h> -#include <qlistview.h> -#include <qpalette.h> -#include <qsize.h> -#include <qfont.h> -#include <qiconset.h> -#include <qnamespace.h> +#include <tqrect.h> +#include <tqstyle.h> +#include <tqstring.h> +#include <tqpoint.h> +#include <tqlistview.h> +#include <tqpalette.h> +#include <tqsize.h> +#include <tqfont.h> +#include <tqiconset.h> +#include <tqnamespace.h> #include <qtjava/QtSupport.h> #include <qtjava/QListView.h> @@ -16,355 +16,355 @@ class QListViewJBridge : public QListView { public: - QListViewJBridge(QWidget* arg1,const char* arg2,Qt::WFlags arg3) : QListView(arg1,arg2,arg3) {}; - QListViewJBridge(QWidget* arg1,const char* arg2) : QListView(arg1,arg2) {}; - QListViewJBridge(QWidget* arg1) : QListView(arg1) {}; - QListViewJBridge() : QListView() {}; + 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() {}; void public_clearSelection() { - QListView::clearSelection(); + TQListView::clearSelection(); return; } void public_sort() { - QListView::sort(); + TQListView::sort(); return; } void public_clear() { - QListView::clear(); + TQListView::clear(); return; } void public_invertSelection() { - QListView::invertSelection(); + TQListView::invertSelection(); return; } - void protected_contentsMousePressEvent(QMouseEvent* arg1) { - QListView::contentsMousePressEvent(arg1); + void protected_contentsMousePressEvent(TQMouseEvent* arg1) { + TQListView::contentsMousePressEvent(arg1); return; } - void protected_contentsMouseReleaseEvent(QMouseEvent* arg1) { - QListView::contentsMouseReleaseEvent(arg1); + void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { + TQListView::contentsMouseReleaseEvent(arg1); return; } - void protected_contentsMouseMoveEvent(QMouseEvent* arg1) { - QListView::contentsMouseMoveEvent(arg1); + void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { + TQListView::contentsMouseMoveEvent(arg1); return; } - void protected_contentsMouseDoubleClickEvent(QMouseEvent* arg1) { - QListView::contentsMouseDoubleClickEvent(arg1); + void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + TQListView::contentsMouseDoubleClickEvent(arg1); return; } - void protected_contentsContextMenuEvent(QContextMenuEvent* arg1) { - QListView::contentsContextMenuEvent(arg1); + void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { + TQListView::contentsContextMenuEvent(arg1); return; } - void protected_contentsDragEnterEvent(QDragEnterEvent* arg1) { - QListView::contentsDragEnterEvent(arg1); + void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { + TQListView::contentsDragEnterEvent(arg1); return; } - void protected_contentsDragMoveEvent(QDragMoveEvent* arg1) { - QListView::contentsDragMoveEvent(arg1); + void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { + TQListView::contentsDragMoveEvent(arg1); return; } - void protected_contentsDragLeaveEvent(QDragLeaveEvent* arg1) { - QListView::contentsDragLeaveEvent(arg1); + void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + TQListView::contentsDragLeaveEvent(arg1); return; } - void protected_contentsDropEvent(QDropEvent* arg1) { - QListView::contentsDropEvent(arg1); + void protected_contentsDropEvent(TQDropEvent* arg1) { + TQListView::contentsDropEvent(arg1); return; } - QDragObject* protected_dragObject() { - return (QDragObject*) QListView::dragObject(); + TQDragObject* protected_dragObject() { + return (TQDragObject*) TQListView::dragObject(); } void protected_startDrag() { - QListView::startDrag(); + TQListView::startDrag(); return; } - void protected_focusInEvent(QFocusEvent* arg1) { - QListView::focusInEvent(arg1); + void protected_focusInEvent(TQFocusEvent* arg1) { + TQListView::focusInEvent(arg1); return; } - void protected_focusOutEvent(QFocusEvent* arg1) { - QListView::focusOutEvent(arg1); + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQListView::focusOutEvent(arg1); return; } - void protected_keyPressEvent(QKeyEvent* arg1) { - QListView::keyPressEvent(arg1); + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQListView::keyPressEvent(arg1); return; } - void protected_resizeEvent(QResizeEvent* arg1) { - QListView::resizeEvent(arg1); + void protected_resizeEvent(TQResizeEvent* arg1) { + TQListView::resizeEvent(arg1); return; } - void protected_viewportResizeEvent(QResizeEvent* arg1) { - QListView::viewportResizeEvent(arg1); + void protected_viewportResizeEvent(TQResizeEvent* arg1) { + TQListView::viewportResizeEvent(arg1); return; } - void protected_showEvent(QShowEvent* arg1) { - QListView::showEvent(arg1); + void protected_showEvent(TQShowEvent* arg1) { + TQListView::showEvent(arg1); return; } - void protected_drawContentsOffset(QPainter* arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { - QListView::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(QPainter* arg1,const QRect& arg2) { - QListView::paintEmptyArea(arg1,arg2); + void protected_paintEmptyArea(TQPainter* arg1,const TQRect& arg2) { + TQListView::paintEmptyArea(arg1,arg2); return; } - void protected_styleChange(QStyle& arg1) { - QListView::styleChange(arg1); + void protected_styleChange(TQStyle& arg1) { + TQListView::styleChange(arg1); return; } void protected_windowActivationChange(bool arg1) { - QListView::windowActivationChange(arg1); + TQListView::windowActivationChange(arg1); return; } void protected_updateContents() { - QListView::updateContents(); + TQListView::updateContents(); return; } void protected_doAutoScroll() { - QListView::doAutoScroll(); + TQListView::doAutoScroll(); return; } ~QListViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(QDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.QDragLeaveEvent")) { - QWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const QRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.QRegion")) { - QWidget::setMask(arg1); + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); } return; } - void resizeEvent(QResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.QResizeEvent")) { - QListView::resizeEvent(arg1); + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQListView::resizeEvent(arg1); } return; } - void setFrameRect(const QRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.QRect")) { - QFrame::setFrameRect(arg1); + void setFrameRect(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { + TQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QScrollView::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseDoubleClickEvent(arg1); } return; } - void removeItem(QListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.QListViewItem")) { - QListView::removeItem(arg1); + void removeItem(TQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { + TQListView::removeItem(arg1); } return; } - void paletteChange(const QPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.QPalette")) { - QWidget::paletteChange(arg1); + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QListView::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQListView::contentsMouseReleaseEvent(arg1); } return; } - void viewportPaintEvent(QPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.QPaintEvent")) { - QScrollView::viewportPaintEvent(arg1); + void viewportPaintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQScrollView::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseReleaseEvent(arg1); } return; } - void contentsDragLeaveEvent(QDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.QDragLeaveEvent")) { - QListView::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.QListView","setActiveWindow")) { - QWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","setActiveWindow")) { + TQWidget::setActiveWindow(); } return; } - void dragEnterEvent(QDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.QDragEnterEvent")) { - QWidget::dragEnterEvent(arg1); + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(QFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.QFocusEvent")) { - QListView::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.QListView","setFocus")) { - QWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","setFocus")) { + TQWidget::setFocus(); } return; } - void dragMoveEvent(QDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.QDragMoveEvent")) { - QWidget::dragMoveEvent(arg1); + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); } return; } - void insertItem(QListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.qt.QListViewItem")) { - QListView::insertItem(arg1); + void insertItem(TQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { + TQListView::insertItem(arg1); } return; } - void drawFrame(QPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.QPainter")) { - QFrame::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.QListView","hide")) { - QWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","hide")) { + TQWidget::hide(); } return; } - void setPaletteBackgroundColor(const QColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.QColor")) { - QWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(QResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.QResizeEvent")) { - QListView::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.QListView","sort")) { - QListView::sort(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","sort")) { + TQListView::sort(); } return; } - void setPalette(const QPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.QPalette")) { - QListView::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 QColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.QColor")) { - QWidget::setEraseColor(arg1); + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); } return; } - void paintEvent(QPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.QPaintEvent")) { - QFrame::paintEvent(arg1); + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQFrame::paintEvent(arg1); } return; } - void imStartEvent(QIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.QIMEvent")) { - QWidget::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.QListView","clear")) { - QListView::clear(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","clear")) { + TQListView::clear(); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QListView","unsetCursor")) { - QWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","unsetCursor")) { + TQWidget::unsetCursor(); } return; } - void contentsDropEvent(QDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.QDropEvent")) { - QListView::contentsDropEvent(arg1); + void contentsDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQListView::contentsDropEvent(arg1); } return; } - void hideEvent(QHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.QHideEvent")) { - QWidget::hideEvent(arg1); + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); } return; } - void moveEvent(QMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.QMoveEvent")) { - QWidget::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.QListView","polish")) { - QWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","polish")) { + TQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QListView","showMaximized")) { - QWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","showMaximized")) { + TQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const QPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.QPixmap")) { - QWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(QShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.QShowEvent")) { - QListView::showEvent(arg1); + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQListView::showEvent(arg1); } return; } - void viewportContextMenuEvent(QContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.QContextMenuEvent")) { - QScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::viewportContextMenuEvent(arg1); } return; } - void viewportDragEnterEvent(QDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.QDragEnterEvent")) { - QScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQScrollView::viewportDragEnterEvent(arg1); } return; } - void takeItem(QListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.QListViewItem")) { - QListView::takeItem(arg1); + void takeItem(TQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { + TQListView::takeItem(arg1); } return; } - void keyPressEvent(QKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.QKeyEvent")) { - QListView::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.QListView","clearSelection")) { - QListView::clearSelection(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","clearSelection")) { + TQListView::clearSelection(); } return; } - void setPaletteBackgroundPixmap(const QPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.QPixmap")) { - QWidget::setPaletteBackgroundPixmap(arg1); + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(QWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.QWidget")) { - QScrollView::setCornerWidget(arg1); + void setCornerWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(QDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.QDragEnterEvent")) { - QListView::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQListView::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(QWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.QWheelEvent")) { - QScrollView::contentsWheelEvent(arg1); + void contentsWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::contentsWheelEvent(arg1); } return; } - void setCursor(const QCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.QCursor")) { - QWidget::setCursor(arg1); + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); } return; } - void closeEvent(QCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.QCloseEvent")) { - QWidget::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.QListView","startDrag")) { - QListView::startDrag(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","startDrag")) { + TQListView::startDrag(); } return; } - void setFont(const QFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.QFont")) { - QListView::setFont(arg1); + void setFont(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { + TQListView::setFont(arg1); } return; } - void customEvent(QCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) { - QObject::customEvent(arg1); + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(QDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.QDragMoveEvent")) { - QListView::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQListView::contentsDragMoveEvent(arg1); } return; } - void enterEvent(QEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.QEvent")) { - QWidget::enterEvent(arg1); + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::enterEvent(arg1); } return; } - void timerEvent(QTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) { - QObject::timerEvent(arg1); + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QListView::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQListView::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QScrollView::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const QPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.QPixmap")) { - QWidget::setErasePixmap(arg1); + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); } return; } - void childEvent(QChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) { - QObject::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.QListView","invertSelection")) { - QListView::invertSelection(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","invertSelection")) { + TQListView::invertSelection(); } return; } - void dropEvent(QDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.QDropEvent")) { - QWidget::dropEvent(arg1); + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); } return; } - void leaveEvent(QEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.QEvent")) { - QWidget::leaveEvent(arg1); + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::leaveEvent(arg1); } return; } - void setIcon(const QPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.QPixmap")) { - QWidget::setIcon(arg1); + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setIcon(arg1); } return; } - void contentsMousePressEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QListView::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.QListView","updateMask")) { - QWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","updateMask")) { + TQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QListView","showNormal")) { - QWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","showNormal")) { + TQWidget::showNormal(); } return; } - void imComposeEvent(QIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.QIMEvent")) { - QWidget::imComposeEvent(arg1); + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imComposeEvent(arg1); } return; } - void viewportWheelEvent(QWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.QWheelEvent")) { - QScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QScrollView::mousePressEvent(arg1); + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mousePressEvent(arg1); } return; } - void mouseMoveEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QScrollView::mouseMoveEvent(arg1); + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(QWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.QWidget")) { - QWidget::setFocusProxy(arg1); + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const QColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.QColor")) { - QWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(QDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.QDropEvent")) { - QScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(QDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.QDragMoveEvent")) { - QScrollView::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.QListView","adjustSize")) { - QWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","adjustSize")) { + TQWidget::adjustSize(); } return; } - void wheelEvent(QWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.QWheelEvent")) { - QScrollView::wheelEvent(arg1); + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::wheelEvent(arg1); } return; } - void setCurrentItem(QListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.QListViewItem")) { - QListView::setCurrentItem(arg1); + void setCurrentItem(TQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { + TQListView::setCurrentItem(arg1); } return; } - void imEndEvent(QIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.QIMEvent")) { - QWidget::imEndEvent(arg1); + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imEndEvent(arg1); } return; } - void insertChild(QObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) { - QObject::insertChild(arg1); + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); } return; } - void focusInEvent(QFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.QFocusEvent")) { - QListView::focusInEvent(arg1); + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQListView::focusInEvent(arg1); } return; } - void tabletEvent(QTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.QTabletEvent")) { - QWidget::tabletEvent(arg1); + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(QKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.QKeyEvent")) { - QWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); } return; } - void contentsMouseDoubleClickEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QListView::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQListView::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(QContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.QContextMenuEvent")) { - QScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::contextMenuEvent(arg1); } return; } - void viewportDragLeaveEvent(QDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.QDragLeaveEvent")) { - QScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(QContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.QContextMenuEvent")) { - QListView::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQListView::contentsContextMenuEvent(arg1); } return; } - void setGeometry(const QRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.QRect")) { - QWidget::setGeometry(arg1); + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); } return; } - void viewportMousePressEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QScrollView::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.QListView","showMinimized")) { - QWidget::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 QString* _qstring_label = 0; - jint xret = (jint) ((QListView*) QtSupport::getQt(env, obj))->addColumn((const QString&)*(QString*) QtSupport::toQString(env, label, &_qstring_label)); +static TQString* _qstring_label = 0; + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toQString(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 QString* _qstring_label = 0; - jint xret = (jint) ((QListView*) QtSupport::getQt(env, obj))->addColumn((const QString&)*(QString*) QtSupport::toQString(env, label, &_qstring_label), (int) 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); 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 QString* _qstring_label = 0; - jint xret = (jint) ((QListView*) QtSupport::getQt(env, obj))->addColumn((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, iconset), (const QString&)*(QString*) QtSupport::toQString(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::toQString(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 QString* _qstring_label = 0; - jint xret = (jint) ((QListView*) QtSupport::getQt(env, obj))->addColumn((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, iconset), (const QString&)*(QString*) QtSupport::toQString(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::toQString(env, label, &_qstring_label), (int) size); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_adjustColumn(JNIEnv* env, jobject obj, jint col) { - ((QListView*) 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) ((QListView*) 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) ((QListView*) 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 = ((QListView*) 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) ((QListView*) 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) { - QString _qstring; - _qstring = ((QListView*) QtSupport::getQt(env, obj))->columnText((int) column); + TQString _qstring; + _qstring = ((TQListView*) QtSupport::getQt(env, obj))->columnText((int) column); return QtSupport::fromQString(env, &_qstring); } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columnWidthMode(JNIEnv* env, jobject obj, jint column) { - jint xret = (jint) ((QListView*) 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) ((QListView*) 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) ((QListView*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((QContextMenuEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((QDragEnterEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((QDragLeaveEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((QDragMoveEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((QDropEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((QMouseEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((QMouseEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((QMouseEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((QMouseEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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*)((QListView*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.QListViewItem"); + 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) ((QListView*) 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*)((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.QDragObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((QListViewJBridge*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((QPainter*) QtSupport::getQt(env, arg1), (int) ox, (int) oy, (int) cx, (int) cy, (int) cw, (int) 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); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_ensureItemVisible(JNIEnv* env, jobject obj, jobject arg1) { - ((QListView*) QtSupport::getQt(env, obj))->ensureItemVisible((const QListViewItem*) 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) ((QListView*) QtSupport::getQt(env, obj))->eventFilter((QObject*) QtSupport::getQt(env, o), (QEvent*) 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) && ((QWidget*)(QListView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (QListView*)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 QString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((QListView*) QtSupport::getQt(env, obj))->findItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) column), "org.kde.qt.QListViewItem"); +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"); 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 QString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((QListView*) QtSupport::getQt(env, obj))->findItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) column, (Qt::ComparisonFlags) compare), "org.kde.qt.QListViewItem"); +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"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_firstChild(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QListView*) QtSupport::getQt(env, obj))->firstChild(), "org.kde.qt.QListViewItem"); + 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((QFocusEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((QFocusEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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*)((QListView*) QtSupport::getQt(env, obj))->header(), "org.kde.qt.QHeader"); + 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) { - ((QListView*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->insertItem((QListViewItem*) 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) ((QListView*) 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) ((QListView*) QtSupport::getQt(env, obj))->isOpen((const QListViewItem*) 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) ((QListView*) 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) ((QListView*) QtSupport::getQt(env, obj))->isSelected((const QListViewItem*) 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*)((QListView*) QtSupport::getQt(env, obj))->itemAt((const QPoint&)*(const QPoint*) QtSupport::getQt(env, screenPos)), "org.kde.qt.QListViewItem"); + 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) ((QListView*) 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) ((QListView*) QtSupport::getQt(env, obj))->itemPos((const QListViewItem*) 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 QRect(((QListView*) QtSupport::getQt(env, obj))->itemRect((const QListViewItem*) QtSupport::getQt(env, arg1))), "org.kde.qt.QRect", 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((QKeyEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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*)((QListView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.QListViewItem"); + 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*)((QListView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject"); + 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 QSize(((QListView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.QSize", 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_newQListView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewJBridge((QWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new QListViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1079,9 +1079,9 @@ Java_org_kde_qt_QListView_newQListView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobje 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) { -static QCString* _qstring_name = 0; +static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewJBridge((QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new QListViewJBridge((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 QCString* _qstring_name = 0; 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) { -static QCString* _qstring_name = 0; +static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewJBridge((QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new QListViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1101,303 +1101,303 @@ static QCString* _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((QPainter*) QtSupport::getQt(env, arg1), (const QRect&)*(const QRect*) QtSupport::getQt(env, arg2)); + ((QListViewJBridge*) 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) { - ((QListView*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->removeItem((QListViewItem*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->repaintItem((const QListViewItem*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((QResizeEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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) ((QListView*) 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) ((QListView*) 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) { - ((QListView*) 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*)((QListView*) QtSupport::getQt(env, obj))->selectedItem(), "org.kde.qt.QListViewItem"); + 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) ((QListView*) 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) { - ((QListView*) 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) { - ((QListView*) 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 QString* _qstring_label = 0; - ((QListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const QString&)*(QString*) QtSupport::toQString(env, label, &_qstring_label)); +static TQString* _qstring_label = 0; + ((TQListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const TQString&)*(TQString*) QtSupport::toQString(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 QString* _qstring_label = 0; - ((QListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, iconset), (const QString&)*(QString*) QtSupport::toQString(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::toQString(env, label, &_qstring_label)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnWidthMode(JNIEnv* env, jobject obj, jint column, jint arg2) { - ((QListView*) QtSupport::getQt(env, obj))->setColumnWidthMode((int) column, (QListView::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) { - ((QListView*) 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) { - ((QListView*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->setCurrentItem((QListViewItem*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->setDefaultRenameAction((QListView::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) { - ((QListView*) QtSupport::getQt(env, obj))->setFont((const QFont&)*(const QFont*) 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) { - ((QListView*) 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) { - ((QListView*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->setOpen((QListViewItem*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->setPalette((const QPalette&)*(const QPalette*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->setResizeMode((QListView::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) { - ((QListView*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->setSelected((QListViewItem*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->setSelectionAnchor((QListViewItem*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->setSelectionMode((QListView::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) { - ((QListView*) 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) { - ((QListView*) 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) { - ((QListView*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->setSortOrder((Qt::SortOrder) order); + ((TQListView*) QtSupport::getQt(env, obj))->setSortOrder((Qt::SortOrder) order); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSorting__I(JNIEnv* env, jobject obj, jint column) { - ((QListView*) 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) { - ((QListView*) 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) { - ((QListView*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((QShowEvent*) QtSupport::getQt(env, arg1)); + ((QListViewJBridge*) 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) ((QListView*) 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) ((QListView*) 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) { - ((QListView*) 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 QSize(((QListView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.QSize", 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) ((QListView*) 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) ((QListView*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((QStyle&)*(QStyle*) QtSupport::getQt(env, arg1)); + ((QListViewJBridge*) 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) { - ((QListView*) QtSupport::getQt(env, obj))->takeItem((QListViewItem*) 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) { - QString _qstring; + TQString _qstring; (void) cls; -static QCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg1 = 0; _qstring = QListViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); return QtSupport::fromQString(env, &_qstring); } @@ -1442,10 +1442,10 @@ static QCString* _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) { - QString _qstring; + TQString _qstring; (void) cls; -static QCString* _qstring_arg1 = 0; -static QCString* _qstring_arg2 = 0; +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); } @@ -1453,14 +1453,14 @@ static QCString* _qstring_arg2 = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_treeStepSize(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QListView*) 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) { - ((QListView*) 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((QResizeEvent*) QtSupport::getQt(env, e)); + ((QListViewJBridge*) 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) { - QListViewItemIterator iterator((QListView*) QtSupport::getQt(env, obj)); + TQListViewItemIterator iterator((TQListView*) QtSupport::getQt(env, obj)); return QtSupport::arrayWithQListViewItemList(env, &iterator); } |