1
/***************************************************************************
4
begin : Mon Feb 18 09:48:17 CET 2002
5
copyright : (C) 2002 by Tue and Ken Haste Andersen
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
int main(int argc, char *argv[])
28
QApplication a(argc, argv);
29
a.setFont(QFont("helvetica", 12));
31
// set the location where your .qm files are in load() below as the last parameter instead of "."
32
// for development, use "/" to use the english original as
33
// .qm files are stored in the base project directory.
34
tor.load( QString("mixxx.") + QTextCodec::locale(), "." );
35
a.installTranslator( &tor );
36
/* uncomment the following line, if you want a Windows 95 look*/
37
// a.setStyle(WindowsStyle);
39
MixxxApp *mixxx=new MixxxApp();
40
a.setMainWidget(mixxx);
41
mixxx->resize( 150+310, 310+210+70);