Seafood/main.cpp
author John Kern <johnk@symbian.org>
Wed, 24 Mar 2010 14:05:38 -0700
changeset 3 e6d1a78b6db9
child 11 f3dbeee07821
permissions -rw-r--r--
wip - start of an example for my forthcoming presentation

#include <QtGui/QApplication>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    w.createMenus();
    w.setWindowTitle("Seafood T");
#if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5)
    w.showMaximized();
#else
    w.show();
#endif
    return a.exec();
}