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

Last change on this file since 8455 was 5086, checked in by mervart, 12 years ago
File size: 1.3 KB
Line 
1/* -------------------------------------------------------------------------
2 * RTNet GUI
3 * -------------------------------------------------------------------------
4 *
5 * Class: t_app
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
17#include "app.h"
18
19using namespace std;
20using namespace GnssCenter;
21
22// Constructor
23////////////////////////////////////////////////////////////////////////////
24t_app::t_app(int& argc, char* argv[], bool GUIenabled) :
25 QApplication(argc, argv, GUIenabled) {
26}
27
28// Destructor
29////////////////////////////////////////////////////////////////////////////
30t_app::~t_app() {
31}
32
33//
34////////////////////////////////////////////////////////////////////////////
35void t_app::setConfFileName(const QString& confFileName) {
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}
46
47//
48////////////////////////////////////////////////////////////////////////////
49void t_app::slotMessage(QByteArray msg) {
50 qDebug() << msg;
51}
Note: See TracBrowser for help on using the repository browser.