IOModesController

class IOModesController : public QObject

Public Types

enum class Mode

Values:

enumerator READ_ONLY
enumerator CACHE
enumerator WRITE

Public Functions

IOModesController(QWidget *parent)
bool prepareForWriting()
bool canWrite()
bool allChangesComitted()
Mode getIOMode()
void setIOMode(Mode mode)

Public Slots

bool askCommitUnsavedChanges()