CPrefsMru Class Reference

#include <prefs.h>

List of all members.

Public Member Functions

 CPrefsMru ()
void touchEntry (const QString &newentry)
void removeEntry (const QString &oldentry)


Detailed Description

A list of most recently used (MRU) files.

Definition at line 31 of file prefs.h.


Constructor & Destructor Documentation

CPrefsMru::CPrefsMru (  )  [inline]

Construct a new list of Most Recently Used (MRU) files.

Definition at line 35 of file prefs.h.


Member Function Documentation

void CPrefsMru::touchEntry ( const QString &  newEntry  ) 

Puts an entry at the top of the Most Recently Used files.

Parameters:
newEntry The entry to be added

Definition at line 41 of file prefs.cpp.

References removeEntry().

Referenced by CFormMain::open(), CFormMain::slotSave(), and CFormMain::slotSaveAs().

void CPrefsMru::removeEntry ( const QString &  oldEntry  ) 

Removes an entry from the Most Recently Used files.

Parameters:
oldEntry The entry to be removed

Definition at line 28 of file prefs.cpp.

Referenced by CFormMain::open(), and touchEntry().


The documentation for this class was generated from the following files:

Generated on Sun Mar 22 21:38:32 2009 for Sailcut CAD by  doxygen 1.5.6