1
/***************************************************************************
4
begin : Die Mai 8 21:20:50 CEST 2001
5
copyright : (C) 2001 by Volker Schroer
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
18
#include <qapplication.h>
21
#include <qtextcodec.h>
22
#include <qtranslator.h>
26
#include "parameter.h"
29
int main(int argc, char *argv[])
35
if (settings.DemoMode)
38
c += " -- "+settings.callsign;
39
QApplication a(argc, argv);
40
a.setFont(QFont("helvetica", 12));
42
// set the location where your .qm files are in load() below as the last parameter instead of "."
43
// for development, use "/" to use the english original as
44
// .qm files are stored in the base project directory.
45
tor.load( QString("linpsk.") + QTextCodec::locale(), "/" );
47
a.installTranslator( &tor );
48
/* uncomment the following line, if you want a Windows 95 look*/
49
// a.setStyle(WindowsStyle);
51
LinPskApp *LinPsk=new LinPskApp();
52
a.setMainWidget(LinPsk);
53
LinPsk->setCaption(c);