vmbx/vmbxcpplugin/inc/customedit.h
changeset 27 7eb70891911c
child 35 6aefa3341fcc
equal deleted inserted replaced
23:427125ac6cb8 27:7eb70891911c
       
     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 CUSTOMEDIT_H
       
    19 #define CUSTOMEDIT_H
       
    20 
       
    21 #include <hblineedit.h>
       
    22 
       
    23 class CustomEdit : public HbLineEdit
       
    24 {
       
    25     Q_OBJECT
       
    26 public:
       
    27 
       
    28     /*!
       
    29         Constructor
       
    30     */
       
    31     explicit CustomEdit(QGraphicsItem *parent = 0);
       
    32 
       
    33     /*!
       
    34         Distructor
       
    35     */
       
    36     virtual ~CustomEdit();
       
    37 
       
    38     /*!
       
    39         Rewriten,from base class HbLineEdit
       
    40     */    
       
    41     void focusInEvent ( QFocusEvent * event );
       
    42 
       
    43 signals:
       
    44 
       
    45     /*!
       
    46         Click line edit
       
    47     */
       
    48     void editItemClicked();
       
    49 };
       
    50 
       
    51 #endif //CUSTOMEDIT_H
       
    52