source: ntrip/trunk/BNC/src/bncsettings.h@ 6136

Last change on this file since 6136 was 5066, checked in by mervart, 12 years ago
File size: 468 bytes
Line 
1#ifndef BNCSETTINGS_H
2#define BNCSETTINGS_H
3
4#include <QMutex>
5
6class bncSettings {
7 public:
8 bncSettings();
9 ~bncSettings();
10 QVariant value(const QString& key,
11 const QVariant& defaultValue = QVariant()) const;
12 void setValue(const QString &key, const QVariant& value);
13 void remove(const QString& key );
14 void reRead();
15 void sync();
16 private:
17 void setValue_p(const QString &key, const QVariant& value);
18 static QMutex _mutex;
19};
20
21#endif
Note: See TracBrowser for help on using the repository browser.