Drop obsolete TQLineEdit methods

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/20/head
Michele Calgaro 1 year ago
parent 1b35744b79
commit 53442b53d0
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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() */

@ -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)
{
@ -689,20 +671,6 @@ Java_org_trinitydesktop_qt_QLineEdit_cursorPosition(JNIEnv* env, jobject obj)
return xret;
}
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)
{
@ -872,13 +840,6 @@ Java_org_trinitydesktop_qt_QLineEdit_hasAcceptableInput(JNIEnv* env, jobject obj
return xret;
}
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)
{
@ -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)
{
@ -1111,13 +1064,6 @@ Java_org_trinitydesktop_qt_QLineEdit_redo(JNIEnv* env, jobject obj)
return;
}
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)
{

@ -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);

@ -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"

Loading…
Cancel
Save