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

QBool QStringList::contains ( const QString str,
Qt::CaseSensitivity  cs = Qt::CaseSensitive 
) const [inline]

Returns true if the list contains the string str; otherwise returns false. The search is case insensitive if cs is Qt::CaseInsensitive; the search is case sensitive by default.

See also:
indexOf(), lastIndexOf(), QString::contains()

Definition at line 158 of file qstringlist.h.

Referenced by QCoreApplication::addLibraryPath(), QSqlDatabase::drivers(), QMimeData::hasFormat(), QFileDialog::history(), QFont::insertSubstitution(), QFont::insertSubstitutions(), QSqlDatabase::isDriverAvailable(), QHttpHeader::keys(), QStyleFactory::keys(), QDropEvent::provides(), Q3TextEdit::scrollToAnchor(), QSqlRelationalTableModel::selectStatement(), and QClipboard::text().

{
    return QtPrivate::QStringList_contains(this, str, cs);
}


Generated by  Doxygen 1.6.0   Back to index