controlpanel/tsrc/unit/ut_cpdataformlistentryviewitem/src/mycpdataformlistentryviewitem.h
branchRCL_3
changeset 25 7e0eff37aedb
parent 24 8ee96d21d9bf
child 26 e78c61e77b1a
equal deleted inserted replaced
24:8ee96d21d9bf 25:7e0eff37aedb
     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 *       test application for qt control panel public apis.
       
    16 */
       
    17 
       
    18 #ifndef _MY_CP_DATAFORM_LISTENTRY_VIEWITEM_H_
       
    19 #define _MY_CP_DATAFORM_LISTENTRY_VIEWITEM_H_
       
    20 
       
    21 #include "cpdataformlistentryviewitem.h"
       
    22 
       
    23 #include <QObject>
       
    24 
       
    25 class MyCpDataFormListEntryViewItem : public QObject, public CpDataFormListEntryViewItem
       
    26     {
       
    27 public:
       
    28     MyCpDataFormListEntryViewItem(QGraphicsItem *parent = 0);
       
    29     
       
    30     virtual HbWidget * createCustomWidget();
       
    31     virtual void pressStateChanged(bool pressed, bool animate);
       
    32 #ifdef HB_GESTURE_FW
       
    33     //from HbWidgetBase
       
    34     virtual void gestureEvent(QGestureEvent *event);
       
    35 #endif
       
    36     };
       
    37 
       
    38 #endif /* _MY_CP_DATAFORM_LISTENTRY_VIEWITEM_H_ */