]> ruin.nu Git - adress.git/blob - main.cpp
Fixed the search function.
[adress.git] / main.cpp
1
2 #include <qapplication.h>
3 #include <qfont.h>
4 #include <qstring.h>
5 #include <qtextcodec.h>
6 #include <qtranslator.h>
7
8 #include "mainwindow.h"
9
10 int main(int argc, char *argv[])
11 {
12   QApplication a(argc, argv);
13   //a.setFont(QFont("helvetica", 12));
14   //QTranslator tor( 0 );
15   // set the location where your .qm files are in load() below as the last parameter instead of "."
16   // for development, use "/" to use the english original as
17   // .qm files are stored in the base project directory.
18   //tor.load( QString("|.") + QTextCodec::locale(), "." );
19   //a.installTranslator( &tor );
20   /* uncomment the following line, if you want a Windows 95 look*/
21   // a.setStyle(WindowsStyle);
22     
23   MainWindow* mw=new MainWindow();
24   a.setMainWidget(mw);
25
26   mw->show();
27
28   return a.exec();
29 }
30
31