source: ntrip/trunk/BNC/bncsettings.h@ 4240

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