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

QStringList & QStringList::replaceInStrings ( const QString before,
const QString after,
Qt::CaseSensitivity  cs = Qt::CaseSensitive 
) [inline]

Returns a string list where every string has had the before text replaced with the after text wherever the before text is found. The before text is matched case-sensitively or not depending on the cs flag.

For example:

snippets/qstringlist/main.cpp QStringList list; QStringList list; list << "alpha" // list

See also:
QString::replace()

Definition at line 163 of file qstringlist.h.

{
    QtPrivate::QStringList_replaceInStrings(this, before, after, cs);
    return *this;
}


Generated by  Doxygen 1.6.0   Back to index