source: ntrip/trunk/BNC/bncsettings.cpp@ 1536

Last change on this file since 1536 was 1536, checked in by mervart, 15 years ago

* empty log message *

File size: 2.5 KB
Line 
1/* -------------------------------------------------------------------------
2 * BKG NTRIP Client
3 * -------------------------------------------------------------------------
4 *
5 * Class: bncSettings
6 *
7 * Purpose: Subclasses the QSettings
8 *
9 * Author: L. Mervart
10 *
11 * Created: 25-Jan-2009
12 *
13 * Changes:
14 *
15 * -----------------------------------------------------------------------*/
16
17#include <QStringList>
18
19#include "bncsettings.h"
20
21// Constructor
22////////////////////////////////////////////////////////////////////////////
23bncSettings::bncSettings() : QSettings() {
24
25 if (allKeys().size() == 0) {
26 setValue("adviseFail", "15");
27 setValue("adviseReco", "5");
28 setValue("adviseScript", "");
29 setValue("autoStart", "0");
30 setValue("binSampl", "0");
31 setValue("casterUrlList", (QStringList()
32 << "http://user:pass@www.euref-ip.net:2101"
33 << "http://user:pass@www.igs-ip.net:2101"));
34 setValue("corrIntr", "1 day");
35 setValue("corrPath", "");
36 setValue("corrPort", "");
37 setValue("corrTime", "5");
38 setValue("ephIntr", "1 day");
39 setValue("ephPath", "");
40 setValue("ephV3", "0");
41 setValue("logFile", "");
42 setValue("makePause", "0");
43 setValue("miscMount", "");
44 setValue("mountPoints", "");
45 setValue("ntripVersion", "1");
46 setValue("obsRate", "");
47 setValue("onTheFlyInterval", "1 day");
48 setValue("outEphPort", "");
49 setValue("outFile", "");
50 setValue("outPort", "");
51 setValue("outUPort", "");
52 setValue("perfIntr", "");
53 setValue("proxyHost", "");
54 setValue("proxyPort", "");
55 setValue("rnxAppend", "0");
56 setValue("rnxIntr", "1 day");
57 setValue("rnxPath", "");
58 setValue("rnxSampl", "0");
59 setValue("rnxScript", "");
60 setValue("rnxSkel", "SKL");
61 setValue("rnxV3", "0");
62 setValue("scanRTCM", "0");
63 setValue("serialAutoNMEA", "0");
64 setValue("serialBaudRate", "9600");
65 setValue("serialDataBits", "8");
66 setValue("serialMountPoint", "");
67 setValue("serialParity", "NONE");
68 setValue("serialPortName", "");
69 setValue("serialStopBits", "1");
70 setValue("startTab", "0");
71 setValue("waitTime", "5");
72 }
73}
74
Note: See TracBrowser for help on using the repository browser.