KIO
kfilefiltercombo.h
53 void setFilters(const QList<KFileFilter> &filters, const KFileFilter &defaultFilter = KFileFilter());
KComboBox(bool rw, QWidget *parent=nullptr)
void setFilters(const QList< KFileFilter > &filters, const KFileFilter &defaultFilter=KFileFilter())
Sets the filters to be used.
Definition kfilefiltercombo.cpp:59
KFileFilter currentFilter() const
The currently selected/active filter.
Definition kfilefiltercombo.cpp:179
void setCurrentFilter(const KFileFilter &filter)
Sets the current filter.
Definition kfilefiltercombo.cpp:210
void setDefaultFilter(const KFileFilter &filter)
This method allows to set a default-filter, that is used when an empty filter is set.
Definition kfilefiltercombo.cpp:241
void filterChanged()
This signal is emitted whenever the filter has been changed.
KFileFilterCombo(QWidget *parent=nullptr)
Creates a new filter combo box.
Definition kfilefiltercombo.cpp:43
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
virtual bool eventFilter(QObject *watched, QEvent *event)
QObject * parent() const const
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:49:37 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:49:37 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.