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

Last change on this file since 4103 was 4078, checked in by mervart, 13 years ago
File size: 491 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 sync();
17 private:
18 void setValue_p(const QString &key, const QVariant& value);
19 bncApp* _bncApp;
20 static QMutex _mutex;
21};
22
23#endif
Note: See TracBrowser for help on using the repository browser.