Location:
agmtodos.h
Link against: agnmodel.lib
TAgnTodoDefaults
Supported from 5.0
Contains the default settings for new to-do entries; owned by a
to-do list. Additionally contains a TAgnAlarmDefaults
object,
which specifies default alarm settings.
CAgnTodoList::SetTodoDefaults()
is used to set up an
object of this class and CAgnTodoList::TodoDefaults()
retrieves
it.
Defined in TAgnTodoDefaults
:
AlarmDefaults()
, BackgroundColor()
, DaysWarning()
, DisplayDueDateAs()
, EntrySymbol()
, ExternalizeL()
, HasEntrySymbol()
, InternalizeL()
, IsDated()
, ReplicationStatus()
, SetAlarmDefaults()
, SetBackgroundColor()
, SetDaysWarning()
, SetDisplayDueDateAs()
, SetEntrySymbol()
, SetHasEntrySymbol()
, SetIsDated()
, SetReplicationStatus()
, TAgnTodoDefaults()
, operator==()
TAgnTodoDefaults();
Default C++ constructor. The initial values are mentioned in the descriptions for the following functions.
TBool HasEntrySymbol() const;
Tests whether the default to-do entry settings include an entry
symbol. This value is initialised to EFalse
.
|
const TAgnAlarmDefaults& AlarmDefaults() const;
Gets the default alarm settings. These settings are initialised to: no alarm, zero days warning, alarm time = 525, sound name = Chimes.
|
TTimeIntervalDays DaysWarning() const;
Gets the default number of days warning for a to-do entry. This value is initialised to zero.
|
CAgnTodo::TDisplayDueDateAs DisplayDueDateAs() const;
Gets the default display mode for the due date. This value is
initialised to CAgnTodo::EAutomatic
.
|
TChar EntrySymbol() const;
Gets the default entry symbol for to-do entries. This value is initialised to 'T'. The entry symbol is the character which is displayed in year views to represent an entry.
|
TBool IsDated() const;
Tests whether to-do entries are dated by default. This value is
initialised to EFalse
.
|
TAgnReplicationData::TStatus ReplicationStatus() const;
Gets the default replication status for to-do entries. This value is
initialised to TAgnReplicationData::EOpen
. Replication status is
used to define access rights to agenda information; public, private or
confidential.
|
TRgb BackgroundColor() const;
Supported from 6.0
Gets the background colour. This is the default background colour
assigned to entry symbols for to-do entries. This value is initialised to
KRgbBlack
.
|
void SetAlarmDefaults(const TAgnAlarmDefaults& aAlarmDefaults);
Sets the default alarm settings for to-do entries.
|
void SetDaysWarning(TTimeIntervalDays aDaysWarning);
Sets the default number of days warning for to-do entries.
|
void SetDisplayDueDateAs(CAgnTodo::TDisplayDueDateAs aDisplayAs);
Sets the default display mode for the due date.
|
void SetEntrySymbol(TChar aEntrySymbol);
Sets the default entry symbol for to-do entries. The entry symbol is the character which is displayed in year views to represent an entry.
|
void SetHasEntrySymbol(TBool aSetting);
Sets whether new to-do entries should have an entry symbol by default.
|
void SetIsDated(TBool aIsDated);
Sets whether new to-do entries should be dated by default.
|
void SetReplicationStatus(TAgnReplicationData::TStatus aStatus);
Sets the default replication status for to-do entries. Replication status is used to define access rights to agenda information; public, private or confidential.
|
void SetBackgroundColor(const TRgb& aColor);
Supported from 6.0
Sets the background colour. This is the default background colour assigned to entry symbols for to-do entries.
|
void ExternalizeL(RWriteStream& aStream) const;
Externalises a to-do defaults object to a write stream. The presence of
this function means that the standard templated operator<<()
is available to externalise objects of this class.
|
void InternalizeL(RReadStream& aStream);
Internalises a to-do defaults object from a read stream. The presence of
this function means that the standard templated operator>>()
is available to internalise objects of this class.
|
TBool operator==(const TAgnTodoDefaults& aOther) const;
Compares two default to-do settings objects for equivalence.
|
|