Mywebwidget3/main.cpp
changeset 2 fa1a8300ce01
equal deleted inserted replaced
1:3e3364c5ae1c 2:fa1a8300ce01
       
     1 /*
       
     2 * Copyright (c) 2010 Symbian Foundation.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Symbian Foundation - Initial contribution
       
    11 *
       
    12 * Description:
       
    13 * Project main function.
       
    14 */
       
    15 
       
    16 #include <QtGui/QApplication>
       
    17 #include "mywebwidget.h"
       
    18 
       
    19 int main(int argc, char *argv[])
       
    20 {
       
    21     QApplication a(argc, argv);
       
    22 
       
    23     MyWebWidget w;
       
    24 
       
    25 #if defined(Q_WS_S60)
       
    26     w.showMaximized();
       
    27 #else
       
    28     w.show();
       
    29 #endif
       
    30 
       
    31     return a.exec();
       
    32 }