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);
40 void wizardEnabledChanged();
43 void watcherFileChanged();
46 Q_DISABLE_COPY(System)
48 static QString wizardEnabledPath();
49 static
void setSessionVariable(const QString &variable, const QString &value);
51 QFileSystemWatcher m_fsWatcher;