Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

int QStringList::lastIndexOf ( const QRegExp rx,
int  from = -1 
) const [inline]

Returns the index position of the last exact match of rx in the list, searching backward from index position from. If from is -1 (the default), the search starts at the last item. Returns -1 if no item matched.

See also:
indexOf(), contains(), QRegExp::exactMatch()

Definition at line 186 of file qstringlist.h.

{
    return QtPrivate::QStringList_lastIndexOf(this, rx, from);
}


Generated by  Doxygen 1.6.0   Back to index