summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KHTMLView.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kdejava/koala/kdejava/KHTMLView.cpp
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kdejava/koala/kdejava/KHTMLView.cpp')
-rw-r--r--kdejava/koala/kdejava/KHTMLView.cpp498
1 files changed, 249 insertions, 249 deletions
diff --git a/kdejava/koala/kdejava/KHTMLView.cpp b/kdejava/koala/kdejava/KHTMLView.cpp
index f67b6e12..49df0329 100644
--- a/kdejava/koala/kdejava/KHTMLView.cpp
+++ b/kdejava/koala/kdejava/KHTMLView.cpp
@@ -9,91 +9,91 @@
class KHTMLViewJBridge : public KHTMLView
{
public:
- KHTMLViewJBridge(KHTMLPart* arg1,TQWidget* arg2,const char* arg3) : KHTMLView(arg1,arg2,arg3) {};
- KHTMLViewJBridge(KHTMLPart* arg1,TQWidget* arg2) : KHTMLView(arg1,arg2) {};
+ KHTMLViewJBridge(KHTMLPart* arg1,TTQWidget* arg2,const char* arg3) : KHTMLView(arg1,arg2,arg3) {};
+ KHTMLViewJBridge(KHTMLPart* arg1,TTQWidget* arg2) : KHTMLView(arg1,arg2) {};
void protected_clear() {
KHTMLView::clear();
return;
}
- void protected_resizeEvent(TQResizeEvent* arg1) {
+ void protected_resizeEvent(TTQResizeEvent* arg1) {
KHTMLView::resizeEvent(arg1);
return;
}
- void protected_showEvent(TQShowEvent* arg1) {
+ void protected_showEvent(TTQShowEvent* arg1) {
KHTMLView::showEvent(arg1);
return;
}
- void protected_hideEvent(TQHideEvent* arg1) {
+ void protected_hideEvent(TTQHideEvent* arg1) {
KHTMLView::hideEvent(arg1);
return;
}
bool protected_focusNextPrevChild(bool arg1) {
return (bool) KHTMLView::focusNextPrevChild(arg1);
}
- void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) {
+ void protected_drawContents(TTQPainter* arg1,int arg2,int arg3,int arg4,int arg5) {
KHTMLView::drawContents(arg1,arg2,arg3,arg4,arg5);
return;
}
- void protected_drawContents(TQPainter* arg1) {
+ void protected_drawContents(TTQPainter* arg1) {
KHTMLView::drawContents(arg1);
return;
}
- void protected_viewportMousePressEvent(TQMouseEvent* arg1) {
+ void protected_viewportMousePressEvent(TTQMouseEvent* arg1) {
KHTMLView::viewportMousePressEvent(arg1);
return;
}
- void protected_focusInEvent(TQFocusEvent* arg1) {
+ void protected_focusInEvent(TTQFocusEvent* arg1) {
KHTMLView::focusInEvent(arg1);
return;
}
- void protected_focusOutEvent(TQFocusEvent* arg1) {
+ void protected_focusOutEvent(TTQFocusEvent* arg1) {
KHTMLView::focusOutEvent(arg1);
return;
}
- void protected_viewportMouseDoubleClickEvent(TQMouseEvent* arg1) {
+ void protected_viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) {
KHTMLView::viewportMouseDoubleClickEvent(arg1);
return;
}
- void protected_viewportMouseMoveEvent(TQMouseEvent* arg1) {
+ void protected_viewportMouseMoveEvent(TTQMouseEvent* arg1) {
KHTMLView::viewportMouseMoveEvent(arg1);
return;
}
- void protected_viewportMouseReleaseEvent(TQMouseEvent* arg1) {
+ void protected_viewportMouseReleaseEvent(TTQMouseEvent* arg1) {
KHTMLView::viewportMouseReleaseEvent(arg1);
return;
}
- void protected_viewportResizeEvent(TQResizeEvent* arg1) {
+ void protected_viewportResizeEvent(TTQResizeEvent* arg1) {
KHTMLView::viewportResizeEvent(arg1);
return;
}
- void protected_viewportWheelEvent(TQWheelEvent* arg1) {
+ void protected_viewportWheelEvent(TTQWheelEvent* arg1) {
KHTMLView::viewportWheelEvent(arg1);
return;
}
- void protected_dragEnterEvent(TQDragEnterEvent* arg1) {
+ void protected_dragEnterEvent(TTQDragEnterEvent* arg1) {
KHTMLView::dragEnterEvent(arg1);
return;
}
- void protected_dropEvent(TQDropEvent* arg1) {
+ void protected_dropEvent(TTQDropEvent* arg1) {
KHTMLView::dropEvent(arg1);
return;
}
- void protected_closeEvent(TQCloseEvent* arg1) {
+ void protected_closeEvent(TTQCloseEvent* arg1) {
KHTMLView::closeEvent(arg1);
return;
}
- bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) {
+ bool protected_eventFilter(TTQObject* arg1,TTQEvent* arg2) {
return (bool) KHTMLView::eventFilter(arg1,arg2);
}
- void protected_keyPressEvent(TQKeyEvent* arg1) {
+ void protected_keyPressEvent(TTQKeyEvent* arg1) {
KHTMLView::keyPressEvent(arg1);
return;
}
- void protected_keyReleaseEvent(TQKeyEvent* arg1) {
+ void protected_keyReleaseEvent(TTQKeyEvent* arg1) {
KHTMLView::keyReleaseEvent(arg1);
return;
}
- void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) {
+ void protected_contentsContextMenuEvent(TTQContextMenuEvent* arg1) {
KHTMLView::contentsContextMenuEvent(arg1);
return;
}
@@ -101,7 +101,7 @@ public:
KHTMLView::doAutoScroll();
return;
}
- void protected_timerEvent(TQTimerEvent* arg1) {
+ void protected_timerEvent(TTQTimerEvent* arg1) {
KHTMLView::timerEvent(arg1);
return;
}
@@ -114,212 +114,212 @@ public:
return;
}
~KHTMLViewJBridge() {QtSupport::qtKeyDeleted(this);}
- void drawContents(TQPainter* arg1) {
- if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) {
+ void drawContents(TTQPainter* arg1) {
+ if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) {
KHTMLView::drawContents(arg1);
}
return;
}
- void dragLeaveEvent(TQDragLeaveEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
- TQWidget::dragLeaveEvent(arg1);
+ void dragLeaveEvent(TTQDragLeaveEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) {
+ TTQWidget::dragLeaveEvent(arg1);
}
return;
}
- void setMask(const TQRegion& arg1) {
- if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) {
- TQWidget::setMask(arg1);
+ void setMask(const TTQRegion& arg1) {
+ if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) {
+ TTQWidget::setMask(arg1);
}
return;
}
- void resizeEvent(TQResizeEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) {
+ void resizeEvent(TTQResizeEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) {
KHTMLView::resizeEvent(arg1);
}
return;
}
- void setFrameRect(const TQRect& arg1) {
- if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) {
- TQFrame::setFrameRect(arg1);
+ void setFrameRect(const TTQRect& arg1) {
+ if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) {
+ TTQFrame::setFrameRect(arg1);
}
return;
}
- void mouseDoubleClickEvent(TQMouseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
- TQScrollView::mouseDoubleClickEvent(arg1);
+ void mouseDoubleClickEvent(TTQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
+ TTQScrollView::mouseDoubleClickEvent(arg1);
}
return;
}
- void paletteChange(const TQPalette& arg1) {
- if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) {
- TQWidget::paletteChange(arg1);
+ void paletteChange(const TTQPalette& arg1) {
+ if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) {
+ TTQWidget::paletteChange(arg1);
}
return;
}
- void contentsMouseReleaseEvent(TQMouseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
- TQScrollView::contentsMouseReleaseEvent(arg1);
+ void contentsMouseReleaseEvent(TTQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
+ TTQScrollView::contentsMouseReleaseEvent(arg1);
}
return;
}
- void viewportPaintEvent(TQPaintEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) {
- TQScrollView::viewportPaintEvent(arg1);
+ void viewportPaintEvent(TTQPaintEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) {
+ TTQScrollView::viewportPaintEvent(arg1);
}
return;
}
- void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
+ void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
KHTMLView::viewportMouseDoubleClickEvent(arg1);
}
return;
}
- void viewportMouseReleaseEvent(TQMouseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
+ void viewportMouseReleaseEvent(TTQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
KHTMLView::viewportMouseReleaseEvent(arg1);
}
return;
}
- void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
- TQScrollView::contentsDragLeaveEvent(arg1);
+ void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) {
+ TTQScrollView::contentsDragLeaveEvent(arg1);
}
return;
}
void setActiveWindow() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KHTMLView","setActiveWindow")) {
- TQWidget::setActiveWindow();
+ TTQWidget::setActiveWindow();
}
return;
}
- void dragEnterEvent(TQDragEnterEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) {
+ void dragEnterEvent(TTQDragEnterEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) {
KHTMLView::dragEnterEvent(arg1);
}
return;
}
- void focusOutEvent(TQFocusEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) {
+ void focusOutEvent(TTQFocusEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) {
KHTMLView::focusOutEvent(arg1);
}
return;
}
void setFocus() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KHTMLView","setFocus")) {
- TQWidget::setFocus();
+ TTQWidget::setFocus();
}
return;
}
- void dragMoveEvent(TQDragMoveEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) {
- TQWidget::dragMoveEvent(arg1);
+ void dragMoveEvent(TTQDragMoveEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) {
+ TTQWidget::dragMoveEvent(arg1);
}
return;
}
- void drawFrame(TQPainter* arg1) {
- if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) {
- TQFrame::drawFrame(arg1);
+ void drawFrame(TTQPainter* arg1) {
+ if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) {
+ TTQFrame::drawFrame(arg1);
}
return;
}
void hide() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KHTMLView","hide")) {
- TQWidget::hide();
+ TTQWidget::hide();
}
return;
}
- void setPaletteBackgroundColor(const TQColor& arg1) {
- if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) {
- TQWidget::setPaletteBackgroundColor(arg1);
+ void setPaletteBackgroundColor(const TTQColor& arg1) {
+ if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) {
+ TTQWidget::setPaletteBackgroundColor(arg1);
}
return;
}
- void viewportResizeEvent(TQResizeEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) {
+ void viewportResizeEvent(TTQResizeEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) {
KHTMLView::viewportResizeEvent(arg1);
}
return;
}
- void setEraseColor(const TQColor& arg1) {
- if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) {
- TQWidget::setEraseColor(arg1);
+ void setEraseColor(const TTQColor& arg1) {
+ if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) {
+ TTQWidget::setEraseColor(arg1);
}
return;
}
- void paintEvent(TQPaintEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) {
- TQFrame::paintEvent(arg1);
+ void paintEvent(TTQPaintEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) {
+ TTQFrame::paintEvent(arg1);
}
return;
}
- void imStartEvent(TQIMEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) {
- TQWidget::imStartEvent(arg1);
+ void imStartEvent(TTQIMEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) {
+ TTQWidget::imStartEvent(arg1);
}
return;
}
void unsetCursor() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KHTMLView","unsetCursor")) {
- TQWidget::unsetCursor();
+ TTQWidget::unsetCursor();
}
return;
}
- void contentsDropEvent(TQDropEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) {
- TQScrollView::contentsDropEvent(arg1);
+ void contentsDropEvent(TTQDropEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) {
+ TTQScrollView::contentsDropEvent(arg1);
}
return;
}
- void hideEvent(TQHideEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) {
+ void hideEvent(TTQHideEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) {
KHTMLView::hideEvent(arg1);
}
return;
}
- void moveEvent(TQMoveEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) {
- TQWidget::moveEvent(arg1);
+ void moveEvent(TTQMoveEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) {
+ TTQWidget::moveEvent(arg1);
}
return;
}
void polish() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KHTMLView","polish")) {
- TQWidget::polish();
+ TTQWidget::polish();
}
return;
}
void showMaximized() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KHTMLView","showMaximized")) {
- TQWidget::showMaximized();
+ TTQWidget::showMaximized();
}
return;
}
- void setBackgroundPixmap(const TQPixmap& arg1) {
- if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) {
- TQWidget::setBackgroundPixmap(arg1);
+ void setBackgroundPixmap(const TTQPixmap& arg1) {
+ if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) {
+ TTQWidget::setBackgroundPixmap(arg1);
}
return;
}
- void showEvent(TQShowEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) {
+ void showEvent(TTQShowEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) {
KHTMLView::showEvent(arg1);
}
return;
}
- void viewportContextMenuEvent(TQContextMenuEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) {
- TQScrollView::viewportContextMenuEvent(arg1);
+ void viewportContextMenuEvent(TTQContextMenuEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) {
+ TTQScrollView::viewportContextMenuEvent(arg1);
}
return;
}
- void viewportDragEnterEvent(TQDragEnterEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) {
- TQScrollView::viewportDragEnterEvent(arg1);
+ void viewportDragEnterEvent(TTQDragEnterEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) {
+ TTQScrollView::viewportDragEnterEvent(arg1);
}
return;
}
- void keyPressEvent(TQKeyEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) {
+ void keyPressEvent(TTQKeyEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) {
KHTMLView::keyPressEvent(arg1);
}
return;
@@ -327,268 +327,268 @@ public:
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);
+ void setPaletteBackgroundPixmap(const TTQPixmap& arg1) {
+ if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) {
+ TTQWidget::setPaletteBackgroundPixmap(arg1);
}
return;
}
- void setCornerWidget(TQWidget* arg1) {
- if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) {
- TQScrollView::setCornerWidget(arg1);
+ void setCornerWidget(TTQWidget* arg1) {
+ if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) {
+ TTQScrollView::setCornerWidget(arg1);
}
return;
}
- void contentsDragEnterEvent(TQDragEnterEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) {
- TQScrollView::contentsDragEnterEvent(arg1);
+ void contentsDragEnterEvent(TTQDragEnterEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) {
+ TTQScrollView::contentsDragEnterEvent(arg1);
}
return;
}
- void contentsWheelEvent(TQWheelEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) {
- TQScrollView::contentsWheelEvent(arg1);
+ void contentsWheelEvent(TTQWheelEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) {
+ TTQScrollView::contentsWheelEvent(arg1);
}
return;
}
- void setCursor(const TQCursor& arg1) {
- if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) {
- TQWidget::setCursor(arg1);
+ void setCursor(const TTQCursor& arg1) {
+ if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) {
+ TTQWidget::setCursor(arg1);
}
return;
}
- void closeEvent(TQCloseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) {
+ void closeEvent(TTQCloseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) {
KHTMLView::closeEvent(arg1);
}
return;
}
- void customEvent(TQCustomEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) {
- TQObject::customEvent(arg1);
+ void customEvent(TTQCustomEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) {
+ TTQObject::customEvent(arg1);
}
return;
}
- void contentsDragMoveEvent(TQDragMoveEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) {
- TQScrollView::contentsDragMoveEvent(arg1);
+ void contentsDragMoveEvent(TTQDragMoveEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) {
+ TTQScrollView::contentsDragMoveEvent(arg1);
}
return;
}
- void enterEvent(TQEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) {
- TQWidget::enterEvent(arg1);
+ void enterEvent(TTQEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) {
+ TTQWidget::enterEvent(arg1);
}
return;
}
- void timerEvent(TQTimerEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) {
+ void timerEvent(TTQTimerEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) {
KHTMLView::timerEvent(arg1);
}
return;
}
- void contentsMouseMoveEvent(TQMouseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
- TQScrollView::contentsMouseMoveEvent(arg1);
+ void contentsMouseMoveEvent(TTQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
+ TTQScrollView::contentsMouseMoveEvent(arg1);
}
return;
}
- void mouseReleaseEvent(TQMouseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
- TQScrollView::mouseReleaseEvent(arg1);
+ void mouseReleaseEvent(TTQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
+ TTQScrollView::mouseReleaseEvent(arg1);
}
return;
}
- void setErasePixmap(const TQPixmap& arg1) {
- if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) {
- TQWidget::setErasePixmap(arg1);
+ void setErasePixmap(const TTQPixmap& arg1) {
+ if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) {
+ TTQWidget::setErasePixmap(arg1);
}
return;
}
- void childEvent(TQChildEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) {
- TQObject::childEvent(arg1);
+ void childEvent(TTQChildEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) {
+ TTQObject::childEvent(arg1);
}
return;
}
- void dropEvent(TQDropEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) {
+ void dropEvent(TTQDropEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) {
KHTMLView::dropEvent(arg1);
}
return;
}
- void leaveEvent(TQEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) {
- TQWidget::leaveEvent(arg1);
+ void leaveEvent(TTQEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) {
+ TTQWidget::leaveEvent(arg1);
}
return;
}
- void setIcon(const TQPixmap& arg1) {
- if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) {
- TQWidget::setIcon(arg1);
+ void setIcon(const TTQPixmap& arg1) {
+ if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) {
+ TTQWidget::setIcon(arg1);
}
return;
}
- void contentsMousePressEvent(TQMouseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
- TQScrollView::contentsMousePressEvent(arg1);
+ void contentsMousePressEvent(TTQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
+ TTQScrollView::contentsMousePressEvent(arg1);
}
return;
}
void updateMask() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KHTMLView","updateMask")) {
- TQWidget::updateMask();
+ TTQWidget::updateMask();
}
return;
}
void showNormal() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KHTMLView","showNormal")) {
- TQWidget::showNormal();
+ TTQWidget::showNormal();
}
return;
}
- void imComposeEvent(TQIMEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) {
- TQWidget::imComposeEvent(arg1);
+ void imComposeEvent(TTQIMEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) {
+ TTQWidget::imComposeEvent(arg1);
}
return;
}
- void viewportWheelEvent(TQWheelEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) {
+ void viewportWheelEvent(TTQWheelEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) {
KHTMLView::viewportWheelEvent(arg1);
}
return;
}
- void mousePressEvent(TQMouseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
- TQScrollView::mousePressEvent(arg1);
+ void mousePressEvent(TTQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
+ TTQScrollView::mousePressEvent(arg1);
}
return;
}
- void mouseMoveEvent(TQMouseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
- TQScrollView::mouseMoveEvent(arg1);
+ void mouseMoveEvent(TTQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
+ TTQScrollView::mouseMoveEvent(arg1);
}
return;
}
- void viewportMouseMoveEvent(TQMouseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
+ void viewportMouseMoveEvent(TTQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
KHTMLView::viewportMouseMoveEvent(arg1);
}
return;
}
- void setFocusProxy(TQWidget* arg1) {
- if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) {
- TQWidget::setFocusProxy(arg1);
+ void setFocusProxy(TTQWidget* arg1) {
+ if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) {
+ TTQWidget::setFocusProxy(arg1);
}
return;
}
- void setBackgroundColor(const TQColor& arg1) {
- if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) {
- TQWidget::setBackgroundColor(arg1);
+ void setBackgroundColor(const TTQColor& arg1) {
+ if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) {
+ TTQWidget::setBackgroundColor(arg1);
}
return;
}
- void viewportDropEvent(TQDropEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) {
- TQScrollView::viewportDropEvent(arg1);
+ void viewportDropEvent(TTQDropEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) {
+ TTQScrollView::viewportDropEvent(arg1);
}
return;
}
- void viewportDragMoveEvent(TQDragMoveEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) {
- TQScrollView::viewportDragMoveEvent(arg1);
+ void viewportDragMoveEvent(TTQDragMoveEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) {
+ TTQScrollView::viewportDragMoveEvent(arg1);
}
return;
}
void adjustSize() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KHTMLView","adjustSize")) {
- TQWidget::adjustSize();
+ TTQWidget::adjustSize();
}
return;
}
- void wheelEvent(TQWheelEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) {
- TQScrollView::wheelEvent(arg1);
+ void wheelEvent(TTQWheelEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) {
+ TTQScrollView::wheelEvent(arg1);
}
return;
}
- void imEndEvent(TQIMEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) {
- TQWidget::imEndEvent(arg1);
+ void imEndEvent(TTQIMEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) {
+ TTQWidget::imEndEvent(arg1);
}
return;
}
- void insertChild(TQObject* arg1) {
- if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) {
- TQObject::insertChild(arg1);
+ void insertChild(TTQObject* arg1) {
+ if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) {
+ TTQObject::insertChild(arg1);
}
return;
}
- void focusInEvent(TQFocusEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) {
+ void focusInEvent(TTQFocusEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) {
KHTMLView::focusInEvent(arg1);
}
return;
}
- void tabletEvent(TQTabletEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) {
- TQWidget::tabletEvent(arg1);
+ void tabletEvent(TTQTabletEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) {
+ TTQWidget::tabletEvent(arg1);
}
return;
}
- void keyReleaseEvent(TQKeyEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) {
+ void keyReleaseEvent(TTQKeyEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) {
KHTMLView::keyReleaseEvent(arg1);
}
return;
}
- void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
- TQScrollView::contentsMouseDoubleClickEvent(arg1);
+ void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
+ TTQScrollView::contentsMouseDoubleClickEvent(arg1);
}
return;
}
- void contextMenuEvent(TQContextMenuEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) {
- TQScrollView::contextMenuEvent(arg1);
+ void contextMenuEvent(TTQContextMenuEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) {
+ TTQScrollView::contextMenuEvent(arg1);
}
return;
}
- bool eventFilter(TQObject* object,TQEvent* event) {
+ bool eventFilter(TTQObject* object,TTQEvent* event) {
if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KHTMLView",object,event)) {
return KHTMLView::eventFilter(object,event);
} else {
return TRUE;
}
}
- void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
- TQScrollView::viewportDragLeaveEvent(arg1);
+ void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) {
+ TTQScrollView::viewportDragLeaveEvent(arg1);
}
return;
}
- void contentsContextMenuEvent(TQContextMenuEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) {
+ void contentsContextMenuEvent(TTQContextMenuEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) {
KHTMLView::contentsContextMenuEvent(arg1);
}
return;
}
- void setGeometry(const TQRect& arg1) {
- if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) {
- TQWidget::setGeometry(arg1);
+ void setGeometry(const TTQRect& arg1) {
+ if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) {
+ TTQWidget::setGeometry(arg1);
}
return;
}
- void viewportMousePressEvent(TQMouseEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
+ void viewportMousePressEvent(TTQMouseEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
KHTMLView::viewportMousePressEvent(arg1);
}
return;
}
void showMinimized() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KHTMLView","showMinimized")) {
- TQWidget::showMinimized();
+ TTQWidget::showMinimized();
}
return;
}
@@ -612,14 +612,14 @@ Java_org_kde_koala_KHTMLView_clear(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_closeEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TTQCloseEvent*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject _ce)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, _ce));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, _ce));
return;
}
@@ -647,42 +647,42 @@ Java_org_kde_koala_KHTMLView_doAutoScroll(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TTQDragEnterEvent*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_drawContents__Lorg_kde_qt_QPainter_2(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_drawContents__Lorg_kde_qt_QPainter_2IIII(JNIEnv* env, jobject obj, jobject p, jint clipx, jint clipy, jint clipw, jint cliph)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) clipx, (int) clipy, (int) clipw, (int) cliph);
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) QtSupport::getQt(env, p), (int) clipx, (int) clipy, (int) clipw, (int) cliph);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_dropEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TTQDropEvent*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLView_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
- jboolean xret = (jboolean) ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2));
+ jboolean xret = (jboolean) ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) QtSupport::getQt(env, arg2));
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_finalize(JNIEnv* env, jobject obj)
{
- if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KHTMLView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) {
+ if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(KHTMLView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) {
delete (KHTMLView*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
@@ -692,7 +692,7 @@ Java_org_kde_koala_KHTMLView_finalize(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_focusInEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1));
return;
}
@@ -706,7 +706,7 @@ Java_org_kde_koala_KHTMLView_focusNextPrevChild(JNIEnv* env, jobject obj, jboole
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1));
return;
}
@@ -720,7 +720,7 @@ Java_org_kde_koala_KHTMLView_frameWidth(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_hideEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TTQHideEvent*) QtSupport::getQt(env, arg1));
return;
}
@@ -733,14 +733,14 @@ Java_org_kde_koala_KHTMLView_isDisposed(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_keyPressEvent(JNIEnv* env, jobject obj, jobject _ke)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, _ke));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) QtSupport::getQt(env, _ke));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_keyReleaseEvent(JNIEnv* env, jobject obj, jobject _ke)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, _ke));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TTQKeyEvent*) QtSupport::getQt(env, _ke));
return;
}
@@ -761,7 +761,7 @@ Java_org_kde_koala_KHTMLView_marginWidth(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLView_metaObject(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject");
return xret;
}
@@ -769,7 +769,7 @@ JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_newKHTMLView__Lorg_kde_koala_KHTMLPart_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject part, jobject parent)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new KHTMLViewJBridge((KHTMLPart*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, parent)));
+ QtSupport::setQt(env, obj, new KHTMLViewJBridge((KHTMLPart*) QtSupport::getQt(env, part), (TTQWidget*) QtSupport::getQt(env, parent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -778,9 +778,9 @@ Java_org_kde_koala_KHTMLView_newKHTMLView__Lorg_kde_koala_KHTMLPart_2Lorg_kde_qt
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_newKHTMLView__Lorg_kde_koala_KHTMLPart_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject part, jobject parent, jstring name)
{
-static TQCString* _qstring_name = 0;
+static TTQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new KHTMLViewJBridge((KHTMLPart*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
+ QtSupport::setQt(env, obj, new KHTMLViewJBridge((KHTMLPart*) QtSupport::getQt(env, part), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -801,23 +801,23 @@ Java_org_kde_koala_KHTMLView_print__(JNIEnv* env, jobject obj)
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KHTMLView_print__Z(JNIEnv* env, jobject obj, jboolean quick)
+Java_org_kde_koala_KHTMLView_print__Z(JNIEnv* env, jobject obj, jboolean tquick)
{
- ((KHTMLView*) QtSupport::getQt(env, obj))->print((bool) quick);
+ ((KHTMLView*) QtSupport::getQt(env, obj))->print((bool) tquick);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_resizeEvent(JNIEnv* env, jobject obj, jobject event)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, event));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, event));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_setHScrollBarMode(JNIEnv* env, jobject obj, jint mode)
{
- ((KHTMLView*) QtSupport::getQt(env, obj))->setHScrollBarMode((TQScrollView::ScrollBarMode) mode);
+ ((KHTMLView*) QtSupport::getQt(env, obj))->setHScrollBarMode((TTQScrollView::ScrollBarMode) mode);
return;
}
@@ -838,14 +838,14 @@ Java_org_kde_koala_KHTMLView_setMarginWidth(JNIEnv* env, jobject obj, jint x)
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_setVScrollBarMode(JNIEnv* env, jobject obj, jint mode)
{
- ((KHTMLView*) QtSupport::getQt(env, obj))->setVScrollBarMode((TQScrollView::ScrollBarMode) mode);
+ ((KHTMLView*) QtSupport::getQt(env, obj))->setVScrollBarMode((TTQScrollView::ScrollBarMode) mode);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_showEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) QtSupport::getQt(env, arg1));
return;
}
@@ -866,7 +866,7 @@ Java_org_kde_koala_KHTMLView_slotScrollBarMoved(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_timerEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TTQTimerEvent*) QtSupport::getQt(env, arg1));
return;
}
@@ -880,42 +880,42 @@ Java_org_kde_koala_KHTMLView_updateLayout(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_viewportMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_viewportMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_viewportMousePressEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_viewportMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLView_viewportWheelEvent(JNIEnv* env, jobject obj, jobject arg1)
{
- ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1));
+ ((KHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportWheelEvent((TTQWheelEvent*) QtSupport::getQt(env, arg1));
return;
}