Crossfire Server, Trunk
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  QString facesetToDisplay() const;
25  void setFacesetToDisplay(const QString& faceset);
26  bool facesetUseFallback() const;
27  void setFacesetUseFallback(bool use);
28 
29  bool showChanges() const;
30  void setShowChanges(bool show);
31 
32  int changesLength() const;
33  void setChangesLength(int length);
34 };
35 
36 #endif // CLASS_CRE_SETTINGS_H
CREReportDefinitionManager
Definition: CREReportDefinitionManager.h:9
CRESettings::setShowChanges
void setShowChanges(bool show)
Definition: CRESettings.cpp:96
CREReportDefinitionManager.h
CRESettings::loadReports
void loadReports(CREReportDefinitionManager &reports)
Definition: CRESettings.cpp:60
CREFilterDefinitionManager
Definition: CREFilterDefinitionManager.h:9
CRESettings::loadFilters
void loadFilters(CREFilterDefinitionManager &filters)
Definition: CRESettings.cpp:48
CRESettings::saveFilters
void saveFilters(const CREFilterDefinitionManager &filters)
Definition: CRESettings.cpp:53
CRESettings::setChangesLength
void setChangesLength(int length)
Definition: CRESettings.cpp:104
CRESettings::CRESettings
CRESettings()
Definition: CRESettings.cpp:7
CRESettings::mapCacheDirectory
QString mapCacheDirectory() const
Definition: CRESettings.cpp:43
CRESettings::changesLength
int changesLength() const
Definition: CRESettings.cpp:100
CRESettings::setFacesetUseFallback
void setFacesetUseFallback(bool use)
Definition: CRESettings.cpp:87
CRESettings::setFacesetToDisplay
void setFacesetToDisplay(const QString &faceset)
Definition: CRESettings.cpp:77
CRESettings
Definition: CRESettings.h:9
CRESettings::ensureOptions
bool ensureOptions()
Definition: CRESettings.cpp:11
CRESettings::facesetToDisplay
QString facesetToDisplay() const
Definition: CRESettings.cpp:72
CRESettings::facesetUseFallback
bool facesetUseFallback() const
Definition: CRESettings.cpp:82
CRESettings::saveReports
void saveReports(const CREReportDefinitionManager &reports)
Definition: CRESettings.cpp:65
CREFilterDefinitionManager.h
CRESettings::showChanges
bool showChanges() const
Definition: CRESettings.cpp:92