KFile
kfiletreeview.cpp
Go to the documentation of this file.
69 void KFileTreeView::Private::_k_currentChanged(const QModelIndex ¤tIndex, const QModelIndex&)
QModelIndexList indexes() const
QString i18n(const char *text)
QItemSelectionModel * selectionModel() const
bool showHiddenFiles() const
Returns true if the view is currently showing hidden files.
Definition: kfiletreeview.cpp:195
void setChecked(bool)
bool isNull() const
Acts as proxy model for KDirModel to sort and filter KFileItems.
Definition: kdirsortfilterproxymodel.h:50
QDir root()
void setCurrentUrl(const KUrl &url)
Sets the current url of the view.
Definition: kfiletreeview.cpp:164
bool isValid() const
void currentChanged(const KUrl &url)
This signal is emitted whenever the current url has been changed.
void append(const T &value)
void setLayoutDirection(Qt::LayoutDirection direction)
const QItemSelection selection() const
void setItemDelegate(QAbstractItemDelegate *delegate)
void clearSelection()
void setDirOnlyMode(bool enabled)
Sets whether the dir-only mode is enabled.
Definition: kfiletreeview.cpp:150
virtual void scrollTo(const QModelIndex &index, ScrollHint hint)
void setShowHiddenFiles(bool enabled)
Sets whether hidden files shall be listed.
Definition: kfiletreeview.cpp:156
bool isValid() const
void activated(const KUrl &url)
This signal is emitted whenever an url has been activated.
virtual void contextMenuEvent(QContextMenuEvent *)
Definition: kfiletreeview.cpp:184
virtual void setModel(QAbstractItemModel *model)
void setCurrentIndex(const QModelIndex &index, QFlags< QItemSelectionModel::SelectionFlag > command)
void expand(const QModelIndex &index)
QModelIndex currentIndex() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
KUrl url() const
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.