calendarui/views/dayview/tsrc/unittests/unittest_calendayview/calendayhourscrollarea.h
changeset 81 ce92091cbd61
parent 45 b6db4fd4947b
equal deleted inserted replaced
75:7ac58b2aae6f 81:ce92091cbd61
    23 #include <QDateTime>
    23 #include <QDateTime>
    24 
    24 
    25 // User includes
    25 // User includes
    26 #include "calendaycommonheaders.h"
    26 #include "calendaycommonheaders.h"
    27 
    27 
       
    28 extern  qint32 LOCALE_CHANGED;
       
    29 
    28 // Class declaration
    30 // Class declaration
    29 class CalenDayHourScrollArea : public HbScrollArea
    31 class CalenDayHourScrollArea : public HbScrollArea
    30 	{
    32 {
    31 Q_OBJECT
    33 Q_OBJECT
    32 
    34 
    33 public:
    35 public:
    34 	CalenDayHourScrollArea(QGraphicsItem *parent = 0)
    36     CalenDayHourScrollArea(QGraphicsItem *parent = 0)
    35 		{
    37     {
    36 		Q_UNUSED(parent);
    38         Q_UNUSED(parent);
    37 		}
    39     }
    38 	virtual ~CalenDayHourScrollArea()
    40     virtual ~CalenDayHourScrollArea()
    39 		{
    41     {
    40 		}
    42     }
    41 	void setDateTime(const QDateTime &dateTime)
    43     void setDateTime(const QDateTime &dateTime)
    42 		{
    44     {
    43 		Q_UNUSED(dateTime);
    45         Q_UNUSED(dateTime);
    44 		}
    46     }
    45 	QDateTime dateTime()
    47     QDateTime dateTime()
    46 		{
    48     {
    47 		return QDateTime();
    49         return QDateTime();
    48 		}
    50     }
    49 
    51 
    50 	void scrollToHour(int hour)
    52     void scrollToHour(int hour)
    51 		{
    53     {
    52 		Q_UNUSED(hour);
    54         Q_UNUSED(hour);
    53 		}
    55     }
    54 
    56 
    55 public slots:
    57 public slots:
    56 	void scrollVertically(const QPointF &newPosition)
    58     void scrollVertically(const QPointF &newPosition)
    57 		{
    59     {
    58 		Q_UNUSED(newPosition);
    60         Q_UNUSED(newPosition);
    59 		}
    61     }
       
    62     
       
    63     void localeChanged()
       
    64     {
       
    65         LOCALE_CHANGED++;
       
    66     }
       
    67     
       
    68     void updateTimeIndicator()
       
    69     {
    60 
    70 
    61 	};
    71     }
       
    72    
       
    73 };
    62 
    74 
    63 #endif /* CALENDAYHOURSCROLLAREA_H_ */
    75 #endif /* CALENDAYHOURSCROLLAREA_H_ */