summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-10 21:00:09 +0900
committerMichele Calgaro <[email protected]>2023-07-10 21:01:27 +0900
commit53442b53d0961872a9414726dfd32122a15afa39 (patch)
tree3f11ddba81c939e1b28b8e191179def744a049c1
parent1b35744b7931a67f9ad418bb1cbee870a7dda811 (diff)
downloadtdebindings-53442b53d0961872a9414726dfd32122a15afa39.tar.gz
tdebindings-53442b53d0961872a9414726dfd32122a15afa39.zip
Drop obsolete TQLineEdit methods
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/TQLineEdit.java7
-rw-r--r--qtjava/javalib/qtjava/TQLineEdit.cpp54
-rw-r--r--qtjava/javalib/qtjava/TQLineEdit.h7
-rw-r--r--qtsharp/src/api/qt.xml14
4 files changed, 0 insertions, 82 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);
diff --git a/qtsharp/src/api/qt.xml b/qtsharp/src/api/qt.xml
index 77f8199f..8b6999aa 100644
--- a/qtsharp/src/api/qt.xml
+++ b/qtsharp/src/api/qt.xml
@@ -9318,14 +9318,6 @@ id="0"/>
<qparam type="int" name="arg4"/>
</qmethod>
<qmethod name="alignment" access="public" return="int" id="0"/>
- <qmethod name="cursorLeft" access="public" return="void" id="0">
- <qparam type="bool" name="mark"/>
- <qparam type="int" name="steps" default="1"/>
- </qmethod>
- <qmethod name="cursorRight" access="public" return="void" id="0">
- <qparam type="bool" name="mark"/>
- <qparam type="int" name="steps" default="1"/>
- </qmethod>
<qmethod name="cursorForward" access="public" return="void" id="0">
<qparam type="bool" name="mark"/>
<qparam type="int" name="steps" default="1"/>
@@ -9360,8 +9352,6 @@ id="0"/>
</qmethod>
<qmethod name="isUndoAvailable" access="public" return="bool" id="0"/>
<qmethod name="isRedoAvailable" access="public" return="bool" id="0"/>
- <qmethod name="hasMarkedText" access="public" return="bool" id="0"/>
- <qmethod name="markedText" access="public" return="TQString" id="0"/>
<qmethod name="setPasswordChar" access="public" return="void" id="0">
<qparam type="TQChar" name="c"/>
</qmethod>
@@ -9426,10 +9416,6 @@ id="0"/>
<qmethod name="protected_drawContents" access="protected" return="void" id="0">
<qparam type="TQPainter*" name="painter"/>
</qmethod>
- <qmethod name="protected_repaintArea" access="protected" return="void" id="0">
- <qparam type="int" name="arg1"/>
- <qparam type="int" name="arg2"/>
- </qmethod>
<qmethod name="protected_createPopupMenu" access="protected"
return="TQPopupMenu*" id="0"/>
<qmethod name="protected_windowActivationChange" access="protected"