DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
mrupathmanager.h
Go to the documentation of this file.
1 #ifndef MRUPATHMANAGER_H
2 #define MRUPATHMANAGER_H
3 
4 #include <QSettings>
5 
7 {
8 public:
9  enum MRUType {
13  N
14  };
15 
16  enum SetOptions {
19  };
20 
22 
23  QString getMru(MRUType type) const;
24  void setMru(MRUType type, const QString &path, SetOptions opt = FilePath);
25 
26 private:
27  QSettings settings;
28 
29  static const char *codes[];
30 };
31 
32 #endif // MRUPATHMANAGER_H
Definition: mrupathmanager.h:11
Definition: mrupathmanager.h:13
QString getMru(MRUType type) const
Definition: mrupathmanager.cpp:36
SetOptions
Definition: mrupathmanager.h:16
Definition: mrupathmanager.h:12
void setMru(MRUType type, const QString &path, SetOptions opt=FilePath)
Definition: mrupathmanager.cpp:41
Definition: mrupathmanager.h:10
MRUType
Definition: mrupathmanager.h:9
Definition: mrupathmanager.h:18
Definition: mrupathmanager.h:6
MruPathManager()
Definition: mrupathmanager.cpp:31
Definition: mrupathmanager.h:17