#include <krecentdirs.h>
Static Public Methods | |
| QStringList | list (const QString &fileClass) |
| QString | dir (const QString &fileClass) |
| void | add (const QString &fileClass, const QString &directory) |
This works as follows: Each time the file selection dialog is shown, the programmer can specify a "file-class". The file-dialog will then start with the directory associated with this file-class. When the dialog closes, the directory currently shown in the file-dialog will be associated with the file-class.
A file-class can either start with ':' or with '::'. If it starts with a single ':' the file-class is specific to the current application. If the file-class starts with '::' it is global to all applications.
Definition at line 48 of file krecentdirs.h.
|
||||||||||||
|
Associates |
|
|
Returns the most recently used directory accociated with this file-class. |
|
|
Returns a list of directories associated with this file-class. The most recently used directory is at the front of the list. |
1.2.18