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

Last change on this file since 5060 was 5001, checked in by mervart, 12 years ago
File size: 577 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();
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 reRead();
19 void sync();
20 private:
21 void setValue_p(const QString &key, const QVariant& value);
22 t_app* _app;
23 static QMutex _mutex;
24};
25
26} // namespace GnssCenter
27
28#endif
Note: See TracBrowser for help on using the repository browser.