messagingapp/msgsettings/settingsview/inc/msgsettingsview.h
changeset 23 238255e8b033
child 25 84d9eb65b26f
equal deleted inserted replaced
5:4697dfb2d7ad 23:238255e8b033
       
     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:This is the first view for msgsettings plugin  
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef MSGSETTINGSVIEW_H
       
    19 #define MSGSETTINGSVIEW_H
       
    20 
       
    21 #ifdef  SETTINGSVIEW_DLL
       
    22 #define MSG_SETTING_VIEW_EXPORT Q_DECL_EXPORT
       
    23 #else
       
    24 #define MSG_SETTING_VIEW_EXPORT Q_DECL_IMPORT
       
    25 #endif
       
    26 
       
    27 #include "msgbaseview.h"
       
    28 
       
    29 class HbMainWindow;
       
    30 class HbAction;
       
    31 class MsgSettingsViewManager;
       
    32 
       
    33 class MSG_SETTING_VIEW_EXPORT MsgSettingsView: public MsgBaseView
       
    34 {
       
    35     Q_OBJECT
       
    36 public:
       
    37     MsgSettingsView(QGraphicsItem *parent = 0);
       
    38     ~MsgSettingsView();
       
    39 
       
    40 public slots:
       
    41     void closeSettings();
       
    42     void connectCloseAction();
       
    43     
       
    44 private:
       
    45     //Settings View Manager
       
    46     MsgSettingsViewManager* mSettingsViewManager;
       
    47     
       
    48     HbMainWindow* mMainWindow;
       
    49     HbAction* mBackAction;
       
    50 };
       
    51 #endif // MSGSETTINGSVIEW_H