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

Last change on this file since 10589 was 8296, checked in by stuerze, 7 years ago

minor changes

File size: 530 bytes
RevLine 
[1535]1#ifndef BNCSETTINGS_H
2#define BNCSETTINGS_H
3
[4072]4#include <QMutex>
[8296]5#include <QVariant>
[1535]6
[4070]7class bncSettings {
[1535]8 public:
[4077]9 bncSettings();
[4070]10 ~bncSettings();
[8296]11 QVariant value(const QString& key,
[4070]12 const QVariant& defaultValue = QVariant()) const;
13 void setValue(const QString &key, const QVariant& value);
14 void remove(const QString& key );
[6411]15 bool contains(const QString& key) const;
[8296]16 void reRead();
[4070]17 void sync();
[1535]18 private:
[4078]19 void setValue_p(const QString &key, const QVariant& value);
[4072]20 static QMutex _mutex;
[1535]21};
22
23#endif
Note: See TracBrowser for help on using the repository browser.