Crossfire Server, Trunk  R20513
CRESettings.h
Go to the documentation of this file.
1 #ifndef CLASS_CRE_SETTINGS_H
2 #define CLASS_CRE_SETTINGS_H
3 
4 #include <QSettings>
5 
8 
9 class CRESettings : protected QSettings
10 {
11  public:
12  CRESettings();
13 
14  bool ensureOptions();
15 
16  QString mapCacheDirectory() const;
17 
19  void saveFilters(const CREFilterDefinitionManager& filters);
20 
22  void saveReports(const CREReportDefinitionManager& reports);
23 };
24 
25 #endif // CLASS_CRE_SETTINGS_H
void saveFilters(const CREFilterDefinitionManager &filters)
Definition: CRESettings.cpp:53
QString mapCacheDirectory() const
Definition: CRESettings.cpp:43
void saveReports(const CREReportDefinitionManager &reports)
Definition: CRESettings.cpp:65
bool ensureOptions()
Definition: CRESettings.cpp:11
void loadFilters(CREFilterDefinitionManager &filters)
Definition: CRESettings.cpp:48
void loadReports(CREReportDefinitionManager &reports)
Definition: CRESettings.cpp:60