diff -r b0711afde476 -r fa7c359294fa calendarui/views/dayview/tsrc/unittests/unittest_calendaycontentwidget/calendaycontentwidgetheaders.h --- a/calendarui/views/dayview/tsrc/unittests/unittest_calendaycontentwidget/calendaycontentwidgetheaders.h Fri Sep 17 08:29:05 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,70 +0,0 @@ -/* -* 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: Mocked classes for testing CalenDayContentWidget class -* -*/ - -#ifndef CALENSERVICES_H -#define CALENSERVICES_H - -/*! - Mocked class MCalenServices - */ -class MCalenServices -{ -public: - MCalenServices() { - - } - - ~MCalenServices() { - - } -}; - -#endif // CALENSERVICES_H - - -#ifndef CALENDAYITEMVIEW_H -#define CALENDAYITEMVIEW_H - -#include -#include -#include -#include - -/*! - Mocked class CalenDayItemView - */ -class CalenDayItemView : public HbWidget -{ - Q_OBJECT - -public: - CalenDayItemView(MCalenServices &services, HbModelIterator *iterator, - QGraphicsItem *parent) : HbWidget(parent) { - Q_UNUSED(services) - Q_UNUSED(iterator) - } - - void scrollVertically(const QPointF &newPosition) { - Q_UNUSED(newPosition) - } - -signals: - void scrollPositionChanged(const QPointF&); -}; - -#endif // CALENDAYITEMVIEW_H -