phonebookui/pbkcommonui/inc/cntnoteeditorviewitem.h
branchRCL_3
changeset 62 5b6f26637ad3
equal deleted inserted replaced
58:d4f567ce2e7c 62:5b6f26637ad3
       
     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 CNTNOTEEDITORVIEWITEM_H_
       
    19 #define CNTNOTEEDITORVIEWITEM_H_
       
    20 
       
    21 #include "cntdetailviewitem.h"
       
    22 #include <hbabstractviewitem.h>
       
    23 #include <qgraphicslinearlayout.h>
       
    24 #include <hbwidget.h>
       
    25 #include <hbtextitem.h>
       
    26 #include <hblineedit.h>
       
    27 
       
    28 class CntNoteEditorViewItem : public CntDetailViewItem
       
    29     {
       
    30     Q_OBJECT
       
    31     
       
    32 public:
       
    33     CntNoteEditorViewItem( QGraphicsItem* aParent = 0 );
       
    34     ~CntNoteEditorViewItem();
       
    35     
       
    36 public:
       
    37     HbAbstractViewItem* createItem();
       
    38     HbWidget* createCustomWidget();
       
    39     
       
    40 public slots:
       
    41     void textChanged(const QString &text);
       
    42     
       
    43 private:
       
    44     HbLineEdit* mEdit;
       
    45     QGraphicsLinearLayout* mLayout;
       
    46     
       
    47     friend class T_NoteEditorTest;
       
    48     };
       
    49 
       
    50 #endif /* CNTNOTEEDITORVIEWITEM_H_ */