CCalenEntryUtil Class Reference
class CCalenEntryUtil : public CBase
|
CCalenEntryUtil
contains edited data in exactly same format that editor fields show them. For example, alarm time is represented as alarm time, not as offset to entry start time, like CalInterimApi represents it.
This class or CCalenEditorDataHandler encapsulates rules how this data is then read from and write to CalInterimApi
CCalEntry
.
CalenDefaultEditors
-
Since
-
S60 v3.0
Constructor & Destructor Documentation
CCalenEntryUtil(CCalEntry &)
CCalenEntryUtil
|
(
|
CCalEntry
&
|
aEntry
|
)
|
[private]
|
~CCalenEntryUtil()
~CCalenEntryUtil
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AlarmDateTime()
IMPORT_C const
TTime
&
|
AlarmDateTime
|
(
|
)
|
const
|
AttachmentCount()
IMPORT_C
TInt
|
AttachmentCount
|
(
|
)
|
const
|
AttachmentNamesL(RPointerArray< HBufC > &)
CheckForAlldayEventL(TTime, TTime)
ConstructL(CCalEntry &, const TCalTime &)
CopyDataFromEntryL(CCalEntry &, const TCalTime &)
void
|
CopyDataFromEntryL
|
(
|
CCalEntry
&
|
aEntry,
|
|
const
TCalTime
&
|
aInstanceDateTime
|
|
)
|
[private]
|
Description()
IMPORT_C const
TDesC
&
|
Description
|
(
|
)
|
const
|
EndDateTime()
IMPORT_C const
TTime
&
|
EndDateTime
|
(
|
)
|
const
|
EventDateTime()
IMPORT_C const
TTime
&
|
EventDateTime
|
(
|
)
|
const
|
GetSynchTypeL(const CCalEntry &)
IsAlarmActivated()
IMPORT_C
TBool
|
IsAlarmActivated
|
(
|
)
|
const
|
IsAllDayEvent()
IMPORT_C
TBool
|
IsAllDayEvent
|
(
|
)
|
|
IsRepeating()
IMPORT_C
TBool
|
IsRepeating
|
(
|
)
|
const
|
Location()
IMPORT_C const
TDesC
&
|
Location
|
(
|
)
|
const
|
NewL(CCalEntry &, const TCalTime &)
RepeatUntilDateTime()
IMPORT_C const
TTime
&
|
RepeatUntilDateTime
|
(
|
)
|
const
|
SetAlarmDateTimeL(const TTime &)
IMPORT_C void
|
SetAlarmDateTimeL
|
(
|
const
TTime
&
|
aTime
|
)
|
|
SetAlarmOffL()
IMPORT_C void
|
SetAlarmOffL
|
(
|
)
|
|
SetAlarmOnL(const TTime &)
IMPORT_C void
|
SetAlarmOnL
|
(
|
const
TTime
&
|
aTime
|
)
|
|
SetAllDayEvent(TBool)
IMPORT_C void
|
SetAllDayEvent
|
(
|
TBool
|
aAllDayEvent
|
)
|
|
SetAttachmentCount(TInt)
IMPORT_C void
|
SetAttachmentCount
|
(
|
TInt
|
aAttachmentCount
|
)
|
|
SetDescriptionL(const TDesC &)
IMPORT_C void
|
SetDescriptionL
|
(
|
const
TDesC
&
|
aDescription
|
)
|
|
Parameters
const
TDesC
& aDescription
|
|
SetDescriptionTransferOwnershipL(HBufC *)
IMPORT_C void
|
SetDescriptionTransferOwnershipL
|
(
|
HBufC
*
|
aDescription
|
)
|
|
Set description by passing in new description in HBufC.
CCalenEntryUtil
takes ownership of new description. This can be used to save unnecessary copying when setting description created by Notepad API:
SetEndDateTimeL(const TTime &)
IMPORT_C void
|
SetEndDateTimeL
|
(
|
const
TTime
&
|
aEnd
|
)
|
|
SetEntryType(CCalEntry::TType)
SetEventDateL(const TTime &)
IMPORT_C void
|
SetEventDateL
|
(
|
const
TTime
&
|
aDate
|
)
|
|
SetLocationL(const TDesC &)
IMPORT_C void
|
SetLocationL
|
(
|
const
TDesC
&
|
aLocation
|
)
|
|
SetNonRepeatingL()
IMPORT_C void
|
SetNonRepeatingL
|
(
|
)
|
|
SetPriorityL(TTodoPriority)
SetRepeatUntilDateTimeL(const TTime &)
IMPORT_C void
|
SetRepeatUntilDateTimeL
|
(
|
const
TTime
&
|
aTime
|
)
|
|
SetRepeatingL(TCalenRepeatIndex, const TTime &)
SetStartDateTimeL(const TTime &)
IMPORT_C void
|
SetStartDateTimeL
|
(
|
const
TTime
&
|
aStart
|
)
|
|
SetSummaryL(const TDesC &)
IMPORT_C void
|
SetSummaryL
|
(
|
const
TDesC
&
|
aSummary
|
)
|
|
SetSynchTypeL(TSynchType)
IMPORT_C void
|
SetSynchTypeL
|
(
|
TSynchType
|
aSynchType
|
)
|
|
StartDateTime()
IMPORT_C const
TTime
&
|
StartDateTime
|
(
|
)
|
const
|
Summary()
IMPORT_C const
TDesC
&
|
Summary
|
(
|
)
|
const
|
Member Enumerations Documentation
Enum TSynchType
Enumerators
ESynchPrivate = 0
|
|
ESynchPublic
|
|
ESynchNoSync
|
|
Enum TTodoPriority
Enumerators
ETodoPriorityHigh = 1
|
|
ETodoPriorityNormal = 2
|
|
ETodoPriorityLow = 3
|
|
Member Data Documentation
TTime
iAlarmDateTime
TTime
|
iAlarmDateTime
|
[private]
|
TInt
iAttachmentCount
TInt
|
iAttachmentCount
|
[private]
|
HBufC * iDescription
HBufC
*
|
iDescription
|
[private]
|
?description_of_pointer_member Own.
TTime
iEndDateTime
TTime
|
iEndDateTime
|
[private]
|
CCalEntry::TStatus
iEntryStatus
Tells the status values of the entry.
CCalEntry::TType
iEntryType
Tells what type of entry does editor data referring to (i.e. Anniv, ToDo). Set at construction. Used in DataHandler to force the correctness of fields. (i.e. The rules to force the correctness of alarm fields vary based on entry type)
TBool
iIsAlarmActivated
TBool
|
iIsAlarmActivated
|
[private]
|
TBool
iIsAllDayEvent
TBool
|
iIsAllDayEvent
|
[private]
|
HBufC * iLocation
HBufC
*
|
iLocation
|
[private]
|
?description_of_pointer_member Own.
CalCommon::TRecurrenceRange
iRecurrenceType
The identifier for editing entry or instance
TCalenRepeatIndex
iRepeatType
TTime
iRepeatUntilDateTime
TTime
|
iRepeatUntilDateTime
|
[private]
|
TTime
iStartDateTime
TTime
|
iStartDateTime
|
[private]
|
HBufC * iSummary
HBufC
*
|
iSummary
|
[private]
|
?description_of_member ?description_of_pointer_member Own. *** Write "Own" if this class owns the object pointed to; in other words, if this class is responsible for deleting it. ?description_of_pointer_member Not own. *** Write "Not own" if some other class owns this object. ?description_of_pointer_member Own.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.