![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXRecentFiles.h>
Inheritance diagram for FXRecentFiles:
Public Types | |
enum | { ID_CLEAR, ID_ANYFILES, ID_FILE_1, ID_FILE_2, ID_FILE_3, ID_FILE_4, ID_FILE_5, ID_FILE_6, ID_FILE_7, ID_FILE_8, ID_FILE_9, ID_FILE_10 } |
Public Methods | |
FXRecentFiles () | |
Make new Recent Files Group with default groupname. | |
FXRecentFiles (const FXString &gp, FXObject *tgt=NULL, FXSelector sel=0) | |
Make new Recent Files Group with groupname gp. | |
void | setMaxFiles (FXint mx) |
Change number of files we're tracking. | |
FXint | getMaxFiles () const |
Return the maximum number of files being tracked. | |
void | setGroupName (const FXString &name) |
Set group name. | |
void | setTarget (FXObject *t) |
Change the target. | |
FXObject * | getTarget () const |
Get the target. | |
void | setSelector (FXSelector sel) |
Change the message. | |
FXSelector | getSelector () const |
Return the message id. | |
void | appendFile (const FXString &filename) |
Append a file. | |
void | removeFile (const FXString &filename) |
Remove a file. | |
void | clear () |
Clear the list of files. | |
virtual void | save (FXStream &store) const |
Save to a stream. | |
virtual void | load (FXStream &store) |
Load from a stream. | |
virtual | ~FXRecentFiles () |
Destructor. | |
Public Attributes | |
FXString | getGroupName () const |
Return group name. |