phonebookui/pbkcommonui/inc/cntemaileditorview.h
changeset 24 0ba2181d7c28
equal deleted inserted replaced
0:e686773b3f54 24:0ba2181d7c28
       
     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 
       
    18 #ifndef CNTEMAILEDITORVIEW_H
       
    19 #define CNTEMAILEDITORVIEW_H
       
    20 
       
    21 #include "cntbasedetaileditorview.h"
       
    22 
       
    23 #include <QStandardItemModel>
       
    24 
       
    25 class CntEmailEditorView : public CntBaseDetailEditorView
       
    26 {
       
    27     Q_OBJECT
       
    28 
       
    29 public:
       
    30     CntEmailEditorView(CntViewManager *viewManager, QGraphicsItem *parent = 0);
       
    31     ~CntEmailEditorView();
       
    32 
       
    33 public: 
       
    34     CntViewParameters::ViewId viewId() const { return CntViewParameters::emailEditorView; }
       
    35     void initializeForm();
       
    36     QStandardItemModel *itemModel();
       
    37     
       
    38 public slots:
       
    39     void addDetail();
       
    40     void aboutToCloseView();
       
    41 
       
    42 };
       
    43 
       
    44 #endif // CNTEMAILEDITORVIEW_H