calendarui/views/dayview/tsrc/unittests/unittest_calendayview/calendayhourscrollarea.h
--- a/calendarui/views/dayview/tsrc/unittests/unittest_calendayview/calendayhourscrollarea.h Mon Sep 20 12:44:39 2010 +0530
+++ b/calendarui/views/dayview/tsrc/unittests/unittest_calendayview/calendayhourscrollarea.h Tue Oct 05 13:57:00 2010 +0530
@@ -25,39 +25,51 @@
// User includes
#include "calendaycommonheaders.h"
+extern qint32 LOCALE_CHANGED;
+
// 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();
- }
+ 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);
- }
+ void scrollToHour(int hour)
+ {
+ Q_UNUSED(hour);
+ }
public slots:
- void scrollVertically(const QPointF &newPosition)
- {
- Q_UNUSED(newPosition);
- }
+ void scrollVertically(const QPointF &newPosition)
+ {
+ Q_UNUSED(newPosition);
+ }
+
+ void localeChanged()
+ {
+ LOCALE_CHANGED++;
+ }
+
+ void updateTimeIndicator()
+ {
- };
+ }
+
+};
#endif /* CALENDAYHOURSCROLLAREA_H_ */