Engauge Digitizer  2
 All Classes Functions Variables Typedefs Enumerations Friends Pages
Public Member Functions | List of all members
MainDirectoryPersist Class Reference

Persist the directory between successive Import/Open operations, or successive Export/Save operations. More...

#include <MainDirectoryPersist.h>

Public Member Functions

 MainDirectoryPersist ()
 Default constructor.
 
QDir getDirectoryExportSave () const
 Get the current Export/Save directory.
 
QDir getDirectoryImportOpen () const
 Get the current Import/Open directory.
 
void setDirectoryExportSaveFromFilename (const QString &fileName)
 Save the current Export/Save directory, after user has accepted the Export/Save dialog.
 
void setDirectoryImportOpenFromFilename (const QString &fileName)
 Save the current Import/Open directory, after user has accepted the Import/Open dialog.
 

Detailed Description

Persist the directory between successive Import/Open operations, or successive Export/Save operations.

The Export/Import/Open/Save operations are performed by the MainWindow class. This functionality is for the convenience of users who want to return to the same directory automatically rather than manually move from the Engauge startup directory to a user directory

Definition at line 17 of file MainDirectoryPersist.h.


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