Engauge Digitizer 2
|
Base class for 'file commands' that are used specifically for regression testing of file import/open/export features. More...
#include <FileCmdAbstract.h>
Public Member Functions | |
FileCmdAbstract (const QString &cmdDescription) | |
Single constructor. | |
virtual | ~FileCmdAbstract () |
virtual void | redo (MainWindow &mainWindow)=0 |
Apply this command, through MainWindow. |
Protected Member Functions | |
QString | cmdDescription () const |
Command description for logging. |
Base class for 'file commands' that are used specifically for regression testing of file import/open/export features.
These commands operate outside of the normal undo/redo command framework, since that framework uses commands that are attached to an open Document. The file commands follow special rules:
Definition at line 22 of file FileCmdAbstract.h.
FileCmdAbstract::FileCmdAbstract | ( | const QString & | cmdDescription | ) |
Single constructor.
Definition at line 12 of file FileCmdAbstract.cpp.
|
virtual |
Definition at line 17 of file FileCmdAbstract.cpp.
|
protected |
Command description for logging.
Definition at line 21 of file FileCmdAbstract.cpp.
|
pure virtual |
Apply this command, through MainWindow.
Implemented in FileCmdClose, FileCmdExport, FileCmdImport, and FileCmdOpen.