KFile
kfilefiltercombo.cpp
Go to the documentation of this file.
QString i18n(const char *text)
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
Type type() const
bool isMimeFilter() const
Returns true if the filter has been set using setMimeFilter().
Definition: kfilefiltercombo.cpp:227
void clear()
QString itemText(int index) const
void setCurrentFilter(const QString &filter)
Sets the current filter.
Definition: kfilefiltercombo.cpp:131
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void insertItem(int index, const QString &text, const QVariant &userData)
KFileFilterCombo(QWidget *parent=0)
Creates a new filter combo box.
Definition: kfilefiltercombo.cpp:57
void addItem(const QString &text, const QVariant &userData)
int count(const T &value) const
int count() const
void filterChanged()
This signal is emitted whenever the filter has been changed.
bool isEmpty() const
void activated(int index)
void returnPressed()
iterator end()
void setTrapReturnKey(bool trap)
Definition: kfilefiltercombo.h:29
virtual bool eventFilter(QObject *, QEvent *)
Definition: kfilefiltercombo.cpp:207
QLineEdit * lineEdit() const
void setMimeFilter(const QStringList &types, const QString &defaultType)
Sets a list of mimetypes.
Definition: kfilefiltercombo.cpp:137
QString mid(int position, int n) const
void setInsertPolicy(InsertPolicy policy)
typedef ConstIterator
int currentIndex() const
QString left(int n) const
void setDefaultFilter(const QString &filter)
This method allows you to set a default-filter, that is used when an empty filter is set...
Definition: kfilefiltercombo.cpp:217
QString currentText() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
const KShortcut & end()
virtual bool eventFilter(QObject *, QEvent *)
const int kfile_area
iterator begin()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.