KItemViews
klistwidgetsearchline.h
bool event(QEvent *event) override
Re-implemented for internal reasons.
Definition klistwidgetsearchline.cpp:185
virtual void updateSearch(const QString &s=QString())
Updates search to only make visible the items that match s.
Definition klistwidgetsearchline.cpp:71
void setCaseSensitivity(Qt::CaseSensitivity cs)
Make the search case sensitive or case insensitive.
Definition klistwidgetsearchline.cpp:93
KListWidgetSearchLine(QWidget *parent=nullptr, QListWidget *listWidget=nullptr)
Constructs a KListWidgetSearchLine with listWidget being the QListWidget to be filtered.
Definition klistwidgetsearchline.cpp:45
QListWidget * listWidget() const
Returns the listWidget that is currently filtered by the search.
Definition klistwidgetsearchline.cpp:63
Qt::CaseSensitivity caseSensitive() const
Returns if the search is case sensitive.
Definition klistwidgetsearchline.cpp:58
virtual bool itemMatches(const QListWidgetItem *item, const QString &s) const
Returns true if item matches the search s.
Definition klistwidgetsearchline.cpp:122
void setListWidget(QListWidget *lv)
Sets the QListWidget that is filtered by this search line.
Definition klistwidgetsearchline.cpp:98
QLineEdit(QWidget *parent)
void clear()
virtual bool event(QEvent *e) override
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
CaseSensitivity
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:21 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:21 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.