QStringList Class Reference
[QtCore module]
Methods
- __init__ (self)
- __init__ (self, QString)
- __init__ (self, QStringList)
- append (self, QString str)
- clear (self)
- bool contains (self, QString, Qt.CaseSensitivity cs = Qt.CaseSensitive)
- int count (self, QString str)
- int count (self)
- QStringList filter (self, QString, Qt.CaseSensitivity cs = Qt.CaseSensitive)
- QStringList filter (self, QRegExp)
- QString first (self)
- int indexOf (self, QString, int from = 0)
- int indexOf (self, QRegExp, int from = 0)
- insert (self, int i, QString str)
- bool isEmpty (self)
- QString join (self, QString)
- QString last (self)
- int lastIndexOf (self, QString, int from = -1)
- int lastIndexOf (self, QRegExp, int from = -1)
- QStringList mid (self, int pos, int length = -1)
- move (self, int from, int to)
- prepend (self, QString str)
- int removeAll (self, QString str)
- removeAt (self, int i)
- int removeDuplicates (self)
- replace (self, int i, QString str)
- QStringList replaceInStrings (self, QString, QString, Qt.CaseSensitivity cs = Qt.CaseSensitive)
- QStringList replaceInStrings (self, QRegExp, QString)
- sort (self)
- swap (self, int i, int j)
- QString takeAt (self, int i)
- QString takeFirst (self)
- QString takeLast (self)
Special Methods
- QStringList __add__ (self, QStringList)
- int __contains__ (self, QString str)
- __delitem__ (self, int i)
- __delitem__ (self, slice slice)
- bool __eq__ (self, QStringList other)
- QString __getitem__ (self, int i)
- QStringList __getitem__ (self, slice slice)
- QStringList __iadd__ (self, QStringList other)
- QStringList __iadd__ (self, QString value)
- QStringList __imul__ (self, int by)
- __len__ (self)
- QStringList __lshift__ (self, QString)
- QStringList __lshift__ (self, QStringList)
- QStringList __mul__ (self, int by)
- bool __ne__ (self, QStringList other)
- __setitem__ (self, int i, QString str)
- __setitem__ (self, slice slice, QStringList list)
Detailed Description
A Python list of Python string or unicode objects or
QString instances
may be used whenever a
QStringList
is expected.
Method Documentation
QStringList.__init__ (self)
QStringList.__init__ (self, QString)
QStringList.__init__ (self, QStringList)
QStringList.append (self, QString str)
QStringList.clear (self)
bool QStringList.contains (self, QString, Qt.CaseSensitivity cs = Qt.CaseSensitive)
int QStringList.count (self, QString str)
int QStringList.count (self)
QStringList QStringList.filter (self, QString, Qt.CaseSensitivity cs = Qt.CaseSensitive)
QStringList QStringList.filter (self, QRegExp)
QString QStringList.first (self)
int QStringList.indexOf (self, QString, int from = 0)
int QStringList.indexOf (self, QRegExp, int from = 0)
QStringList.insert (self, int i, QString str)
bool QStringList.isEmpty (self)
QString QStringList.join (self, QString)
QString QStringList.last (self)
int QStringList.lastIndexOf (self, QString, int from = -1)
int QStringList.lastIndexOf (self, QRegExp, int from = -1)
QStringList QStringList.mid (self, int pos, int length = -1)
QStringList.move (self, int from, int to)
QStringList.prepend (self, QString str)
int QStringList.removeAll (self, QString str)
QStringList.removeAt (self, int i)
int QStringList.removeDuplicates (self)
QStringList.replace (self, int i, QString str)
QStringList QStringList.replaceInStrings (self, QString, QString, Qt.CaseSensitivity cs = Qt.CaseSensitive)
QStringList QStringList.replaceInStrings (self, QRegExp, QString)
QStringList.sort (self)
QStringList.swap (self, int i, int j)
QString QStringList.takeAt (self, int i)
QString QStringList.takeFirst (self)
QString QStringList.takeLast (self)
QStringList QStringList.__add__ (self, QStringList)
int QStringList.__contains__ (self, QString str)
QStringList.__delitem__ (self, int i)
QStringList.__delitem__ (self, slice slice)
bool QStringList.__eq__ (self, QStringList other)
QString QStringList.__getitem__ (self, int i)
QStringList QStringList.__getitem__ (self, slice slice)
QStringList QStringList.__iadd__ (self, QStringList other)
QStringList QStringList.__iadd__ (self, QString value)
QStringList QStringList.__imul__ (self, int by)
QStringList.__len__ (self)
QStringList QStringList.__lshift__ (self, QString)
QStringList QStringList.__lshift__ (self, QStringList)
QStringList QStringList.__mul__ (self, int by)
bool QStringList.__ne__ (self, QStringList other)
QStringList.__setitem__ (self, int i, QString str)
QStringList.__setitem__ (self, slice slice, QStringList list)