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

int QStringList::indexOf ( const QRegExp rx,
int  from = 0 
) const [inline]

Returns the index position of the first exact match of rx in the list, searching forward from index position from. Returns -1 if no item matched.

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

Definition at line 181 of file qstringlist.h.

Referenced by QDirModel::mkdir().

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


Generated by  Doxygen 1.6.0   Back to index