author | John Kern <johnk@symbian.org> |
Thu, 16 Sep 2010 10:59:11 -0700 | |
changeset 49 | d9d4ea56179a |
parent 46 | 702dd26c0f4d |
permissions | -rwxr-xr-x |
#include <QtGui/QApplication> #include "mainwindow.h" #include <QApplication> #include <QPushButton> #include <QVBoxLayout> #include <QHBoxLayout> int main(int argc, char *argv[]) { QApplication::setAttribute(Qt::AA_S60DontConstructApplicationPanes); QApplication a(argc, argv); MainWindow w; w.setWindowTitle("Zodiac"); #if defined(Q_WS_S60) w.showFullScreen(); #else w.show(); #endif a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); }