KFile
kurlnavigatorplacesselector.cpp
Go to the documentation of this file.
40 KUrlNavigatorPlacesSelector::KUrlNavigatorPlacesSelector(QWidget* parent, KFilePlacesModel* placesModel) :
199 {
KIcon icon(const QModelIndex &index) const
QModelIndex closestItem(const KUrl &url) const
Returns the closest item for the URL url.
static Ptr findByUrl(const KUrl &url, mode_t mode=0, bool is_local_file=false, bool fast_mode=false, int *accuracy=0)
static KUrl::List fromMimeData(const QMimeData *mimeData, DecodeOptions decodeOptions, KUrl::MetaDataMap *metaData=0)
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
bool setupNeeded(const QModelIndex &index) const
QString text(const QModelIndex &index) const
MimetypeJob * mimetype(const KUrl &url, JobFlags flags=DefaultFlags)
void requestSetup(const QModelIndex &index)
void addPlace(const QString &text, const KUrl &url, const QString &iconName=QString(), const QString &appName=QString())
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Get the children model index for the given row and column.
void requestTeardown(const QModelIndex &index)
KMenu(const QString &title, QWidget *parent=0L)
QAction * teardownActionForIndex(const QModelIndex &index) const
int rowCount(const QModelIndex &parent=QModelIndex()) const
Get the number of rows for a model index.
KUrl url(const QModelIndex &index) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.