QFDConfig.h 988 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef QFDCONFIG_H
  2. #define QFDCONFIG_H
  3. #include <QObject>
  4. extern bool qfReloadHomeProjectsAtShow;
  5. class QSettings;
  6. class QFDConfig : public QObject
  7. {
  8. Q_OBJECT
  9. public:
  10. static QSettings *defaultConfig();
  11. static const QString username();
  12. static void setUsername(QString const username);
  13. static const QString password();
  14. static void setPassword(QString const password);
  15. static bool rememberPassword();
  16. static void setRememberPassword(bool rememberPassword);
  17. static int roleType();
  18. static void setRoleType(int roleType);
  19. static const QString techMessaureConfig();
  20. static void setTechMessaureConfig(QString const techMessaureConfig);
  21. static const QString dbPath();
  22. static void setDbPath(QString const dbPath);
  23. static const QString project();
  24. static void setProject(QString const project);
  25. static bool passwordModified();
  26. static void setPasswordModified(bool modified);
  27. signals:
  28. };
  29. #endif // QFDCONFIG_H