diff -r f979ecb2b13e -r c198609911f9 calendarui/views/inc/calenmonthdata.h --- a/calendarui/views/inc/calenmonthdata.h Tue Feb 02 10:12:19 2010 +0200 +++ b/calendarui/views/inc/calenmonthdata.h Fri Apr 16 14:57:40 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). +* 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" @@ -11,8 +11,8 @@ * * Contributors: * -* Description: For data of MonthView by one day. - * +* Description: CalenEventLabel class definition. +* */ @@ -22,48 +22,63 @@ // INCLUDES #include #include - -// FORWARD DECLARATIONS -class TCalenMonthData; - -// DATA TYPES -typedef CArrayFixFlat CMonthDataArray; +#include // CLASS DEFINITIONS /** * For data of month view */ -NONSHARABLE_CLASS( TCalenMonthData ) +NONSHARABLE_CLASS( CalenMonthData ) { public : // Constructors and destructor /** * C++ default constructor. */ - TCalenMonthData(); + CalenMonthData(); /** * C++ constructor. */ - TCalenMonthData(TTime aDay); + CalenMonthData(QDateTime day); /** * Destructor. */ - virtual ~TCalenMonthData(); + virtual ~CalenMonthData(); public : // New funcitons /** * return day * @return day */ - TTime Day(); + QDateTime Day(); - void SetHasEvents(TBool aHasEvents); - TBool HasEvents(); + /** + * + */ + void SetHasEvents(bool HasEvents); + + /** + * + */ + bool HasEvents(); + + void setActive(bool isActive); + + bool isActive(); private : // New data - TTime iDay; - TBool iHasEvents; + /** + * + */ + QDateTime mDay; + + /** + * + */ + bool mHasEvents; + + bool mIsActive; }; #endif // CALENMONTHDATA_H