some more work
[qnetwalk-mobile:qnetwalk-mobile.git] / main.cpp
1
2 //  qnetwalk/main.cpp
3 //  Copyright (C) 2004-2008, Andi Peredri <andi@ukr.net>
4 //  Ported to Symbian by Ahmad Mushtaq <ahmad.mushtaq@gmail.com>
5
6 #include <QApplication>
7
8 #include "mainwindow.h"
9
10 int main(int argc, char ** argv)
11 {
12 #ifdef Q_OS_SYMBIAN
13     QApplication::setAttribute (Qt::AA_S60DontConstructApplicationPanes);
14 #endif
15
16     QApplication app(argc, argv);
17
18     MainWindow window;
19     window.show();
20
21
22 #if defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5)
23     window.showFullScreen();
24 #else
25     window.show();
26 #endif
27
28     return app.exec();
29 }
30