summaryrefslogtreecommitdiffstats
path: root/main.cpp
blob: 1b850319f0e00a9ddbc8f74afee8725c82e98418 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <QApplication>
#include <QDebug>
#ifdef Q_OS_SYMBIAN
#include "sym_iap_util.h"
#endif
#include "MessageForm.h"
#include "MessageListener.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    MessageForm a;
#ifdef Q_OS_SYMBIAN
    // Connect to IAP
    qDebug() << qt_SetDefaultIap();
    // Make application better looking and more usable on small screen
    a.showMaximized();
#else
     a.show();
#endif
    return app.exec();
}