clock/ftudatetimewizard/inc/ftudatetimecustomitem.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:30:32 +0300
changeset 23 fd30d51f876b
parent 18 c198609911f9
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
 * 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 <QObject>
#include <hbdataformviewitem.h>

// 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.