diff options
Diffstat (limited to 'qtjava')
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/TQLineEdit.java | 7 | ||||
-rw-r--r-- | qtjava/javalib/qtjava/TQLineEdit.cpp | 54 | ||||
-rw-r--r-- | qtjava/javalib/qtjava/TQLineEdit.h | 7 |
3 files changed, 0 insertions, 68 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQLineEdit.java b/qtjava/javalib/org/trinitydesktop/qt/TQLineEdit.java index 854fd58e..8564208d 100644 --- a/qtjava/javalib/org/trinitydesktop/qt/TQLineEdit.java +++ b/qtjava/javalib/org/trinitydesktop/qt/TQLineEdit.java @@ -56,10 +56,6 @@ public class TQLineEdit extends TQFrame { public native int cursorPosition(); public native boolean validateAndSet(String arg1, int arg2, int arg3, int arg4); public native int alignment(); - public native void cursorLeft(boolean mark, int steps); - public native void cursorLeft(boolean mark); - public native void cursorRight(boolean mark, int steps); - public native void cursorRight(boolean mark); public native void cursorForward(boolean mark, int steps); public native void cursorForward(boolean mark); public native void cursorBackward(boolean mark, int steps); @@ -79,8 +75,6 @@ public class TQLineEdit extends TQFrame { public native int selectionStart(); public native boolean isUndoAvailable(); public native boolean isRedoAvailable(); - public native boolean hasMarkedText(); - public native String markedText(); public native boolean dragEnabled(); public native String inputMask(); public native void setInputMask(String inputMask); @@ -131,7 +125,6 @@ public class TQLineEdit extends TQFrame { protected native void contextMenuEvent(TQContextMenuEvent arg1); protected native TQPopupMenu createPopupMenu(); protected native void windowActivationChange(boolean arg1); - protected native void repaintArea(int arg1, int arg2); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/qtjava/TQLineEdit.cpp b/qtjava/javalib/qtjava/TQLineEdit.cpp index 584ac0ac..a0211baf 100644 --- a/qtjava/javalib/qtjava/TQLineEdit.cpp +++ b/qtjava/javalib/qtjava/TQLineEdit.cpp @@ -131,10 +131,6 @@ public: 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.trinitydesktop.qt.TQDragLeaveEvent")) { @@ -668,20 +664,6 @@ Java_org_trinitydesktop_qt_QLineEdit_cursorForward__ZI(JNIEnv* env, jobject obj, return; } -JNIEXPORT void JNICALL -Java_org_trinitydesktop_qt_QLineEdit_cursorLeft__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorLeft((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_trinitydesktop_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_trinitydesktop_qt_QLineEdit_cursorPosition(JNIEnv* env, jobject obj) { @@ -690,20 +672,6 @@ Java_org_trinitydesktop_qt_QLineEdit_cursorPosition(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_trinitydesktop_qt_QLineEdit_cursorRight__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorRight((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_trinitydesktop_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_trinitydesktop_qt_QLineEdit_cursorWordBackward(JNIEnv* env, jobject obj, jboolean mark) { ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorWordBackward((bool) mark); @@ -873,13 +841,6 @@ Java_org_trinitydesktop_qt_QLineEdit_hasAcceptableInput(JNIEnv* env, jobject obj } JNIEXPORT jboolean JNICALL -Java_org_trinitydesktop_qt_QLineEdit_hasMarkedText(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->hasMarkedText(); - return xret; -} - -JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QLineEdit_hasSelectedText(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->hasSelectedText(); @@ -971,14 +932,6 @@ Java_org_trinitydesktop_qt_QLineEdit_keyPressEvent(JNIEnv* env, jobject obj, job return; } -JNIEXPORT jstring JNICALL -Java_org_trinitydesktop_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_trinitydesktop_qt_QLineEdit_maxLength(JNIEnv* env, jobject obj) { @@ -1112,13 +1065,6 @@ Java_org_trinitydesktop_qt_QLineEdit_redo(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_trinitydesktop_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_trinitydesktop_qt_QLineEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); diff --git a/qtjava/javalib/qtjava/TQLineEdit.h b/qtjava/javalib/qtjava/TQLineEdit.h index 08a7cbe5..790372ce 100644 --- a/qtjava/javalib/qtjava/TQLineEdit.h +++ b/qtjava/javalib/qtjava/TQLineEdit.h @@ -30,10 +30,6 @@ extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_qt_QLineEdit_minimumSiz extern JNIEXPORT jint JNICALL Java_org_trinitydesktop_qt_QLineEdit_cursorPosition (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QLineEdit_validateAndSet (JNIEnv *env, jobject, jstring, jint, jint, jint); extern JNIEXPORT jint JNICALL Java_org_trinitydesktop_qt_QLineEdit_alignment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_cursorLeft__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_cursorLeft__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_cursorRight__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_cursorRight__Z (JNIEnv *env, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_cursorForward__ZI (JNIEnv *env, jobject, jboolean, jint); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_cursorForward__Z (JNIEnv *env, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_cursorBackward__ZI (JNIEnv *env, jobject, jboolean, jint); @@ -53,8 +49,6 @@ extern JNIEXPORT jstring JNICALL Java_org_trinitydesktop_qt_QLineEdit_selectedTe extern JNIEXPORT jint JNICALL Java_org_trinitydesktop_qt_QLineEdit_selectionStart (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QLineEdit_isUndoAvailable (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QLineEdit_isRedoAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QLineEdit_hasMarkedText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_trinitydesktop_qt_QLineEdit_markedText (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QLineEdit_dragEnabled (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_trinitydesktop_qt_QLineEdit_inputMask (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_setInputMask (JNIEnv *env, jobject, jstring); @@ -105,7 +99,6 @@ extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_dropEvent (JN extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_contextMenuEvent (JNIEnv *env, jobject, jobject); extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_qt_QLineEdit_createPopupMenu (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_windowActivationChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_repaintArea (JNIEnv *env, jobject, jint, jint); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_finalize (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QLineEdit_dispose (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QLineEdit_isDisposed (JNIEnv *env, jobject); |