source: ntrip/trunk/GnssCenter/main/settings.h@ 10492

Last change on this file since 10492 was 5453, checked in by mervart, 11 years ago
File size: 570 bytes
Line 
1#ifndef GnssCenter_SETTINGS_H
2#define GnssCenter_SETTINGS_H
3
4#include <QMutex>
5
6namespace GnssCenter {
7
8class t_app;
9
10class t_settings {
11 public:
12 t_settings(const QString& groupName = QString());
13 ~t_settings();
14 QVariant value(const QString& key,
15 const QVariant& defaultValue = QVariant()) const;
16 void setValue(const QString &key, const QVariant& value);
17 void remove(const QString& key );
18 void sync();
19 private:
20 void reRead();
21 t_app* _app;
22 QString _groupName;
23 static QMutex _mutex;
24};
25
26} // namespace GnssCenter
27
28#endif
Note: See TracBrowser for help on using the repository browser.