KIO
krecentdirs.cpp
Go to the documentation of this file.
QString readPathEntry(const QString &pKey, const QString &aDefault) const
void writePathEntry(const QString &pKey, const QString &path, WriteConfigFlags pFlags=Normal)
void add(const QString &fileClass, const QString &directory)
Associates directory with fileClass.
Definition: krecentdirs.cpp:74
KSharedConfigPtr config()
int count(const T &value) const
void append(const T &value)
bool isEmpty() const
int removeAll(const T &value)
static QString documentPath()
QString mid(int position, int n) const
QString dir(const QString &fileClass)
Returns the most recently used directory accociated with this file-class.
Definition: krecentdirs.cpp:68
void removeLast()
int length() const
void prepend(const T &value)
void sync()
static KConfigGroup recentdirs_readList(QString &key, QStringList &result)
Definition: krecentdirs.cpp:37
QStringList list(const QString &fileClass)
Returns a list of directories associated with this file-class.
Definition: krecentdirs.cpp:60
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 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:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.