source: ntrip/trunk/BNS/bnssettings.cpp@ 1728

Last change on this file since 1728 was 1728, checked in by weber, 15 years ago

* empty log message *

File size: 1.9 KB
RevLine 
[1668]1/* -------------------------------------------------------------------------
2 * BKG NTRIP Server
3 * -------------------------------------------------------------------------
4 *
5 * Class: bnsSettings
6 *
7 * Purpose: Subclasses the QSettings
8 *
9 * Author: G. Weber
10 *
11 * Created: 27-Feb-2009
12 *
13 * Changes:
14 *
15 * -----------------------------------------------------------------------*/
16
17#include "bnssettings.h"
[1680]18#include "bnsapp.h"
[1668]19
20// Constructor
21////////////////////////////////////////////////////////////////////////////
22bnsSettings::bnsSettings() :
23 QSettings(((bnsApp*) qApp)->confFileName(), QSettings::IniFormat) {
24
25 if (allKeys().size() == 0) {
26 setValue("proxyHost", "");
27 setValue("proxyPort", "");
[1728]28
[1668]29 setValue("logFile", "");
[1728]30 setValue("fileAppend", "0");
[1695]31 setValue("autoStart", "0");
[1728]32
[1668]33 setValue("ephHost", "");
34 setValue("ephPort", "");
35 setValue("ephEcho", "");
[1728]36
[1668]37 setValue("clkPort", "");
[1695]38 setValue("inpEcho", "");
[1728]39
[1668]40 setValue("outHost1", "");
41 setValue("outPort1", "");
[1695]42 setValue("mountpoint_1","");
43 setValue("password1", "");
44 setValue("refSys_1", "IGS05");
[1728]45 setValue("beClocks1", "0");
[1695]46 setValue("outFile_1", "");
[1728]47
[1668]48 setValue("outHost2", "");
49 setValue("outPort2", "");
50 setValue("mountpoint_2","");
[1695]51 setValue("password2", "");
52 setValue("refSys_2", "IGS05");
[1728]53 setValue("beClocks2", "0");
[1668]54 setValue("outFile_2", "");
[1728]55
56 setValue("outHost3", "");
57 setValue("outPort3", "");
58 setValue("mountpoint_3","");
59 setValue("password3", "");
60 setValue("refSys_3", "IGS05");
61 setValue("beClocks3", "0");
62 setValue("outFile_3", "");
63
[1668]64 setValue("rnxPath", "");
65 setValue("rnxIntr", "1 min");
66 setValue("rnxSampl", "0");
[1728]67
[1668]68 setValue("sp3Path", "");
69 setValue("sp3Intr", "10 min");
70 setValue("sp3Sampl", "0");
[1728]71
[1668]72 setValue("startTab", "0");
73 sync();
74 }
75}
76
Note: See TracBrowser for help on using the repository browser.