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

Last change on this file since 7246 was 6411, checked in by mervart, 10 years ago
File size: 512 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 bool contains(const QString& key) const;
15 void reRead();
16 void sync();
17 private:
18 void setValue_p(const QString &key, const QVariant& value);
19 static QMutex _mutex;
20};
21
22#endif
Note: See TracBrowser for help on using the repository browser.