controlpanelplugins/aboutplugin/src/cpaboutview.h
changeset 40 593f946f4fec
equal deleted inserted replaced
22:a5692c68d772 40:593f946f4fec
       
     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	CPABOUTVIEW_H
       
    18 #define	CPABOUTVIEW_H
       
    19 
       
    20 #include <cpbasesettingview.h>
       
    21 #include "cpabout_global.h"
       
    22 
       
    23 class CpAboutThirdPartyView;
       
    24 class CpAboutOpenSourceView;
       
    25 
       
    26 class CpAboutView : public CpBaseSettingView
       
    27 {
       
    28     Q_OBJECT
       
    29     
       
    30 public:
       
    31     explicit CpAboutView(QGraphicsItem *parent = 0);
       
    32     virtual ~CpAboutView();
       
    33     
       
    34 private slots:
       
    35     void openThirdPartyView();
       
    36     void openOpenSourceView();
       
    37     void handleThirdPartyViewBackAction();
       
    38     void handleOpenSourceViewBackAction();
       
    39     
       
    40 private:    
       
    41     CpAboutThirdPartyView *mThirdPartyView;
       
    42     HbAction *mThirdPartyBackAction;
       
    43     CpAboutOpenSourceView *mOpenSourceView;
       
    44     HbAction *mOpenSourceBackAction;    
       
    45     ABOUT_TEST_FRIEND_CLASS(TestAboutPlugin)
       
    46 };
       
    47 #endif //CPABOUTVIEW_H