controlpanelui/examples/pluginlauncherclient/src/mainview.h
changeset 19 36aa4756ee82
child 22 a5692c68d772
equal deleted inserted replaced
12:624337f114fe 19:36aa4756ee82
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "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 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 #ifndef MAINVIEW_H
       
    18 #define MAINVIEW_H
       
    19 
       
    20 #include <hbview.h>
       
    21 #include <xqappmgr.h>
       
    22 
       
    23 class MainView : public HbView
       
    24 {
       
    25 	Q_OBJECT
       
    26 public:
       
    27     explicit MainView(QGraphicsItem *parent = 0);
       
    28     virtual ~MainView();
       
    29 private:
       
    30 	void init();
       
    31 private slots:
       
    32     void launchInProcessProfileView();
       
    33     void launchQtHighwayProfileView();   
       
    34     void handleReturnValue(const QVariant &returnValue);
       
    35     void handleError(int errorCode,const QString &errorMessage);
       
    36 private:
       
    37     Q_DISABLE_COPY(MainView)
       
    38 private:
       
    39     XQApplicationManager mAppMgr;
       
    40 };
       
    41 
       
    42 #endif