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

Last change on this file since 8252 was 6411, checked in by mervart, 10 years ago
File size: 512 bytes
RevLine 
[1535]1#ifndef BNCSETTINGS_H
2#define BNCSETTINGS_H
3
[4072]4#include <QMutex>
[1535]5
[4070]6class bncSettings {
[1535]7 public:
[4077]8 bncSettings();
[4070]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 );
[6411]14 bool contains(const QString& key) const;
15 void reRead();
[4070]16 void sync();
[1535]17 private:
[4078]18 void setValue_p(const QString &key, const QVariant& value);
[4072]19 static QMutex _mutex;
[1535]20};
21
22#endif
Note: See TracBrowser for help on using the repository browser.