KDEUI
klistwidgetsearchline.h
Go to the documentation of this file.
KLineEdit(const QString &string, QWidget *parent=0)
Constructs a KLineEdit object with a default text, a parent, and a name.
Definition klineedit.cpp:232
virtual void clear()
Reimplemented to workaround a buggy QLineEdit::clear() (changing the clipboard to the text we just ha...
Definition klineedit.cpp:1698
virtual void updateSearch(const QString &s=QString())
Updates search to only make visible the items that match s.
Definition klistwidgetsearchline.cpp:90
void setCaseSensitivity(Qt::CaseSensitivity cs)
Make the search case sensitive or case insensitive.
Definition klistwidgetsearchline.cpp:112
virtual bool event(QEvent *event)
Re-implemented for internal reasons.
Definition klistwidgetsearchline.cpp:207
KListWidgetSearchLine(QWidget *parent=0, QListWidget *listWidget=0)
Constructs a KListWidgetSearchLine with listWidget being the QListWidget to be filtered.
Definition klistwidgetsearchline.cpp:63
QListWidget * listWidget() const
Returns the listWidget that is currently filtered by the search.
Definition klistwidgetsearchline.cpp:82
Qt::CaseSensitivity caseSensitive() const
Returns if the search is case sensitive.
Definition klistwidgetsearchline.cpp:77
virtual bool itemMatches(const QListWidgetItem *item, const QString &s) const
Returns true if item matches the search s.
Definition klistwidgetsearchline.cpp:142
void setListWidget(QListWidget *lv)
Sets the QListWidget that is filtered by this search line.
Definition klistwidgetsearchline.cpp:117
static Qt::CaseSensitivity cs
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.