diff options
author | 2009-12-05 05:39:31 -0500 | |
---|---|---|
committer | 2009-12-05 05:39:31 -0500 | |
commit | f6e7845dcc48e92dfe6748ab09909b6ed5f097c4 (patch) | |
tree | 2527337e0cd856e4134ea002c7861ad276beb153 /main.cpp | |
parent | Initial commit. (diff) | |
download | MessagePopper-master.tar.xz MessagePopper-master.zip |
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 24 |
1 files changed, 16 insertions, 8 deletions
@@ -1,15 +1,23 @@ #include <QApplication> -#include <QHostAddress> - +#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; - a.show(); - - return app.exec(); + 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(); } |