controlpanelui/src/cpplugins/devicelockplugin/src/cpremotelockdataformviewitem.h
changeset 19 36aa4756ee82
parent 12 624337f114fe
child 20 22d3abee08da
equal deleted inserted replaced
12:624337f114fe 19:36aa4756ee82
     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 
       
    19 #ifndef CPREMOTELOCKDATAFORMVIEWITEM_H
       
    20 #define CPREMOTELOCKDATAFORMVIEWITEM_H
       
    21 
       
    22 #include <hbdataformviewitem.h>
       
    23 #include <hbdataformmodelitem.h>
       
    24 
       
    25 class CpRemoteLockDataFormViewItem : public HbDataFormViewItem
       
    26 {
       
    27 	Q_OBJECT
       
    28 public:
       
    29 	enum { CpRemoteLockItem = HbDataFormModelItem::CustomItemBase + 10 };
       
    30 
       
    31     explicit CpRemoteLockDataFormViewItem(QGraphicsItem *parent = 0);
       
    32     virtual ~CpRemoteLockDataFormViewItem();
       
    33     virtual HbAbstractViewItem* createItem();
       
    34 	virtual bool canSetModelIndex(const QModelIndex &index) const;
       
    35 protected:
       
    36     virtual HbWidget* createCustomWidget();
       
    37 };
       
    38 
       
    39 #endif //CPREMOTELOCKDATAFORMVIEWITEM_H
       
    40