17 #ifndef WIZARD_SYSTEM_H 18 #define WIZARD_SYSTEM_H 20 #include <QFileSystemWatcher> 24 class System :
public QObject
27 Q_PROPERTY(
bool wizardEnabled READ wizardEnabled WRITE setWizardEnabled NOTIFY wizardEnabledChanged)
33 bool wizardEnabled()
const;
34 void setWizardEnabled(
bool enabled);
37 void updateSessionLocale(
const QString &locale);
41 void skipUntilFinishedPage();
44 void wizardEnabledChanged();
47 void watcherFileChanged();
50 Q_DISABLE_COPY(System)
52 static QString wizardEnabledPath();
53 static
void setSessionVariable(const QString &variable, const QString &value);
55 QFileSystemWatcher m_fsWatcher;