Mywebwidget3/main.cpp
changeset 2 fa1a8300ce01
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Mywebwidget3/main.cpp	Mon Oct 25 10:35:17 2010 -0700
@@ -0,0 +1,32 @@
+/*
+* Copyright (c) 2010 Symbian Foundation.
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Symbian Foundation - Initial contribution
+*
+* Description:
+* Project main function.
+*/
+
+#include <QtGui/QApplication>
+#include "mywebwidget.h"
+
+int main(int argc, char *argv[])
+{
+    QApplication a(argc, argv);
+
+    MyWebWidget w;
+
+#if defined(Q_WS_S60)
+    w.showMaximized();
+#else
+    w.show();
+#endif
+
+    return a.exec();
+}