2010-10-08 13:33:10 +02:00
|
|
|
#include "mainwindow.h"
|
|
|
|
|
|
2010-05-28 17:10:03 +02:00
|
|
|
#include <QtGui/QApplication>
|
|
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
|
{
|
2010-10-08 13:33:10 +02:00
|
|
|
QApplication app(argc, argv);
|
|
|
|
|
|
|
|
|
|
MainWindow mainWindow;
|
|
|
|
|
mainWindow.setOrientation(MainWindow::Auto);
|
2010-07-07 10:34:06 +02:00
|
|
|
|
|
|
|
|
//! [0]
|
2010-10-08 13:33:10 +02:00
|
|
|
#ifdef Q_OS_SYMBIAN
|
|
|
|
|
mainWindow.showFullScreen();
|
|
|
|
|
#elif defined(Q_WS_MAEMO_5)
|
|
|
|
|
mainWindow.showMaximized();
|
2010-05-28 17:10:03 +02:00
|
|
|
#else
|
2010-10-08 13:33:10 +02:00
|
|
|
mainWindow.show();
|
2010-05-28 17:10:03 +02:00
|
|
|
#endif
|
2010-07-07 10:34:06 +02:00
|
|
|
//! [0]
|
2010-05-28 17:10:03 +02:00
|
|
|
|
2010-10-08 13:33:10 +02:00
|
|
|
return app.exec();
|
2010-05-28 17:10:03 +02:00
|
|
|
}
|