diff -r f979ecb2b13e -r c198609911f9 clock/ftudatetimewizard/inc/ftudatetimecustomitem.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clock/ftudatetimewizard/inc/ftudatetimecustomitem.h Fri Apr 16 14:57:40 2010 +0300 @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "Eclipse Public License v1.0" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: Definition for the FtuDateTimeCustomItem class + * + */ + +#ifndef FTUDATETIMECUSTOMITEM_H_ +#define FTUDATETIMECUSTOMITEM_H_ + +// System includes +#include +#include + +// Forward declarations +class HbDataFormModel; +class HbPushButton; + +class FtuDateTimeCustomItem : public HbDataFormViewItem +{ + Q_OBJECT + +public: + FtuDateTimeCustomItem(QGraphicsItem *parent); + ~FtuDateTimeCustomItem(); + virtual HbAbstractViewItem* createItem(); + bool canSetModelIndex(const QModelIndex &index) const; + void restore(); + +protected: + virtual HbWidget* createCustomWidget(); + HbPushButton* mPushButton; +}; + +#endif /* FTUDATETIMECUSTOMITEM_H_ */ + +// End of file --Don't remove this.