java.lang.Object
io.qt.QtObject
io.qt.core.QStringMatcher
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds a sequence of characters that can be quickly matched in a Unicode string
Java wrapper for Qt class QStringMatcher
-
Constructor Summary
ConstructorDescriptionQStringMatcher
(QStringMatcher other) QStringMatcher
(String pattern) Overloaded constructor forQStringMatcher(java.lang.String, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.QStringMatcher
(String pattern, Qt.CaseSensitivity cs) -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.CaseSensitivity
clone()
Creates and returns a copy of this object.final int
Overloaded function forindexIn(java.lang.String, int)
withfrom = 0
.final int
final String
pattern()
final void
final void
setPattern
(String pattern) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStringMatcher
public QStringMatcher() -
QStringMatcher
- Parameters:
pattern
-cs
-
-
QStringMatcher
- Parameters:
other
-
-
QStringMatcher
Overloaded constructor for
QStringMatcher(java.lang.String, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
-
-
Method Details
-
caseSensitivity
- Returns:
-
indexIn
- Parameters:
str
-from
-- Returns:
-
pattern
- Returns:
-
setCaseSensitivity
- Parameters:
cs
-
-
setPattern
- Parameters:
pattern
-
-
clone
Creates and returns a copy of this object.
-
indexIn
Overloaded function for
indexIn(java.lang.String, int)
withfrom = 0
.
-