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

Last change on this file since 4390 was 4278, checked in by mervart, 12 years ago
File size: 508 bytes
Line 
1#ifndef BNCSETTINGS_H
2#define BNCSETTINGS_H
3
4#include <QMutex>
5
6class bncApp;
7
8class bncSettings {
9 public:
10 bncSettings();
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 reRead();
17 void sync();
18 private:
19 void setValue_p(const QString &key, const QVariant& value);
20 bncApp* _bncApp;
21 static QMutex _mutex;
22};
23
24#endif
Note: See TracBrowser for help on using the repository browser.