source: ntrip/trunk/GnssCenter/main/app.cpp@ 10514

Last change on this file since 10514 was 5086, checked in by mervart, 12 years ago
File size: 1.3 KB
RevLine 
[4814]1/* -------------------------------------------------------------------------
2 * RTNet GUI
3 * -------------------------------------------------------------------------
4 *
[4863]5 * Class: t_app
[4814]6 *
7 * Purpose: This class implements the main application
8 *
9 * Author: L. Mervart
10 *
11 * Created: 05-Jan-2013
12 *
13 * Changes:
14 *
15 * -----------------------------------------------------------------------*/
16
[4863]17#include "app.h"
[4814]18
19using namespace std;
[5001]20using namespace GnssCenter;
[4814]21
22// Constructor
23////////////////////////////////////////////////////////////////////////////
[4863]24t_app::t_app(int& argc, char* argv[], bool GUIenabled) :
[4814]25 QApplication(argc, argv, GUIenabled) {
26}
27
28// Destructor
29////////////////////////////////////////////////////////////////////////////
[4863]30t_app::~t_app() {
[4814]31}
32
33//
34////////////////////////////////////////////////////////////////////////////
[4863]35void t_app::setConfFileName(const QString& confFileName) {
[4814]36 if (confFileName.isEmpty()) {
37 _confFileName = QDir::homePath() + QDir::separator()
38 + ".config" + QDir::separator()
39 + organizationName() + QDir::separator()
40 + applicationName() + ".conf";
41 }
42 else {
43 _confFileName = confFileName;
44 }
45}
[5086]46
47//
48////////////////////////////////////////////////////////////////////////////
49void t_app::slotMessage(QByteArray msg) {
50 qDebug() << msg;
51}
Note: See TracBrowser for help on using the repository browser.