KFile
kfileplacesitem.cpp
Go to the documentation of this file.
52 m_lister->setAutoErrorHandlingEnabled(false, 0); // don't bother the user if trash:/ doesn't exist
53 m_lister->setDelayedMimeTypes(true); // we don't need the mimetypes, so don't penalize other KDirLister users
KFilePlacesItem(KBookmarkManager *manager, const QString &address, const QString &udi=QString())
Definition: kfileplacesitem.cpp:38
bool moveBookmark(const KBookmark &bookmark, const KBookmark &after)
QStringList emblems() const
DevIface * as()
static KBookmark createBookmark(KBookmarkManager *manager, const QString &label, const KUrl &url, const QString &iconName, KFilePlacesItem *after=0)
Definition: kfileplacesitem.cpp:234
QString description() const
KBookmark createNewSeparator()
static KBookmark createSystemBookmark(KBookmarkManager *manager, const QString &untranslatedLabel, const QString &translatedLabel, const KUrl &url, const QString &iconName)
Definition: kfileplacesitem.cpp:261
virtual bool openUrl(const KUrl &_url, OpenUrlFlags _flags=NoFlags)
Definition: kfileplacesmodel.h:45
void chop(int n)
QString i18nc(const char *ctxt, const char *text)
QString text() const
QString number(int n, int base)
void setBookmark(const KBookmark &bookmark)
Definition: kfileplacesitem.cpp:96
QString icon() const
KFileItemList items(WhichItems which=FilteredItems) const
KBookmark addBookmark(const KBookmark &bm)
bool isEmpty() const
bool isEmpty() const
void setAutoErrorHandlingEnabled(bool enable, QWidget *parent)
Definition: kfileplacesitem_p.h:40
bool is() const
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
bool isValid() const
void setDelayedMimeTypes(bool delayedMimeTypes)
QString udi() const
QString metaDataItem(const QString &key) const
Device parent() const
QString icon() const
void setMetaDataItem(const QString &key, const QString &value, MetaDataOverwriteMode mode=OverwriteMetaData)
KBookmark findByAddress(const QString &address)
QDateTime currentDateTime()
KBookmarkGroup root() const
void itemChanged(const QString &id)
char * data()
static KBookmark createDeviceBookmark(KBookmarkManager *manager, const QString &udi)
Definition: kfileplacesitem.cpp:277
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
bool isNull() const
QString device
KUrl url() const
QByteArray toUtf8() 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.