java.lang.Object
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<String>
,Collection<String>
,List<String>
public class QStringList extends QList<String>
List of strings
Java wrapper for Qt class QStringList
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QStringList()
protected
QStringList(QtObject.QPrivateConstructor p)
Constructor for internal use only.QStringList(String... content)
QStringList(Collection<String> other)
-
Method Summary
Modifier and Type Method Description boolean
contains(String str, Qt.CaseSensitivity cs)
QStringList
filter(QRegularExpression re)
QStringList
filter(String str)
QStringList
filter(String str, Qt.CaseSensitivity cs)
long
indexOf(QRegularExpression re)
long
indexOf(QRegularExpression re, long from)
String
join(char sep)
String
join(String sep)
long
lastIndexOf(QRegularExpression re)
long
lastIndexOf(QRegularExpression re, long from)
long
removeDuplicates()
QStringList
replaceInStrings(QRegularExpression re, String after)
QStringList
replaceInStrings(String before, String after)
QStringList
replaceInStrings(String before, String after, Qt.CaseSensitivity cs)
void
sort()
void
sort(Qt.CaseSensitivity cs)
Methods inherited from class io.qt.core.QList
add, add, append, append, at, begin, capacity, clear, clone, contains, count, count, createVariantList, end, endsWith, equals, fill, fill, first, get, hashCode, indexOf, indexOf, insert, insert, isEmpty, last, lastIndexOf, lastIndexOf, length, mid, mid, move, of, prepend, readFrom, remove, remove, removeAll, removeAt, removeAtIndex, removeFirst, removeLast, removeOne, replace, reserve, resize, set, size, squeeze, startsWith, swapItemsAt, takeAt, takeFirst, takeLast, value, value, writeTo
Methods inherited from class io.qt.internal.QtJambiListObject
addAll, addAll, listIterator, listIterator, remove, retainAll, subList
Methods inherited from class io.qt.internal.QtJambiCollectionObject
containsAll, descendingIterator, iterator, removeAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.List
containsAll, iterator, removeAll, replaceAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
QStringList
public QStringList() -
QStringList
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QStringList
-
QStringList
-
-
Method Details
-
join
-
join
-
filter
-
filter
-
filter
-
replaceInStrings
-
replaceInStrings
@QtUninvokable public final QStringList replaceInStrings(String before, String after, Qt.CaseSensitivity cs) -
replaceInStrings
-
sort
-
sort
-
removeDuplicates
-
contains
-
indexOf
-
indexOf
-
lastIndexOf
-
lastIndexOf
-