calendarui/views/dayview/tsrc/unittests/unittest_calendayview/calendayhourscrollarea.h
author hgs
Mon, 28 Jun 2010 15:22:02 +0530
changeset 45 b6db4fd4947b
child 81 ce92091cbd61
permissions -rw-r--r--
201025

/*
 * Copyright (c) 2010 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:  CalenDayHourScrollArea class definition.
 *
 */

#ifndef CALENDAYHOURSCROLLAREA_H_
#define CALENDAYHOURSCROLLAREA_H_

// System includes
#include <hbscrollarea.h>
#include <QDateTime>

// User includes
#include "calendaycommonheaders.h"

// Class declaration
class CalenDayHourScrollArea : public HbScrollArea
	{
Q_OBJECT

public:
	CalenDayHourScrollArea(QGraphicsItem *parent = 0)
		{
		Q_UNUSED(parent);
		}
	virtual ~CalenDayHourScrollArea()
		{
		}
	void setDateTime(const QDateTime &dateTime)
		{
		Q_UNUSED(dateTime);
		}
	QDateTime dateTime()
		{
		return QDateTime();
		}

	void scrollToHour(int hour)
		{
		Q_UNUSED(hour);
		}

public slots:
	void scrollVertically(const QPointF &newPosition)
		{
		Q_UNUSED(newPosition);
		}

	};

#endif /* CALENDAYHOURSCROLLAREA_H_ */