diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QScrollView.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QScrollView.cpp | 1537 |
1 files changed, 0 insertions, 1537 deletions
diff --git a/qtjava/javalib/qtjava/QScrollView.cpp b/qtjava/javalib/qtjava/QScrollView.cpp deleted file mode 100644 index 70c13715..00000000 --- a/qtjava/javalib/qtjava/QScrollView.cpp +++ /dev/null @@ -1,1537 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqrect.h> -#include <tqstyle.h> -#include <tqstring.h> -#include <tqscrollbar.h> -#include <tqpoint.h> -#include <tqsize.h> -#include <tqscrollview.h> -#include <tqfont.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <qtjava/QScrollView.h> - -class TQScrollViewJBridge : public TQScrollView -{ -public: - TQScrollViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQScrollView(arg1,arg2,arg3) {}; - TQScrollViewJBridge(TQWidget* arg1,const char* arg2) : TQScrollView(arg1,arg2) {}; - TQScrollViewJBridge(TQWidget* arg1) : TQScrollView(arg1) {}; - TQScrollViewJBridge() : TQScrollView() {}; - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQScrollView::drawContents(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_drawContentsOffset(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { - TQScrollView::drawContentsOffset(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQScrollView::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TQScrollView::contentsMouseReleaseEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TQScrollView::contentsMouseMoveEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TQScrollView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TQScrollView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQScrollView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TQScrollView::contentsDropEvent(arg1); - return; - } - void protected_contentsWheelEvent(TQWheelEvent* arg1) { - TQScrollView::contentsWheelEvent(arg1); - return; - } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQScrollView::contentsContextMenuEvent(arg1); - return; - } - void protected_viewportPaintEvent(TQPaintEvent* arg1) { - TQScrollView::viewportPaintEvent(arg1); - return; - } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TQScrollView::viewportResizeEvent(arg1); - return; - } - void protected_viewportMousePressEvent(TQMouseEvent* arg1) { - TQScrollView::viewportMousePressEvent(arg1); - return; - } - void protected_viewportMouseReleaseEvent(TQMouseEvent* arg1) { - TQScrollView::viewportMouseReleaseEvent(arg1); - return; - } - void protected_viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - return; - } - void protected_viewportMouseMoveEvent(TQMouseEvent* arg1) { - TQScrollView::viewportMouseMoveEvent(arg1); - return; - } - void protected_viewportDragEnterEvent(TQDragEnterEvent* arg1) { - TQScrollView::viewportDragEnterEvent(arg1); - return; - } - void protected_viewportDragMoveEvent(TQDragMoveEvent* arg1) { - TQScrollView::viewportDragMoveEvent(arg1); - return; - } - void protected_viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQScrollView::viewportDragLeaveEvent(arg1); - return; - } - void protected_viewportDropEvent(TQDropEvent* arg1) { - TQScrollView::viewportDropEvent(arg1); - return; - } - void protected_viewportWheelEvent(TQWheelEvent* arg1) { - TQScrollView::viewportWheelEvent(arg1); - return; - } - void protected_viewportContextMenuEvent(TQContextMenuEvent* arg1) { - TQScrollView::viewportContextMenuEvent(arg1); - return; - } - void protected_frameChanged() { - TQScrollView::frameChanged(); - return; - } - void protected_setMargins(int arg1,int arg2,int arg3,int arg4) { - TQScrollView::setMargins(arg1,arg2,arg3,arg4); - return; - } - int protected_leftMargin() { - return (int) TQScrollView::leftMargin(); - } - int protected_topMargin() { - return (int) TQScrollView::topMargin(); - } - int protected_rightMargin() { - return (int) TQScrollView::rightMargin(); - } - int protected_bottomMargin() { - return (int) TQScrollView::bottomMargin(); - } - bool protected_focusNextPrevChild(bool arg1) { - return (bool) TQScrollView::focusNextPrevChild(arg1); - } - void protected_setHBarGeometry(TQScrollBar& arg1,int arg2,int arg3,int arg4,int arg5) { - TQScrollView::setHBarGeometry(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_setVBarGeometry(TQScrollBar& arg1,int arg2,int arg3,int arg4,int arg5) { - TQScrollView::setVBarGeometry(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQScrollView::resizeEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQScrollView::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQScrollView::mouseReleaseEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQScrollView::mouseDoubleClickEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQScrollView::mouseMoveEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQScrollView::wheelEvent(arg1); - return; - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQScrollView::contextMenuEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQScrollView::eventFilter(arg1,arg2); - } - void protected_setCachedSizeHint(const TQSize& arg1) { - TQScrollView::setCachedSizeHint(arg1); - return; - } - TQSize protected_cachedSizeHint() { - return (TQSize) TQScrollView::cachedSizeHint(); - } - void protected_fontChange(const TQFont& arg1) { - TQScrollView::fontChange(arg1); - return; - } - ~TQScrollViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - 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.TQScrollView","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject child) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->addChild((TQWidget*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject child, jint x) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->addChild((TQWidget*) QtSupport::getQt(env, child), (int) x); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject child, jint x, jint y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->addChild((TQWidget*) QtSupport::getQt(env, child), (int) x, (int) y); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_bottomMargin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_bottomMargin(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_cachedSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_cachedSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_center__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->center((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_center__IIFF(JNIEnv* env, jobject obj, jint x, jint y, jfloat xmargin, jfloat ymargin) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->center((int) x, (int) y, (float) xmargin, (float) ymargin); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_childIsVisible(JNIEnv* env, jobject obj, jobject child) -{ - jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->childIsVisible((TQWidget*) QtSupport::getQt(env, child)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_childX(JNIEnv* env, jobject obj, jobject child) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->childX((TQWidget*) QtSupport::getQt(env, child)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_childY(JNIEnv* env, jobject obj, jobject child) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->childY((TQWidget*) QtSupport::getQt(env, child)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QScrollView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQScrollView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_clipper(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->clipper(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsDropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_contentsHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->contentsHeight(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsToViewport__II_3I_3I(JNIEnv* env, jobject obj, jint x, jint y, jintArray vx, jintArray vy) -{ - int* _int_vx = QtSupport::toIntPtr(env, vx); - int* _int_vy = QtSupport::toIntPtr(env, vy); - ((TQScrollView*) QtSupport::getQt(env, obj))->contentsToViewport((int) x, (int) y, (int&) *_int_vx, (int&) *_int_vy); - env->SetIntArrayRegion(vx, 0, 1, (jint *) _int_vx); - env->SetIntArrayRegion(vy, 0, 1, (jint *) _int_vy); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_contentsToViewport__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQScrollView*) QtSupport::getQt(env, obj))->contentsToViewport((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsWheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_contentsWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->contentsWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_contentsX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->contentsX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_contentsY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->contentsY(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_cornerWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->cornerWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_disableSizeHintCaching(JNIEnv* env, jobject obj) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->disableSizeHintCaching(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QScrollView_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_dragAutoScroll(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->dragAutoScroll(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_drawContentsOffset(JNIEnv* env, jobject obj, jobject arg1, jint ox, jint oy, jint cx, jint cy, jint cw, jint ch) -{ - ((TQScrollViewJBridge*) 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_QScrollView_drawContents(JNIEnv* env, jobject obj, jobject arg1, jint cx, jint cy, jint cw, jint ch) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1), (int) cx, (int) cy, (int) cw, (int) ch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_enableClipper(JNIEnv* env, jobject obj, jboolean y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->enableClipper((bool) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_ensureVisible__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->ensureVisible((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_ensureVisible__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint xmargin, jint ymargin) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->ensureVisible((int) x, (int) y, (int) xmargin, (int) ymargin); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject e) -{ - jboolean xret = (jboolean) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQScrollView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQScrollView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) -{ - jboolean xret = (jboolean) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_fontChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_frameChanged(JNIEnv* env, jobject obj) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_hScrollBarMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->hScrollBarMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_hasStaticBackground(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->hasStaticBackground(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_horizontalScrollBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->horizontalScrollBar(), "org.kde.qt.TQScrollBar"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_isHorizontalSliderPressed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->isHorizontalSliderPressed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_isVerticalSliderPressed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->isVerticalSliderPressed(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_leftMargin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_leftMargin(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_moveChild(JNIEnv* env, jobject obj, jobject child, jint x, jint y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->moveChild((TQWidget*) QtSupport::getQt(env, child), (int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_newTQScrollView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQScrollViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_newTQScrollView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQScrollViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_newTQScrollView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQScrollViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_newTQScrollView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQScrollViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_removeChild__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject child) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->removeChild((TQObject*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_removeChild__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject child) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->removeChild((TQWidget*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_repaintContents__(JNIEnv* env, jobject obj) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_repaintContents__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_repaintContents__IIIIZ(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jboolean erase) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((int) x, (int) y, (int) w, (int) h, (bool) erase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_repaintContents__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_repaintContents__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject r, jboolean erase) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (bool) erase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_repaintContents__Z(JNIEnv* env, jobject obj, jboolean erase) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((bool) erase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_resizeContents(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->resizeContents((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_resizePolicy(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->resizePolicy(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_resize__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->resize((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_rightMargin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_rightMargin(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_scrollBy(JNIEnv* env, jobject obj, jint dx, jint dy) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->scrollBy((int) dx, (int) dy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setCachedSizeHint(JNIEnv* env, jobject obj, jobject sh) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setCachedSizeHint((const TQSize&)*(const TQSize*) QtSupport::getQt(env, sh)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setContentsPos(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setContentsPos((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setCornerWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setCornerWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setDragAutoScroll(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setDragAutoScroll((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setHBarGeometry(JNIEnv* env, jobject obj, jobject hbar, jint x, jint y, jint w, jint h) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setHBarGeometry((TQScrollBar&)*(TQScrollBar*) QtSupport::getQt(env, hbar), (int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setHScrollBarMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setHScrollBarMode((TQScrollView::ScrollBarMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setMargins(JNIEnv* env, jobject obj, jint left, jint top, jint right, jint bottom) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setMargins((int) left, (int) top, (int) right, (int) bottom); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setResizePolicy(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setResizePolicy((TQScrollView::ResizePolicy) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setStaticBackground(JNIEnv* env, jobject obj, jboolean y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setStaticBackground((bool) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setVBarGeometry(JNIEnv* env, jobject obj, jobject vbar, jint x, jint y, jint w, jint h) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setVBarGeometry((TQScrollBar&)*(TQScrollBar*) QtSupport::getQt(env, vbar), (int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setVScrollBarMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setVScrollBarMode((TQScrollView::ScrollBarMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_showChild__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject child) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->showChild((TQWidget*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_showChild__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject child, jboolean yes) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->showChild((TQWidget*) QtSupport::getQt(env, child), (bool) yes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_show(JNIEnv* env, jobject obj) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_topMargin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_topMargin(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QScrollView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQScrollViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QScrollView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQScrollViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_updateContents__(JNIEnv* env, jobject obj) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->updateContents(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_updateContents__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->updateContents((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_updateContents__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->updateContents((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_updateScrollBars(JNIEnv* env, jobject obj) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->updateScrollBars(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_vScrollBarMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->vScrollBarMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_verticalScrollBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->verticalScrollBar(), "org.kde.qt.TQScrollBar"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportContextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportDragLeaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportDragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportDropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportPaintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportPaintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_viewportSize(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollView*) QtSupport::getQt(env, obj))->viewportSize((int) arg1, (int) arg2)), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportToContents__II_3I_3I(JNIEnv* env, jobject obj, jint vx, jint vy, jintArray x, jintArray y) -{ - int* _int_x = QtSupport::toIntPtr(env, x); - int* _int_y = QtSupport::toIntPtr(env, y); - ((TQScrollView*) QtSupport::getQt(env, obj))->viewportToContents((int) vx, (int) vy, (int&) *_int_x, (int&) *_int_y); - env->SetIntArrayRegion(x, 0, 1, (jint *) _int_x); - env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_viewportToContents__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQScrollView*) QtSupport::getQt(env, obj))->viewportToContents((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportWheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_viewport(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->viewport(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_visibleHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->visibleHeight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_visibleWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->visibleWidth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - |