diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QLineEdit.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QLineEdit.cpp | 770 |
1 files changed, 385 insertions, 385 deletions
diff --git a/qtjava/javalib/qtjava/QLineEdit.cpp b/qtjava/javalib/qtjava/QLineEdit.cpp index d5fd5505..48c0639a 100644 --- a/qtjava/javalib/qtjava/QLineEdit.cpp +++ b/qtjava/javalib/qtjava/QLineEdit.cpp @@ -6,563 +6,563 @@ #include <tqfont.h> #include <qtjava/QtSupport.h> -#include <qtjava/QLineEdit.h> +#include <qtjava/TQLineEdit.h> -class QLineEditJBridge : public QLineEdit +class TQLineEditJBridge : public TQLineEdit { public: - QLineEditJBridge(TQWidget* arg1,const char* arg2) : TQLineEdit(arg1,arg2) {}; - QLineEditJBridge(TQWidget* arg1) : TQLineEdit(arg1) {}; - QLineEditJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQLineEdit(arg1,arg2,arg3) {}; - QLineEditJBridge(const TQString& arg1,TQWidget* arg2) : TQLineEdit(arg1,arg2) {}; - QLineEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQLineEdit(arg1,arg2,arg3,arg4) {}; - QLineEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQLineEdit(arg1,arg2,arg3) {}; + TQLineEditJBridge(TTQWidget* arg1,const char* arg2) : TTQLineEdit(arg1,arg2) {}; + TQLineEditJBridge(TTQWidget* arg1) : TTQLineEdit(arg1) {}; + TQLineEditJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQLineEdit(arg1,arg2,arg3) {}; + TQLineEditJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQLineEdit(arg1,arg2) {}; + TQLineEditJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3,const char* arg4) : TTQLineEdit(arg1,arg2,arg3,arg4) {}; + TQLineEditJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3) : TTQLineEdit(arg1,arg2,arg3) {}; void public_selectAll() { - TQLineEdit::selectAll(); + TTQLineEdit::selectAll(); return; } void public_deselect() { - TQLineEdit::deselect(); + TTQLineEdit::deselect(); return; } void public_clearValidator() { - TQLineEdit::clearValidator(); + TTQLineEdit::clearValidator(); return; } void public_clear() { - TQLineEdit::clear(); + TTQLineEdit::clear(); return; } void public_undo() { - TQLineEdit::undo(); + TTQLineEdit::undo(); return; } void public_redo() { - TQLineEdit::redo(); + TTQLineEdit::redo(); return; } void public_cut() { - TQLineEdit::cut(); + TTQLineEdit::cut(); return; } void public_copy() { - TQLineEdit::copy(); + TTQLineEdit::copy(); return; } void public_paste() { - TQLineEdit::paste(); + TTQLineEdit::paste(); return; } - bool protected_event(TQEvent* arg1) { - return (bool) TQLineEdit::event(arg1); + bool protected_event(TTQEvent* arg1) { + return (bool) TTQLineEdit::event(arg1); } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQLineEdit::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQLineEdit::mousePressEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQLineEdit::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQLineEdit::mouseMoveEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQLineEdit::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQLineEdit::mouseReleaseEvent(arg1); return; } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQLineEdit::mouseDoubleClickEvent(arg1); + void protected_mouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQLineEdit::mouseDoubleClickEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQLineEdit::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQLineEdit::keyPressEvent(arg1); return; } - void protected_imStartEvent(TQIMEvent* arg1) { - TQLineEdit::imStartEvent(arg1); + void protected_imStartEvent(TTQIMEvent* arg1) { + TTQLineEdit::imStartEvent(arg1); return; } - void protected_imComposeEvent(TQIMEvent* arg1) { - TQLineEdit::imComposeEvent(arg1); + void protected_imComposeEvent(TTQIMEvent* arg1) { + TTQLineEdit::imComposeEvent(arg1); return; } - void protected_imEndEvent(TQIMEvent* arg1) { - TQLineEdit::imEndEvent(arg1); + void protected_imEndEvent(TTQIMEvent* arg1) { + TTQLineEdit::imEndEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQLineEdit::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQLineEdit::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQLineEdit::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQLineEdit::focusOutEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQLineEdit::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQLineEdit::resizeEvent(arg1); return; } - void protected_drawContents(TQPainter* arg1) { - TQLineEdit::drawContents(arg1); + void protected_drawContents(TTQPainter* arg1) { + TTQLineEdit::drawContents(arg1); return; } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - TQLineEdit::dragEnterEvent(arg1); + void protected_dragEnterEvent(TTQDragEnterEvent* arg1) { + TTQLineEdit::dragEnterEvent(arg1); return; } - void protected_dragMoveEvent(TQDragMoveEvent* arg1) { - TQLineEdit::dragMoveEvent(arg1); + void protected_dragMoveEvent(TTQDragMoveEvent* arg1) { + TTQLineEdit::dragMoveEvent(arg1); return; } - void protected_dragLeaveEvent(TQDragLeaveEvent* arg1) { - TQLineEdit::dragLeaveEvent(arg1); + void protected_dragLeaveEvent(TTQDragLeaveEvent* arg1) { + TTQLineEdit::dragLeaveEvent(arg1); return; } - void protected_dropEvent(TQDropEvent* arg1) { - TQLineEdit::dropEvent(arg1); + void protected_dropEvent(TTQDropEvent* arg1) { + TTQLineEdit::dropEvent(arg1); return; } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQLineEdit::contextMenuEvent(arg1); + void protected_contextMenuEvent(TTQContextMenuEvent* arg1) { + TTQLineEdit::contextMenuEvent(arg1); return; } - TQPopupMenu* protected_createPopupMenu() { - return (TQPopupMenu*) TQLineEdit::createPopupMenu(); + TTQPopupMenu* protected_createPopupMenu() { + return (TTQPopupMenu*) TTQLineEdit::createPopupMenu(); } void protected_windowActivationChange(bool arg1) { - TQLineEdit::windowActivationChange(arg1); + TTQLineEdit::windowActivationChange(arg1); return; } void protected_repaintArea(int arg1,int arg2) { - TQLineEdit::repaintArea(arg1,arg2); + TTQLineEdit::repaintArea(arg1,arg2); return; } - ~QLineEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQLineEdit::dragLeaveEvent(arg1); + ~TQLineEditJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQLineEdit::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 setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQLineEdit::setValidator(arg1); + void setValidator(const TTQValidator* arg1) { + if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TTQValidator")) { + TTQLineEdit::setValidator(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQLineEdit::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQLineEdit::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")) { - TQLineEdit::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQLineEdit::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 selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","selectAll")) { - TQLineEdit::selectAll(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","selectAll")) { + TTQLineEdit::selectAll(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQLineEdit::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQLineEdit::dragEnterEvent(arg1); } return; } void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","undo")) { - TQLineEdit::undo(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","undo")) { + TTQLineEdit::undo(); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQLineEdit::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQLineEdit::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQLineEdit::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQLineEdit::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.qt.TQLineEdit","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","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 setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQLineEdit::setPalette(arg1); + void setPalette(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQLineEdit::setPalette(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } void deselect() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","deselect")) { - TQLineEdit::deselect(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","deselect")) { + TTQLineEdit::deselect(); } 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")) { - TQLineEdit::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQLineEdit::imStartEvent(arg1); } return; } void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","cut")) { - TQLineEdit::cut(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","cut")) { + TTQLineEdit::cut(); } return; } void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","clear")) { - TQLineEdit::clear(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","clear")) { + TTQLineEdit::clear(); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","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")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQLineEdit::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQLineEdit::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","copy")) { - TQLineEdit::copy(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","copy")) { + TTQLineEdit::copy(); } return; } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQLineEdit::setFont(arg1); + void setFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQLineEdit::setFont(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } void clearValidator() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","clearValidator")) { - TQLineEdit::clearValidator(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","clearValidator")) { + TTQLineEdit::clearValidator(); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQLineEdit::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")) { - TQLineEdit::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQLineEdit::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQLineEdit::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQLineEdit::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQLineEdit::mouseMoveEvent(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 fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(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 adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQLineEdit::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")) { - TQLineEdit::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQLineEdit::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQLineEdit::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQLineEdit::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQLineEdit",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQLineEdit",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } } void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","paste")) { - TQLineEdit::paste(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","paste")) { + TTQLineEdit::paste(); } return; } void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","redo")) { - TQLineEdit::redo(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","redo")) { + TTQLineEdit::redo(); } 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 frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -571,22 +571,22 @@ public: JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_alignment(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->alignment(); + jint xret = (jint) ((TTQLineEdit*) QtSupport::getQt(env, obj))->alignment(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_backspace(JNIEnv* env, jobject obj) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->backspace(); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->backspace(); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_characterAt(JNIEnv* env, jobject obj, jint arg1, jchar arg2) { -static TQChar* _qchar_arg2 = 0; - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->characterAt((int) arg1, (TQChar*) QtSupport::toQChar(env, arg2, &_qchar_arg2)); +static TTQChar* _qchar_arg2 = 0; + jint xret = (jint) ((TTQLineEdit*) QtSupport::getQt(env, obj))->characterAt((int) arg1, (TTQChar*) QtSupport::toTQChar(env, arg2, &_qchar_arg2)); return xret; } @@ -594,156 +594,156 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQLineEdit*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_clearModified(JNIEnv* env, jobject obj) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->clearModified(); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->clearModified(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_clearValidator(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_clearValidator(); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_clearValidator(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_clear(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_clear(); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_clear(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_copy(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_copy(); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_copy(); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_createPopupMenu(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TQPopupMenu"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TTQPopupMenu"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorBackward__Z(JNIEnv* env, jobject obj, jboolean mark) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorBackward((bool) mark); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->cursorBackward((bool) mark); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorBackward__ZI(JNIEnv* env, jobject obj, jboolean mark, jint steps) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorBackward((bool) mark, (int) steps); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->cursorBackward((bool) mark, (int) steps); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorForward__Z(JNIEnv* env, jobject obj, jboolean mark) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorForward((bool) mark); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->cursorForward((bool) mark); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorForward__ZI(JNIEnv* env, jobject obj, jboolean mark, jint steps) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorForward((bool) mark, (int) steps); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->cursorForward((bool) mark, (int) steps); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorLeft__Z(JNIEnv* env, jobject obj, jboolean mark) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorLeft((bool) mark); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->cursorLeft((bool) mark); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorLeft__ZI(JNIEnv* env, jobject obj, jboolean mark, jint steps) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorLeft((bool) mark, (int) steps); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->cursorLeft((bool) mark, (int) steps); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_cursorPosition(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorPosition(); + jint xret = (jint) ((TTQLineEdit*) QtSupport::getQt(env, obj))->cursorPosition(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorRight__Z(JNIEnv* env, jobject obj, jboolean mark) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorRight((bool) mark); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->cursorRight((bool) mark); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorRight__ZI(JNIEnv* env, jobject obj, jboolean mark, jint steps) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorRight((bool) mark, (int) steps); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->cursorRight((bool) mark, (int) steps); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorWordBackward(JNIEnv* env, jobject obj, jboolean mark) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorWordBackward((bool) mark); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->cursorWordBackward((bool) mark); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorWordForward(JNIEnv* env, jobject obj, jboolean mark) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorWordForward((bool) mark); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->cursorWordForward((bool) mark); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cut(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_cut(); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_cut(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_del(JNIEnv* env, jobject obj) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->del(); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->del(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_deselect(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_deselect(); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_deselect(); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_displayText(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->displayText(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQLineEdit*) QtSupport::getQt(env, obj))->displayText(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -756,78 +756,78 @@ Java_org_kde_qt_QLineEdit_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_dragEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->dragEnabled(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->dragEnabled(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TTQDragEnterEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dragLeaveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragLeaveEvent((TTQDragLeaveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dragMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TTQDragMoveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_drawContents(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dropEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TTQDropEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_echoMode(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->echoMode(); + jint xret = (jint) ((TTQLineEdit*) QtSupport::getQt(env, obj))->echoMode(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_edited(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->edited(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->edited(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_end(JNIEnv* env, jobject obj, jboolean mark) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->end((bool) mark); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->end((bool) mark); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_event(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQLineEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQLineEdit*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQLineEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQLineEdit*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -836,21 +836,21 @@ Java_org_kde_qt_QLineEdit_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_frame(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->frame(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->frame(); return xret; } @@ -859,7 +859,7 @@ Java_org_kde_qt_QLineEdit_getSelection(JNIEnv* env, jobject obj, jintArray arg1, { int* _int_arg1 = QtSupport::toIntPtr(env, arg1); int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->getSelection( (int*) _int_arg1, (int*) _int_arg2); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->getSelection( (int*) _int_arg1, (int*) _int_arg2); env->SetIntArrayRegion(arg1, 0, 1, (jint *) _int_arg1); env->SetIntArrayRegion(arg2, 0, 1, (jint *) _int_arg2); return xret; @@ -868,65 +868,65 @@ Java_org_kde_qt_QLineEdit_getSelection(JNIEnv* env, jobject obj, jintArray arg1, JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_hasAcceptableInput(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->hasAcceptableInput(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->hasAcceptableInput(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_hasMarkedText(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->hasMarkedText(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->hasMarkedText(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_hasSelectedText(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->hasSelectedText(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->hasSelectedText(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_home(JNIEnv* env, jobject obj, jboolean mark) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->home((bool) mark); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->home((bool) mark); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TTQIMEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_imEndEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TTQIMEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_imStartEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TTQIMEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_inputMask(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->inputMask(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQLineEdit*) QtSupport::getQt(env, obj))->inputMask(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_insert(JNIEnv* env, jobject obj, jstring arg1) { -static TQString* _qstring_arg1 = 0; - ((TQLineEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQLineEdit*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return; } @@ -939,159 +939,159 @@ Java_org_kde_qt_QLineEdit_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isModified(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isModified(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->isModified(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isReadOnly(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isReadOnly(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->isReadOnly(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isRedoAvailable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isRedoAvailable(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->isRedoAvailable(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isUndoAvailable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isUndoAvailable(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->isUndoAvailable(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_markedText(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->markedText(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQLineEdit*) QtSupport::getQt(env, obj))->markedText(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_maxLength(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->maxLength(); + jint xret = (jint) ((TTQLineEdit*) QtSupport::getQt(env, obj))->maxLength(); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLineEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLineEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_minimumSizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLineEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLineEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newQLineEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jobject parent) +Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jobject parent) { -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLineEditJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQLineEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newQLineEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jobject parent, jstring name) +Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jobject parent, jstring name) { -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQCString* _qstring_name = 0; +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLineEditJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQLineEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jobject parent) +Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jobject parent) { -static TQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLineEditJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQLineEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jobject parent, jstring name) +Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jobject parent, jstring name) { -static TQString* _qstring_arg1 = 0; -static TQCString* _qstring_name = 0; +static TTQString* _qstring_arg1 = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLineEditJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQLineEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newQLineEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +Java_org_kde_qt_QLineEdit_newTQLineEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQLineEditJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newQLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +Java_org_kde_qt_QLineEdit_newTQLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { -static TQCString* _qstring_name = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQLineEditJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1100,215 +1100,215 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_paste(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_paste(); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_paste(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_redo(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_redo(); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_redo(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_repaintArea(JNIEnv* env, jobject obj, jint arg1, jint arg2) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_repaintArea((int) arg1, (int) arg2); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_repaintArea((int) arg1, (int) arg2); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_selectAll(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_selectedText(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->selectedText(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQLineEdit*) QtSupport::getQt(env, obj))->selectedText(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_selectionStart(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->selectionStart(); + jint xret = (jint) ((TTQLineEdit*) QtSupport::getQt(env, obj))->selectionStart(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setAlignment(JNIEnv* env, jobject obj, jint flag) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->setAlignment((int) flag); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setAlignment((int) flag); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setCursorPosition(JNIEnv* env, jobject obj, jint arg1) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) arg1); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setDragEnabled(JNIEnv* env, jobject obj, jboolean b) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setEchoMode(JNIEnv* env, jobject obj, jint arg1) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->setEchoMode((TQLineEdit::EchoMode) arg1); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setEchoMode((TTQLineEdit::EchoMode) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setEdited(JNIEnv* env, jobject obj, jboolean arg1) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->setEdited((bool) arg1); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setEdited((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setFont(JNIEnv* env, jobject obj, jobject arg1) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setFrame(JNIEnv* env, jobject obj, jboolean arg1) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->setFrame((bool) arg1); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setFrame((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setInputMask(JNIEnv* env, jobject obj, jstring inputMask) { -static TQString* _qstring_inputMask = 0; - ((TQLineEdit*) QtSupport::getQt(env, obj))->setInputMask((const TQString&)*(TQString*) QtSupport::toQString(env, inputMask, &_qstring_inputMask)); +static TTQString* _qstring_inputMask = 0; + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setInputMask((const TTQString&)*(TTQString*) QtSupport::toTQString(env, inputMask, &_qstring_inputMask)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setMaxLength(JNIEnv* env, jobject obj, jint arg1) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->setMaxLength((int) arg1); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setMaxLength((int) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setPalette(JNIEnv* env, jobject obj, jobject arg1) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setPalette((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean arg1) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setSelection(JNIEnv* env, jobject obj, jint arg1, jint arg2) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->setSelection((int) arg1, (int) arg2); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setSelection((int) arg1, (int) arg2); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setText(JNIEnv* env, jobject obj, jstring arg1) { -static TQString* _qstring_arg1 = 0; - ((TQLineEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setValidator(JNIEnv* env, jobject obj, jobject arg1) { - ((TQLineEdit*) QtSupport::getQt(env, obj))->setValidator((const TQValidator*) QtSupport::getQt(env, arg1)); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setValidator((const TTQValidator*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_sizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLineEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLineEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_text(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQLineEdit*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; + _qstring = TQLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg2 = 0; + _qstring = TQLineEditJBridge::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_QLineEdit_undo(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_undo(); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_undo(); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_validateAndSet(JNIEnv* env, jobject obj, jstring arg1, jint arg2, jint arg3, jint arg4) { -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->validateAndSet((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (int) arg2, (int) arg3, (int) arg4); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->validateAndSet((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) arg2, (int) arg3, (int) arg4); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_validator(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLineEdit*) QtSupport::getQt(env, obj))->validator(), "org.kde.qt.TQValidator"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLineEdit*) QtSupport::getQt(env, obj))->validator(), "org.kde.qt.TTQValidator"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); return; } |