#ifndef QFDCONFIG_H #define QFDCONFIG_H #include extern bool qfReloadHomeProjectsAtShow; class QSettings; class QFDConfig : public QObject { Q_OBJECT public: 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 // QFDCONFIG_H