controlpanelui/examples/pluginlauncherclient/src/mainview.h
branchRCL_3
changeset 14 5f281e37a2f5
parent 13 90fe62538f66
equal deleted inserted replaced
13:90fe62538f66 14:5f281e37a2f5
     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     
       
    34     void launchQtHighwayProfileView();   
       
    35     
       
    36     void handleReturnValue(const QVariant &returnValue);
       
    37     void handleError(int errorCode,const QString &errorMessage);
       
    38     
       
    39     void closeSettingView();
       
    40     
       
    41 private:
       
    42     Q_DISABLE_COPY(MainView)
       
    43 private:
       
    44     XQApplicationManager mAppMgr;
       
    45     XQAiwRequest *mRequest;
       
    46 };
       
    47 
       
    48 #endif