3 #ifndef pqAutoSaveBehavior_h 4 #define pqAutoSaveBehavior_h 31 typedef QObject Superclass;
51 static void saveState();
58 static QDir getStateDirectory();
65 static QString formatToExtension(
StateFormat format);
70 static bool autoSaveSettingEnabled();
75 static void setAutoSaveSetting(
bool enable);
88 void updateConnections();
90 void clearConnections();
101 static QString getStatePath(
bool bak);
107 static QString getLastStatePath();
113 static QString getBakStatePath();
117 QPointer<pqUndoStack> ObservedStack;
118 bool HasChanges =
false;
: pqAutoSaveBehavior save states automatically in the background.
#define PQAPPLICATIONCOMPONENTS_EXPORT