- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Pattern matching using regular expressions
Java wrapper for Qt's class QRegExp
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QRegExp::CaretModestatic enum
Java wrapper for Qt enum QRegExp::PatternSyntaxNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQRegExp()
protected
Constructor for internal use only.Overloaded constructor forQRegExp(java.lang.String, io.qt.core.Qt.CaseSensitivity, io.qt.core.QRegExp.PatternSyntax)
QRegExp
(String pattern, Qt.CaseSensitivity cs) Overloaded constructor forQRegExp(java.lang.String, io.qt.core.Qt.CaseSensitivity, io.qt.core.QRegExp.PatternSyntax)
withsyntax = io.qt.core.QRegExp.PatternSyntax.RegExp
.QRegExp
(String pattern, Qt.CaseSensitivity cs, QRegExp.PatternSyntax syntax) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
cap()
Overloaded function forcap(int)
withnth = 0
.final String
cap
(int nth) final int
final QStringList
final Qt.CaseSensitivity
clone()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final String
static String
final boolean
exactMatch
(String str) int
hashCode()
final int
Overloaded function forindexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
final int
Overloaded function forindexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
withcaretMode = io.qt.core.QRegExp.CaretMode.CaretAtZero
.final int
indexIn
(String str, int offset, QRegExp.CaretMode caretMode) final boolean
isEmpty()
final boolean
final boolean
isValid()
final int
lastIndexIn
(String str) Overloaded function forlastIndexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
final int
lastIndexIn
(String str, int offset) Overloaded function forlastIndexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
withcaretMode = io.qt.core.QRegExp.CaretMode.CaretAtZero
.final int
lastIndexIn
(String str, int offset, QRegExp.CaretMode caretMode) final int
final String
pattern()
final QRegExp.PatternSyntax
final int
pos()
Overloaded function forpos(int)
withnth = 0
.final int
pos
(int nth) void
readFrom
(QDataStream in) final void
final void
setMinimal
(boolean minimal) final void
setPattern
(String pattern) final void
final void
toString()
void
writeTo
(QDataStream out) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QRegExp
public QRegExp() -
QRegExp
-
QRegExp
Overloaded constructor for
QRegExp(java.lang.String, io.qt.core.Qt.CaseSensitivity, io.qt.core.QRegExp.PatternSyntax)
withsyntax = io.qt.core.QRegExp.PatternSyntax.RegExp
. -
QRegExp
Overloaded constructor for
QRegExp(java.lang.String, io.qt.core.Qt.CaseSensitivity, io.qt.core.QRegExp.PatternSyntax)
with:
cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
syntax = io.qt.core.QRegExp.PatternSyntax.RegExp
-
QRegExp
-
QRegExp
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
cap
Overloaded function for
cap(int)
withnth = 0
. -
cap
-
captureCount
-
capturedTexts
-
caseSensitivity
-
errorString
-
exactMatch
-
indexIn
Overloaded function for
indexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
withcaretMode = io.qt.core.QRegExp.CaretMode.CaretAtZero
. -
indexIn
Overloaded function for
indexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
with:
offset = 0
caretMode = io.qt.core.QRegExp.CaretMode.CaretAtZero
-
indexIn
-
isEmpty
-
isMinimal
-
isValid
-
lastIndexIn
Overloaded function for
lastIndexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
withcaretMode = io.qt.core.QRegExp.CaretMode.CaretAtZero
. -
lastIndexIn
Overloaded function for
lastIndexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
with:
offset = -1
caretMode = io.qt.core.QRegExp.CaretMode.CaretAtZero
-
lastIndexIn
-
matchedLength
-
writeTo
-
readFrom
-
pattern
-
patternSyntax
-
pos
Overloaded function for
pos(int)
withnth = 0
. -
pos
-
setCaseSensitivity
-
setMinimal
-
setPattern
-
setPatternSyntax
-
swap
-
escape
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-