| Line | |
|---|
| 1 |
|
|---|
| 2 | /* -------------------------------------------------------------------------
|
|---|
| 3 | * RTNet DlgConf
|
|---|
| 4 | * -------------------------------------------------------------------------
|
|---|
| 5 | *
|
|---|
| 6 | * Class: t_dlgConf
|
|---|
| 7 | *
|
|---|
| 8 | * Purpose: Set configuration
|
|---|
| 9 | *
|
|---|
| 10 | * Author: L. Mervart
|
|---|
| 11 | *
|
|---|
| 12 | * Created: 15-Sep-2013
|
|---|
| 13 | *
|
|---|
| 14 | * Changes:
|
|---|
| 15 | *
|
|---|
| 16 | * -----------------------------------------------------------------------*/
|
|---|
| 17 |
|
|---|
| 18 | #include "dlgconf.h"
|
|---|
| 19 | #include "settings.h"
|
|---|
| 20 | #include "const.h"
|
|---|
| 21 |
|
|---|
| 22 | using namespace std;
|
|---|
| 23 | using namespace GnssCenter;
|
|---|
| 24 |
|
|---|
| 25 | // Constructor
|
|---|
| 26 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 27 | t_dlgConf::t_dlgConf(QWidget* parent) : QDialog(parent) {
|
|---|
| 28 |
|
|---|
| 29 | t_settings settings(pluginName);
|
|---|
| 30 | settings.setValue("host", "rtnet.rtcm-ntrip.org");
|
|---|
| 31 | settings.setValue("port", 7777);
|
|---|
| 32 | settings.sync();
|
|---|
| 33 |
|
|---|
| 34 | }
|
|---|
| 35 |
|
|---|
| 36 | // Destructor
|
|---|
| 37 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 38 | t_dlgConf::~t_dlgConf() {
|
|---|
| 39 | }
|
|---|
| 40 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.