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. Does a case insensitive search if cs is Qt::CaseSensitive, otherwise the search will be case insensitive.

Definition at line 136 of file qstringlist.h.

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

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


Generated by  Doxygen 1.6.0   Back to index