LibEngsas
|
Some helper functions used by EFileDialog. More...
#include <efiledialogprivate.h>
Public Member Functions | |
EFileDialogPrivate () |
Static Public Member Functions | |
static QString | getLastDirectory () |
Returns the last used directory stored in settings. | |
static void | saveLastDirectory (QString path) |
Stores the last used directory. | |
static QString | convertFilter (QString filter, QString *defaultFilter) |
Converts the filter from Qt to KDE format. |
Some helper functions used by EFileDialog.
This class should not be used directly.
EFileDialogPrivate::EFileDialogPrivate | ( | ) |
|
static |
Converts the filter from Qt to KDE format.
|
static |
Returns the last used directory stored in settings.
It uses QSettings and the value "lastDir" to get the last used directory.
|
static |
Stores the last used directory.
It determines the directory contained in path
. It uses QFileInfo to do that, therefore you can give a directory or a file path, without any problems.