You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.7 KiB
75 lines
2.7 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
|
package org.kde.qt;
|
||
|
|
||
|
import org.kde.qt.Qt;
|
||
|
import java.util.ArrayList;
|
||
|
|
||
13 years ago
|
public class TQRegExp implements QtSupport {
|
||
15 years ago
|
private long _qt;
|
||
|
private boolean _allocatedInJavaWorld = true;
|
||
13 years ago
|
protected TQRegExp(Class dummy){}
|
||
15 years ago
|
|
||
|
public static final int CaretAtZero = 0;
|
||
|
public static final int CaretAtOffset = 1;
|
||
|
public static final int CaretWontMatch = 2;
|
||
|
|
||
13 years ago
|
public TQRegExp() {
|
||
|
newTQRegExp();
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQRegExp();
|
||
|
public TQRegExp(String pattern, boolean caseSensitive, boolean wildcard) {
|
||
|
newTQRegExp(pattern,caseSensitive,wildcard);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQRegExp(String pattern, boolean caseSensitive, boolean wildcard);
|
||
|
public TQRegExp(String pattern, boolean caseSensitive) {
|
||
|
newTQRegExp(pattern,caseSensitive);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQRegExp(String pattern, boolean caseSensitive);
|
||
|
public TQRegExp(String pattern) {
|
||
|
newTQRegExp(pattern);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQRegExp(String pattern);
|
||
|
public TQRegExp(TQRegExp rx) {
|
||
|
newTQRegExp(rx);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQRegExp(TQRegExp rx);
|
||
|
public native boolean op_equals(TQRegExp rx);
|
||
|
public native boolean op_not_equals(TQRegExp rx);
|
||
15 years ago
|
public native boolean isEmpty();
|
||
|
public native boolean isValid();
|
||
|
public native String pattern();
|
||
|
public native void setPattern(String pattern);
|
||
|
public native boolean caseSensitive();
|
||
|
public native void setCaseSensitive(boolean sensitive);
|
||
|
public native boolean wildcard();
|
||
|
public native void setWildcard(boolean wildcard);
|
||
|
public native boolean minimal();
|
||
|
public native void setMinimal(boolean minimal);
|
||
|
public native boolean exactMatch(String str);
|
||
|
public native int match(String str, int index, int[] len, boolean indexIsStart);
|
||
|
public native int match(String str, int index, int[] len);
|
||
|
public native int match(String str, int index);
|
||
|
public native int match(String str);
|
||
|
public native int search(String str, int offset, int caretMode);
|
||
|
public native int search(String str, int offset);
|
||
|
public native int search(String str);
|
||
|
public native int searchRev(String str, int offset, int caretMode);
|
||
|
public native int searchRev(String str, int offset);
|
||
|
public native int searchRev(String str);
|
||
|
public native int matchedLength();
|
||
|
public native int numCaptures();
|
||
|
public native ArrayList capturedTexts();
|
||
|
public native String cap(int nth);
|
||
|
public native String cap();
|
||
|
public native int pos(int nth);
|
||
|
public native int pos();
|
||
|
public native String errorString();
|
||
|
public static native String escape(String str);
|
||
|
/** Deletes the wrapped C++ instance */
|
||
|
protected native void finalize() throws InternalError;
|
||
|
/** Delete the wrapped C++ instance ahead of finalize() */
|
||
|
public native void dispose();
|
||
|
/** Has the wrapped C++ instance been deleted? */
|
||
|
public native boolean isDisposed();
|
||
|
}
|