ListElements/EasyStreet/main.cpp
author John Kern <johnk@symbian.org>
Fri, 03 Sep 2010 10:38:13 -0700
changeset 42 b9716e8867f1
permissions -rwxr-xr-x
checking in example; variations on List Widgets
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
42
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
     1
#include <QtGui/QApplication>
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
     2
#include <QListWidget>
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
     3
#include "mainwindow.h"
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
     4
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
     5
int main(int argc, char *argv[])
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
     6
{
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
     7
    QApplication a(argc, argv);
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
     8
    MainWindow w;
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
     9
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
    10
#if defined(Q_WS_S60)
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
    11
    w.showMaximized();
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
    12
#else
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
    13
    w.show();
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
    14
#endif
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
    15
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
    16
    return a.exec();
b9716e8867f1 checking in example; variations on List Widgets
John Kern <johnk@symbian.org>
parents:
diff changeset
    17
}