#ifndef EXCONFIG_H #define EXCONFIG_H #include class QSettings; class EXConfig : public QObject { Q_OBJECT public: explicit EXConfig(QObject *parent = nullptr); static QSettings *defaultConfig(); static const QString username(); static void setUsername(QString const username); static const QString password(); static void setPassword(QString const password); static bool rememberPassword(); static void setRememberPassword(bool rememberPassword); static int roleType(); static void setRoleType(int roleType); static const QString techMessaureConfig(); static void setTechMessaureConfig(QString const techMessaureConfig); static const QString dbPath(); static void setDbPath(QString const dbPath); static const QString project(); static void setProject(QString const project); static bool passwordModified(); static void setPasswordModified(bool modified); signals: }; #endif // EXCONFIG_H