12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #ifndef EXCONFIG_H
- #define EXCONFIG_H
- #include <QObject>
- 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
|