.TH "KRecentDirs" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KRecentDirs \- The goal of this class is to make sure that, when the user needs to specify a file via the file selection dialog, this dialog will start in the directory most likely to contain the desired files.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <krecentdirs.h>\fP
.PP
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \fBQStringList\fP \fBlist\fP (const \fBQString\fP &fileClass)"
.br
.ti -1c
.RI "static \fBQString\fP \fBdir\fP (const \fBQString\fP &fileClass)"
.br
.ti -1c
.RI "static void \fBadd\fP (const \fBQString\fP &fileClass, const \fBQString\fP &directory)"
.br
.in -1c
.SH "Detailed Description"
.PP 
The goal of this class is to make sure that, when the user needs to specify a file via the file selection dialog, this dialog will start in the directory most likely to contain the desired files. 

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.
.PP
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. 
.PP
Definition at line 50 of file krecentdirs.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBQStringList\fP KRecentDirs::list (const \fBQString\fP & fileClass)\fC [static]\fP"
.PP
Returns a list of directories associated with this file-class. 
.PP
The most recently used directory is at the front of the list. 
.PP
Definition at line 72 of file krecentdirs.cpp.
.PP
Referenced by dir().
.SS "\fBQString\fP KRecentDirs::dir (const \fBQString\fP & fileClass)\fC [static]\fP"
.PP
Returns the most recently used directory accociated with this file-class. 
.PP
Definition at line 80 of file krecentdirs.cpp.
.PP
References list().
.SS "void KRecentDirs::add (const \fBQString\fP & fileClass, const \fBQString\fP & directory)\fC [static]\fP"
.PP
Associates \fCdirectory\fP with \fCfileClass\fP. 
.PP
Definition at line 86 of file krecentdirs.cpp.
.PP
References KConfigBase::writePathEntry().

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
