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)
32 bool wizardEnabled()
const;
33 void setWizardEnabled(
bool enabled);
36 void updateSessionLanguage(
const QString &locale);
39 void wizardEnabledChanged();
42 void watcherFileChanged();
45 Q_DISABLE_COPY(System)
47 static QString wizardEnabledPath();
48 static
void setSessionVariable(const QString &variable, const QString &value);
50 QFileSystemWatcher m_fsWatcher;