diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /qtjava/javalib/qtjava/QMenuBar.cpp | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtjava/javalib/qtjava/QMenuBar.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QMenuBar.cpp | 690 |
1 files changed, 345 insertions, 345 deletions
diff --git a/qtjava/javalib/qtjava/QMenuBar.cpp b/qtjava/javalib/qtjava/QMenuBar.cpp index 7c149047..ed2e0668 100644 --- a/qtjava/javalib/qtjava/QMenuBar.cpp +++ b/qtjava/javalib/qtjava/QMenuBar.cpp @@ -1,15 +1,15 @@ //Auto-generated by kalyptus. DO NOT EDIT. -#include <qrect.h> -#include <qstyle.h> -#include <qstring.h> -#include <qpoint.h> -#include <qsize.h> -#include <qmenudata.h> -#include <qmenubar.h> -#include <qpixmap.h> -#include <qfont.h> -#include <qiconset.h> -#include <qkeysequence.h> +#include <tqrect.h> +#include <tqstyle.h> +#include <tqstring.h> +#include <tqpoint.h> +#include <tqsize.h> +#include <tqmenudata.h> +#include <tqmenubar.h> +#include <tqpixmap.h> +#include <tqfont.h> +#include <tqiconset.h> +#include <tqkeysequence.h> #include <qtjava/QtSupport.h> #include <qtjava/JavaSlot.h> @@ -18,401 +18,401 @@ class QMenuBarJBridge : public QMenuBar { public: - QMenuBarJBridge(QWidget* arg1,const char* arg2) : QMenuBar(arg1,arg2) {}; - QMenuBarJBridge(QWidget* arg1) : QMenuBar(arg1) {}; - QMenuBarJBridge() : QMenuBar() {}; - void protected_drawContents(QPainter* arg1) { - QMenuBar::drawContents(arg1); + QMenuBarJBridge(TQWidget* arg1,const char* arg2) : TQMenuBar(arg1,arg2) {}; + QMenuBarJBridge(TQWidget* arg1) : TQMenuBar(arg1) {}; + QMenuBarJBridge() : TQMenuBar() {}; + void protected_drawContents(TQPainter* arg1) { + TQMenuBar::drawContents(arg1); return; } - void protected_fontChange(const QFont& arg1) { - QMenuBar::fontChange(arg1); + void protected_fontChange(const TQFont& arg1) { + TQMenuBar::fontChange(arg1); return; } - void protected_mousePressEvent(QMouseEvent* arg1) { - QMenuBar::mousePressEvent(arg1); + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQMenuBar::mousePressEvent(arg1); return; } - void protected_mouseReleaseEvent(QMouseEvent* arg1) { - QMenuBar::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQMenuBar::mouseReleaseEvent(arg1); return; } - void protected_mouseMoveEvent(QMouseEvent* arg1) { - QMenuBar::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQMenuBar::mouseMoveEvent(arg1); return; } - void protected_keyPressEvent(QKeyEvent* arg1) { - QMenuBar::keyPressEvent(arg1); + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQMenuBar::keyPressEvent(arg1); return; } - void protected_focusInEvent(QFocusEvent* arg1) { - QMenuBar::focusInEvent(arg1); + void protected_focusInEvent(TQFocusEvent* arg1) { + TQMenuBar::focusInEvent(arg1); return; } - void protected_focusOutEvent(QFocusEvent* arg1) { - QMenuBar::focusOutEvent(arg1); + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQMenuBar::focusOutEvent(arg1); return; } - void protected_resizeEvent(QResizeEvent* arg1) { - QMenuBar::resizeEvent(arg1); + void protected_resizeEvent(TQResizeEvent* arg1) { + TQMenuBar::resizeEvent(arg1); return; } - void protected_leaveEvent(QEvent* arg1) { - QMenuBar::leaveEvent(arg1); + void protected_leaveEvent(TQEvent* arg1) { + TQMenuBar::leaveEvent(arg1); return; } void protected_menuContentsChanged() { - QMenuBar::menuContentsChanged(); + TQMenuBar::menuContentsChanged(); return; } void protected_menuStateChanged() { - QMenuBar::menuStateChanged(); + TQMenuBar::menuStateChanged(); return; } - void protected_styleChange(QStyle& arg1) { - QMenuBar::styleChange(arg1); + void protected_styleChange(TQStyle& arg1) { + TQMenuBar::styleChange(arg1); return; } - int protected_itemAtPos(const QPoint& arg1) { - return (int) QMenuBar::itemAtPos(arg1); + int protected_itemAtPos(const TQPoint& arg1) { + return (int) TQMenuBar::itemAtPos(arg1); } void protected_hidePopups() { - QMenuBar::hidePopups(); + TQMenuBar::hidePopups(); return; } - QRect protected_itemRect(int arg1) { - return (QRect) QMenuBar::itemRect(arg1); + TQRect protected_itemRect(int arg1) { + return (TQRect) TQMenuBar::itemRect(arg1); } ~QMenuBarJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_menuInsPopup(QPopupMenu* arg1) { - QMenuData::menuInsPopup(arg1); + void protected_menuInsPopup(TQPopupMenu* arg1) { + TQMenuData::menuInsPopup(arg1); return; } - void protected_menuDelPopup(QPopupMenu* arg1) { - QMenuData::menuDelPopup(arg1); + void protected_menuDelPopup(TQPopupMenu* arg1) { + TQMenuData::menuDelPopup(arg1); return; } - 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")) { - QMenuBar::resizeEvent(arg1); + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQMenuBar::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")) { - QWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mouseDoubleClickEvent(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 setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QMenuBar","setActiveWindow")) { - QWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","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")) { - QMenuBar::focusOutEvent(arg1); + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQMenuBar::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QMenuBar","setFocus")) { - QWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","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 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 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 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 removeChild(QObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) { - QObject::removeChild(arg1); + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(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 unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QMenuBar","unsetCursor")) { - QWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","unsetCursor")) { + TQWidget::unsetCursor(); } 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.QMenuBar","polish")) { - QWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","polish")) { + TQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QMenuBar","showMaximized")) { - QWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","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")) { - QWidget::showEvent(arg1); + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQWidget::showEvent(arg1); } return; } - void keyPressEvent(QKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.QKeyEvent")) { - QMenuBar::keyPressEvent(arg1); + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQMenuBar::keyPressEvent(arg1); } 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 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 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 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 mouseReleaseEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QMenuBar::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQMenuBar::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 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")) { - QMenuBar::leaveEvent(arg1); + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQMenuBar::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QMenuBar","updateMask")) { - QWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","updateMask")) { + TQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QMenuBar","showNormal")) { - QWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","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 mousePressEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QMenuBar::mousePressEvent(arg1); + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQMenuBar::mousePressEvent(arg1); } return; } - void mouseMoveEvent(QMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) { - QMenuBar::mouseMoveEvent(arg1); + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQMenuBar::mouseMoveEvent(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 adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QMenuBar","adjustSize")) { - QWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","adjustSize")) { + TQWidget::adjustSize(); } return; } - void wheelEvent(QWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.QWheelEvent")) { - QWidget::wheelEvent(arg1); + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQWidget::wheelEvent(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")) { - QMenuBar::focusInEvent(arg1); + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQMenuBar::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 contextMenuEvent(QContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.QContextMenuEvent")) { - QWidget::contextMenuEvent(arg1); + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQWidget::contextMenuEvent(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 showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QMenuBar","showMinimized")) { - QWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","showMinimized")) { + TQWidget::showMinimized(); } return; } @@ -421,67 +421,67 @@ public: JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_accel(JNIEnv* env, jobject obj, jint id) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new QKeySequence(((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.QKeySequence", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TQKeySequence", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_activateItemAt(JNIEnv* env, jobject obj, jint index) { - ((QMenuBar*) QtSupport::getQt(env, obj))->activateItemAt((int) index); + ((TQMenuBar*) QtSupport::getQt(env, obj))->activateItemAt((int) index); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) { -static QString* _qstring_text = 0; - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)); +static TQString* _qstring_text = 0; + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text) { -static QString* _qstring_text = 0; - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)); +static TQString* _qstring_text = 0; + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject icon, jobject pixmap) { - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap)); + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject pixmap) { - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap)); + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) { -static QString* _qstring_text = 0; - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->changeItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id); +static TQString* _qstring_text = 0; + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) id); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) { -static QString* _qstring_text = 0; - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->changeItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id); +static TQString* _qstring_text = 0; + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) id); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) { - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->changeItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id); + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); return; } @@ -489,28 +489,28 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QMenuBar*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TQMenuBar*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_clear(JNIEnv* env, jobject obj) { - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->clear(); + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->clear(); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_count(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->count(); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->count(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_customWhatsThis(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QMenuBar*) QtSupport::getQt(env, obj))->customWhatsThis(); + jboolean xret = (jboolean) ((TQMenuBar*) QtSupport::getQt(env, obj))->customWhatsThis(); return xret; } @@ -524,22 +524,22 @@ Java_org_kde_qt_QMenuBar_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_drawContents(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((QPainter*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) { - jboolean xret = (jboolean) ((QMenuBar*) QtSupport::getQt(env, obj))->eventFilter((QObject*) QtSupport::getQt(env, arg1), (QEvent*) QtSupport::getQt(env, arg2)); + jboolean xret = (jboolean) ((TQMenuBar*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((QWidget*)(QMenuBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (QMenuBar*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQMenuBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQMenuBar*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -548,14 +548,14 @@ Java_org_kde_qt_QMenuBar_finalize(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_findItem(JNIEnv* env, jobject obj, jint id) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.QMenuItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TQMenuItem"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject arg1) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->findPopup((QPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.QMenuItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQMenuItem"); return xret; } @@ -563,7 +563,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, jobject obj, jobject arg1, jintArray index) { int* _int_index = QtSupport::toIntPtr(env, index); - jobject xret = QtSupport::objectForQtKey(env, (void*)((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->findPopup((QPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.QMenuItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TQMenuItem"); env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); return xret; } @@ -571,28 +571,28 @@ Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, job JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((QFocusEvent*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((QFocusEvent*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_fontChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const QFont&)*(const QFont*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_heightForWidth(JNIEnv* env, jobject obj, jint arg1) { - jint xret = (jint) ((QMenuBar*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); + jint xret = (jint) ((TQMenuBar*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); return xret; } @@ -606,374 +606,374 @@ Java_org_kde_qt_QMenuBar_hidePopups(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_hide(JNIEnv* env, jobject obj) { - ((QMenuBar*) QtSupport::getQt(env, obj))->hide(); + ((TQMenuBar*) QtSupport::getQt(env, obj))->hide(); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_iconSet(JNIEnv* env, jobject obj, jint id) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.QIconSet"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TQIconSet"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_idAt(JNIEnv* env, jobject obj, jint index) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->idAt((int) index); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->idAt((int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_indexOf(JNIEnv* env, jobject obj, jint id) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->indexOf((int) id); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->indexOf((int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id, (int) index); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel)); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint id) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jstring text, jobject popup) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup)); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id, jint index) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject custom) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((QCustomMenuItem*) QtSupport::getQt(env, custom)); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject custom, jint id) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((QCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject custom, jint id, jint index) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((QCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id, (int) index); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel)); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id, jint index) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup)); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id, jint index) { -static QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject icon, jobject custom) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (QCustomMenuItem*) QtSupport::getQt(env, custom)); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (QCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id, jint index) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (QCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap)); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id, jint index) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel)); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup)); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id, jint index) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap)); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint id, jint index) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel)); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pixmap, jobject popup) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup)); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id, jint index) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((QWidget*) QtSupport::getQt(env, widget)); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint id) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((QWidget*) QtSupport::getQt(env, widget), (int) id); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject widget, jint id, jint index) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertItem((QWidget*) QtSupport::getQt(env, widget), (int) id, (int) index); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertSeparator__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertSeparator(); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertSeparator(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertSeparator__I(JNIEnv* env, jobject obj, jint index) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->insertSeparator((int) index); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertSeparator((int) index); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isDefaultUp(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QMenuBar*) QtSupport::getQt(env, obj))->isDefaultUp(); + jboolean xret = (jboolean) ((TQMenuBar*) QtSupport::getQt(env, obj))->isDefaultUp(); return xret; } @@ -986,63 +986,63 @@ Java_org_kde_qt_QMenuBar_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isItemActive(JNIEnv* env, jobject obj, jint id) { - jboolean xret = (jboolean) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->isItemActive((int) id); + jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->isItemActive((int) id); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isItemChecked(JNIEnv* env, jobject obj, jint id) { - jboolean xret = (jboolean) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->isItemChecked((int) id); + jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->isItemChecked((int) id); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isItemEnabled(JNIEnv* env, jobject obj, jint id) { - jboolean xret = (jboolean) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->isItemEnabled((int) id); + jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->isItemEnabled((int) id); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isItemVisible(JNIEnv* env, jobject obj, jint id) { - jboolean xret = (jboolean) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->isItemVisible((int) id); + jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->isItemVisible((int) id); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_itemAtPos(JNIEnv* env, jobject obj, jobject arg1) { - jint xret = (jint) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const QPoint&)*(const QPoint*) QtSupport::getQt(env, arg1)); + jint xret = (jint) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_itemParameter(JNIEnv* env, jobject obj, jint id) { - jint xret = (jint) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->itemParameter((int) id); + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->itemParameter((int) id); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_itemRect(JNIEnv* env, jobject obj, jint item) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemRect((int) item)), "org.kde.qt.QRect", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemRect((int) item)), "org.kde.qt.TQRect", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((QKeyEvent*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((QEvent*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); return; } @@ -1056,14 +1056,14 @@ Java_org_kde_qt_QMenuBar_menuContentsChanged(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((QPopupMenu*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuInsPopup(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((QPopupMenu*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); return; } @@ -1077,42 +1077,42 @@ Java_org_kde_qt_QMenuBar_menuStateChanged(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QMenuBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_minimumSizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QMenuBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.QSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMenuBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_minimumSize(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QMenuBar*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.QSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMenuBar*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((QMouseEvent*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((QMouseEvent*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((QMouseEvent*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); return; } @@ -1130,7 +1130,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_newQMenuBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMenuBarJBridge((QWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new QMenuBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1139,9 +1139,9 @@ Java_org_kde_qt_QMenuBar_newQMenuBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_newQMenuBar__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 QMenuBarJBridge((QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new QMenuBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1150,137 +1150,137 @@ static QCString* _qstring_name = 0; JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_pixmap(JNIEnv* env, jobject obj, jint id) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.QPixmap"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TQPixmap"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_removeItemAt(JNIEnv* env, jobject obj, jint index) { - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->removeItemAt((int) index); + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->removeItemAt((int) index); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_removeItem(JNIEnv* env, jobject obj, jint id) { - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->removeItem((int) id); + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->removeItem((int) id); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((QResizeEvent*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_separator(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QMenuBar*) QtSupport::getQt(env, obj))->separator(); + jint xret = (jint) ((TQMenuBar*) QtSupport::getQt(env, obj))->separator(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setAccel(JNIEnv* env, jobject obj, jobject key, jint id) { - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->setAccel((const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, key), (int) id); + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key), (int) id); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setDefaultUp(JNIEnv* env, jobject obj, jboolean arg1) { - ((QMenuBar*) QtSupport::getQt(env, obj))->setDefaultUp((bool) arg1); + ((TQMenuBar*) QtSupport::getQt(env, obj))->setDefaultUp((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setId(JNIEnv* env, jobject obj, jint index, jint id) { - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->setId((int) index, (int) id); + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setId((int) index, (int) id); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setItemChecked(JNIEnv* env, jobject obj, jint id, jboolean check) { - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) check); + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) check); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enable) { - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable); + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_setItemParameter(JNIEnv* env, jobject obj, jint id, jint param) { - jboolean xret = (jboolean) ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) param); + jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) param); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setItemVisible(JNIEnv* env, jobject obj, jint id, jboolean visible) { - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) visible); + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) visible); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setSeparator(JNIEnv* env, jobject obj, jint when) { - ((QMenuBar*) QtSupport::getQt(env, obj))->setSeparator((QMenuBar::Separator) when); + ((TQMenuBar*) QtSupport::getQt(env, obj))->setSeparator((TQMenuBar::Separator) when); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setWhatsThis(JNIEnv* env, jobject obj, jint id, jstring arg2) { -static QString* _qstring_arg2 = 0; - ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const QString&)*(QString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TQString* _qstring_arg2 = 0; + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_show(JNIEnv* env, jobject obj) { - ((QMenuBar*) QtSupport::getQt(env, obj))->show(); + ((TQMenuBar*) QtSupport::getQt(env, obj))->show(); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_sizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QMenuBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.QSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMenuBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((QStyle&)*(QStyle*) QtSupport::getQt(env, arg1)); + ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_text(JNIEnv* env, jobject obj, jint id) { - QString _qstring; - _qstring = ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->text((int) id); + TQString _qstring; + _qstring = ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->text((int) id); return QtSupport::fromQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_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 = QMenuBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); return QtSupport::fromQString(env, &_qstring); } @@ -1288,10 +1288,10 @@ static QCString* _qstring_arg1 = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_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 = QMenuBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); return QtSupport::fromQString(env, &_qstring); } @@ -1299,15 +1299,15 @@ static QCString* _qstring_arg2 = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_updateItem(JNIEnv* env, jobject obj, jint id) { - ((QMenuBar*) QtSupport::getQt(env, obj))->updateItem((int) id); + ((TQMenuBar*) QtSupport::getQt(env, obj))->updateItem((int) id); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_whatsThis(JNIEnv* env, jobject obj, jint id) { - QString _qstring; - _qstring = ((QMenuData*)(QMenuBar*) QtSupport::getQt(env, obj))->whatsThis((int) id); + TQString _qstring; + _qstring = ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->whatsThis((int) id); return QtSupport::fromQString(env, &_qstring); } @@ -1335,7 +1335,7 @@ Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Lja JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member) { -static QString * _qstring_text = 0; +static TQString * _qstring_text = 0; jint identifier = Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(env, obj, icon, text, -1, -1); Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member); |