calendarui/views/dayview/tsrc/unittests/unittest_calendaymodelmanager/calencontext.h
changeset 81 ce92091cbd61
parent 45 b6db4fd4947b
equal deleted inserted replaced
75:7ac58b2aae6f 81:ce92091cbd61
    22 
    22 
    23 // FORWARD DECLARATIONS
    23 // FORWARD DECLARATIONS
    24 class TCalenInstanceId;
    24 class TCalenInstanceId;
    25 class QDateTime;
    25 class QDateTime;
    26 
    26 
       
    27 extern QDateTime CURRENT_DATE;
       
    28 
    27 // INCLUDES
    29 // INCLUDES
    28 
    30 
    29 // CLASS DEFINITIONS
    31 // CLASS DEFINITIONS
    30 /**
    32 /**
    31  * The controller handles events from the rest of Calendar and delegates
    33  * The controller handles events from the rest of Calendar and delegates
    34 class MCalenContext
    36 class MCalenContext
    35     {
    37     {
    36 public :
    38 public :
    37     QDateTime focusDateAndTime()
    39     QDateTime focusDateAndTime()
    38     	{
    40     	{
    39 			return QDateTime(QDate(2000, 10, 10));
    41 			return CURRENT_DATE;
    40     	}
    42     	}
    41 		
    43 		
    42     };
    44     };
    43 
    45 
    44 #endif // CALENCONTEXT_H
    46 #endif // CALENCONTEXT_H