calendarui/views/inc/calensettingsview.h
branchRCL_3
changeset 29 12af337248b1
equal deleted inserted replaced
28:96907930389d 29:12af337248b1
       
     1 /*
       
     2 * Copyright (c) 2008-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:  Header file for the class CalenSettingsView
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DTSETTINGVIEW_H
       
    20 #define DTSETTINGVIEW_H
       
    21 
       
    22 #include <QObject>
       
    23 #include <hbview.h>
       
    24 
       
    25 class QGraphicsItem;
       
    26 class HbDataForm;
       
    27 class HbAction;
       
    28 class CalenSettings;
       
    29 class MCalenServices;
       
    30 
       
    31 #ifdef  CALENVIEWS_DLL
       
    32 #define CALENSETTINGSVIEW_EXPORT Q_DECL_EXPORT
       
    33 #else
       
    34 #define CALENSETTINGSVIEW_EXPORT Q_DECL_IMPORT
       
    35 #endif
       
    36 
       
    37 class CALENSETTINGSVIEW_EXPORT CalenSettingsView : public HbView
       
    38 {
       
    39 	Q_OBJECT
       
    40 
       
    41 public:
       
    42     CalenSettingsView(MCalenServices& services, QGraphicsItem *parent = 0);
       
    43 	~CalenSettingsView();
       
    44 
       
    45 public:
       
    46     void initializeForm();
       
    47     void refreshView();
       
    48     
       
    49 private slots:
       
    50 	void launchPreviousView();
       
    51 	
       
    52 private:
       
    53 	MCalenServices  &mServices;
       
    54 	HbDataForm *mCalenSettingsForm;
       
    55 	CalenSettings *mCalenSettings;
       
    56 	/**
       
    57    * @var mSoftKeyAction
       
    58    * @brief Holder for soft key action
       
    59    */
       
    60   HbAction *mSoftKeyAction;
       
    61 };
       
    62 
       
    63 #endif // DTSETTINGVIEW_H
       
    64 
       
    65 // End of file