3 #ifndef pqAutoSaveBehavior_h 4 #define pqAutoSaveBehavior_h 6 #include "pqApplicationComponentsModule.h" 32 typedef QObject Superclass;
46 static void saveState();
53 static QDir getStateDirectory();
58 static bool autoSaveSettingEnabled();
63 static void setAutoSaveSetting(
bool enable);
76 void updateConnections();
78 void clearConnections();
89 static QString getStatePath(
bool bak);
95 static QString getLastStatePath();
101 static QString getBakStatePath();
105 QPointer<pqUndoStack> ObservedStack;
106 bool HasChanges =
false;
: pqAutoSaveBehavior save states automatically in the background.
StateFileFormat
Enum to capture possible Save State file formats.