emailuis/nmsettingui/inc/nmmailboxentryitem.h
branchRCL_3
changeset 63 d189ee25cf9d
child 68 83cc6bae1de8
equal deleted inserted replaced
61:dcf0eedfc1a3 63:d189ee25cf9d
       
     1 /*
       
     2 * Copyright (c) 2010 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 NMMAILBOXENTRYITEM_H
       
    19 #define NMMAILBOXENTRYITEM_H
       
    20 
       
    21 #include <cpsettingformentryitemdata.h>
       
    22 #include <nmcommon.h>
       
    23 
       
    24 class CpItemDataHelper;
       
    25 class HbIcon;
       
    26 class HbDataFormModelItem;
       
    27 class QString;
       
    28 
       
    29 class NmMailboxEntryItem : public CpSettingFormEntryItemData
       
    30 {
       
    31 Q_OBJECT
       
    32 
       
    33 public:
       
    34 
       
    35     explicit NmMailboxEntryItem(CpItemDataHelper &itemDataHelper,
       
    36         const NmId &mailboxId,
       
    37         const QString &mailboxName = QString(),
       
    38         const HbIcon &mailboxIcon = HbIcon(),
       
    39         const HbDataFormModelItem *parent = 0,
       
    40         const QString &mailboxDescription = QString());
       
    41 
       
    42     virtual ~NmMailboxEntryItem();
       
    43 
       
    44     CpBaseSettingView *createSettingView() const;
       
    45 
       
    46     const NmId &id() const;
       
    47 
       
    48 private:
       
    49 
       
    50     Q_DISABLE_COPY(NmMailboxEntryItem)
       
    51 
       
    52 private: // data
       
    53 
       
    54     NmId mMailboxId;
       
    55 };
       
    56 
       
    57 #endif // NMMAILBOXENTRYITEM_H