camerauis/cameraxui/cxui/inc/cxuisettingdialog.h
branchRCL_3
changeset 54 bac7acad7cb3
parent 53 61bc0f252b2b
child 57 2c87b2808fd7
equal deleted inserted replaced
53:61bc0f252b2b 54:bac7acad7cb3
     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 CXUISETTINGDIALOG_H
       
    18 #define CXUISETTINGDIALOG_H
       
    19 
       
    20 #include <QObject>
       
    21 #include <HbDialog>
       
    22 
       
    23 class HbAction;
       
    24 
       
    25 class CxuiSettingDialog : public HbDialog
       
    26 {
       
    27     Q_OBJECT
       
    28 public:
       
    29     explicit CxuiSettingDialog(QGraphicsItem *parent = NULL);
       
    30     ~CxuiSettingDialog();
       
    31 
       
    32 public:
       
    33     void setStarterAction(HbAction *action);
       
    34 
       
    35 signals:
       
    36     void dialogAboutToShow(HbAction *action);
       
    37     void dialogAboutToClose(HbAction *action);
       
    38 
       
    39 protected:
       
    40     void showEvent(QShowEvent *event);
       
    41     void closeEvent(QCloseEvent *event);
       
    42 
       
    43 private:
       
    44     HbAction *mAction;
       
    45 };
       
    46 
       
    47 
       
    48 #endif // CXUISETTINGDIALOG_H