diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QLineEdit.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QLineEdit.cpp | 1314 |
1 files changed, 0 insertions, 1314 deletions
diff --git a/qtjava/javalib/qtjava/QLineEdit.cpp b/qtjava/javalib/qtjava/QLineEdit.cpp deleted file mode 100644 index ca73e0a1..00000000 --- a/qtjava/javalib/qtjava/QLineEdit.cpp +++ /dev/null @@ -1,1314 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqlineedit.h> -#include <tqpalette.h> -#include <tqsize.h> -#include <tqfont.h> - -#include <qtjava/QtSupport.h> -#include <qtjava/QLineEdit.h> - -class TQLineEditJBridge : public TQLineEdit -{ -public: - TQLineEditJBridge(TQWidget* arg1,const char* arg2) : TQLineEdit(arg1,arg2) {}; - TQLineEditJBridge(TQWidget* arg1) : TQLineEdit(arg1) {}; - TQLineEditJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQLineEdit(arg1,arg2,arg3) {}; - TQLineEditJBridge(const TQString& arg1,TQWidget* arg2) : TQLineEdit(arg1,arg2) {}; - TQLineEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQLineEdit(arg1,arg2,arg3,arg4) {}; - TQLineEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQLineEdit(arg1,arg2,arg3) {}; - void public_selectAll() { - TQLineEdit::selectAll(); - return; - } - void public_deselect() { - TQLineEdit::deselect(); - return; - } - void public_clearValidator() { - TQLineEdit::clearValidator(); - return; - } - void public_clear() { - TQLineEdit::clear(); - return; - } - void public_undo() { - TQLineEdit::undo(); - return; - } - void public_redo() { - TQLineEdit::redo(); - return; - } - void public_cut() { - TQLineEdit::cut(); - return; - } - void public_copy() { - TQLineEdit::copy(); - return; - } - void public_paste() { - TQLineEdit::paste(); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) TQLineEdit::event(arg1); - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQLineEdit::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQLineEdit::mouseMoveEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQLineEdit::mouseReleaseEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQLineEdit::mouseDoubleClickEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQLineEdit::keyPressEvent(arg1); - return; - } - void protected_imStartEvent(TQIMEvent* arg1) { - TQLineEdit::imStartEvent(arg1); - return; - } - void protected_imComposeEvent(TQIMEvent* arg1) { - TQLineEdit::imComposeEvent(arg1); - return; - } - void protected_imEndEvent(TQIMEvent* arg1) { - TQLineEdit::imEndEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQLineEdit::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQLineEdit::focusOutEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQLineEdit::resizeEvent(arg1); - return; - } - void protected_drawContents(TQPainter* arg1) { - TQLineEdit::drawContents(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - TQLineEdit::dragEnterEvent(arg1); - return; - } - void protected_dragMoveEvent(TQDragMoveEvent* arg1) { - TQLineEdit::dragMoveEvent(arg1); - return; - } - void protected_dragLeaveEvent(TQDragLeaveEvent* arg1) { - TQLineEdit::dragLeaveEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - TQLineEdit::dropEvent(arg1); - return; - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQLineEdit::contextMenuEvent(arg1); - return; - } - TQPopupMenu* protected_createPopupMenu() { - return (TQPopupMenu*) TQLineEdit::createPopupMenu(); - } - void protected_windowActivationChange(bool arg1) { - TQLineEdit::windowActivationChange(arg1); - return; - } - void protected_repaintArea(int arg1,int arg2) { - TQLineEdit::repaintArea(arg1,arg2); - return; - } - ~TQLineEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQLineEdit::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQLineEdit::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQLineEdit::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","selectAll")) { - TQLineEdit::selectAll(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQLineEdit::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","undo")) { - TQLineEdit::undo(); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQLineEdit::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQLineEdit::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQLineEdit::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void deselect() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","deselect")) { - TQLineEdit::deselect(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","cut")) { - TQLineEdit::cut(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","clear")) { - TQLineEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQLineEdit::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","copy")) { - TQLineEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQLineEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void clearValidator() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","clearValidator")) { - TQLineEdit::clearValidator(); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQLineEdit::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQLineEdit::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQLineEdit::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQLineEdit",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","paste")) { - TQLineEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","redo")) { - TQLineEdit::redo(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLineEdit_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLineEdit*) 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(); - 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::toTQChar(env, arg2, &_qchar_arg2)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLineEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQLineEdit*) 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(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_clearValidator(JNIEnv* env, jobject obj) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_clearValidator(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_clear(JNIEnv* env, jobject obj) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_copy(JNIEnv* env, jobject obj) -{ - ((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*)((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TQPopupMenu"); - 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); - 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); - 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); - 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); - 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); - 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); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLineEdit_cursorPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLineEdit*) 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); - 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); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cursorWordBackward(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQLineEdit*) 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); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cut(JNIEnv* env, jobject obj) -{ - ((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(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_deselect(JNIEnv* env, jobject obj) -{ - ((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::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QLineEdit_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_dragEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->dragEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_dragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_dragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) 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(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_edited(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) 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); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) 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); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) 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(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_getSelection(JNIEnv* env, jobject obj, jintArray arg1, jintArray arg2) -{ - 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); - env->SetIntArrayRegion(arg1, 0, 1, (jint *) _int_arg1); - env->SetIntArrayRegion(arg2, 0, 1, (jint *) _int_arg2); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_hasAcceptableInput(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) 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(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_hasSelectedText(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) 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); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_imEndEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_imStartEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TQIMEvent*) 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::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::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) 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(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_isRedoAvailable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) 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(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) 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::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(); - 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"); - 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); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -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; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -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; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jobject parent) -{ -static TQString* _qstring_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -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; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newTQLineEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -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; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_paste(JNIEnv* env, jobject obj) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_paste(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_redo(JNIEnv* env, jobject obj) -{ - ((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) -{ - ((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) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_selectAll(JNIEnv* env, jobject obj) -{ - ((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::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(); - 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); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setCursorPosition(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLineEdit*) 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); - 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); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setEdited(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLineEdit*) 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)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setFrame(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLineEdit*) 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::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); - 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)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLineEdit*) 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); - 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::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)); - 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); - 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::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLineEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _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; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _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) -{ - ((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::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"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); - return; -} - |