KTextAddons
translatorproxymodel.cpp
17bool TranslatorProxyModel::filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
20 const QString source = sourceModel()->index(source_row, TranslatorModel::Source, source_parent).data().toString();
21 const QString target = sourceModel()->index(source_row, TranslatorModel::Target, source_parent).data().toString();
22 if (source.contains(mSearchString, Qt::CaseInsensitive) || target.contains(mSearchString, Qt::CaseInsensitive)) {
sourceModel
virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const const
void invalidateFilter()
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
QChar * data()
bool isEmpty() const const
CaseInsensitive
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.