CCalenSettingsUiContainer Class Reference
class CCalenSettingsUiContainer : public CBase
|
Inherits from
-
CCalenSettingsUiContainer
Private Member Functions
|
|
CCalenSettingsUiContainer
(
CCoeControl
*,
CAknSettingStyleListBox
&, CCalenGlobalData &,
CCalenCustomisationManager
&)
|
void
|
AddAlarmToneItemL
(
TInt
)
|
void
|
AddBinaryItemL
(
TBool
&,
TInt
,
TInt
,
TInt
,
TInt
,
TInt
)
|
void
|
AddCustomSettingsItemsL
(
TInt
&)
|
void
|
AddCustomSettingsWithLinkL
(
RPointerArray
<
CAknSettingItem
> &, const
TDesC
&,
TInt
)
|
void
|
AddDefaultViewItemL
(
TInt
&,
TInt
,
TInt
,
TInt
,
TInt
)
|
void
|
AddEnumerationItemL
(
TInt
&,
TInt
,
TInt
,
TInt
,
TInt
,
TInt
)
|
void
|
AddPluginSettingItemL
(
TInt
&)
|
void
|
AddSingleCustomSettingL
(
CAknSettingItem
*,
TInt
)
|
void
|
AddSnoozeTimeItemL
(
TInt
,
CArrayPtr
< CGulIcon > *,
TInt
&)
|
void
|
ConstructL
()
|
void
|
CreateListBoxItemsL
()
|
void
|
CreateMailboxSettingsItemL
(
TInt
)
|
void
|
DoLocaleCallbackL
()
|
TBool
|
ExtCalendarAvailableL
()
|
void
|
GetHelpContext
(
TCoeHelpContext
&)
|
void
|
HandleExternalSettingsChangedL
(
TUint32
)
|
void
|
HandleNotifyError
(
TUint32
,
TInt
,
CCenRepNotifyHandler
*)
|
void
|
HandleNotifyGeneric
(
TUint32
)
|
void
|
HandlePluginChange
()
|
CAknSettingItem
*
|
Item
(
TSettingListItemId
)
|
void
|
LoadCurrentValuesL
()
|
void
|
LoadMailboxSettingsL
()
|
TInt
|
LocaleCallbackL
(
TAny
*)
|
void
|
PluginListChangedL
()
|
TBool
|
PluginUidFinder
(const
TUid
*, const
CImplementationInformation
&)
|
void
|
PopulateViewsArrayL
(
RArray
< CCalenViewInfo > &)
|
TBool
|
ShouldShowWeekTitleItem
()
|
void
|
ShowOrHideWeekTitleL
()
|
void
|
StoreMailboxSettingsL
()
|
void
|
ValidateWeekTitleItemL
(
CAknSettingItem
*)
|
Constructor & Destructor Documentation
CCalenSettingsUiContainer(CCoeControl *, CAknSettingStyleListBox &, CCalenGlobalData &, CCalenCustomisationManager &)
~CCalenSettingsUiContainer()
~CCalenSettingsUiContainer
|
(
|
)
|
|
Member Functions Documentation
AddAlarmToneItemL(TInt)
void
|
AddAlarmToneItemL
|
(
|
TInt
|
aOrdinal
|
)
|
[private]
|
AddBinaryItemL(TBool &, TInt, TInt, TInt, TInt, TInt)
void
|
AddBinaryItemL
|
(
|
TBool
&
|
aBuffer,
|
|
TInt
|
aId,
|
|
TInt
|
aTitleResource,
|
|
TInt
|
aSettingPageResource,
|
|
TInt
|
aAssociatedResource,
|
|
TInt
|
aOrdinal
|
|
)
|
[private]
|
AddCustomSettingsItemsL(TInt &)
void
|
AddCustomSettingsItemsL
|
(
|
TInt
&
|
aOrdinal
|
)
|
[private]
|
AddCustomSettingsWithLinkL(RPointerArray< CAknSettingItem > &, const TDesC &, TInt)
AddDefaultViewItemL(TInt &, TInt, TInt, TInt, TInt)
void
|
AddDefaultViewItemL
|
(
|
TInt
&
|
aBuffer,
|
|
TInt
|
aId,
|
|
TInt
|
aTitleResource,
|
|
TInt
|
aSettingPageResource,
|
|
TInt
|
aOrdinal
|
|
)
|
[private]
|
AddEnumerationItemL(TInt &, TInt, TInt, TInt, TInt, TInt)
void
|
AddEnumerationItemL
|
(
|
TInt
&
|
aBuffer,
|
|
TInt
|
aId,
|
|
TInt
|
aTitleResource,
|
|
TInt
|
aSettingPageResource,
|
|
TInt
|
aAssociatedResource,
|
|
TInt
|
aOrdinal
|
|
)
|
[private]
|
AddPluginSettingItemL(TInt &)
void
|
AddPluginSettingItemL
|
(
|
TInt
&
|
aOrdinal
|
)
|
[private]
|
AddSingleCustomSettingL(CAknSettingItem *, TInt)
AddSnoozeTimeItemL(TInt, CArrayPtr< CGulIcon > *, TInt &)
void
|
AddSnoozeTimeItemL
|
(
|
TInt
|
aOrdinal,
|
|
CArrayPtr
< CGulIcon > *
|
aIconArray,
|
|
TInt
&
|
aSnoozeTime
|
|
)
|
[private]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Symbian OS default constructor.
ConstructListBoxL()
IMPORT_C void
|
ConstructListBoxL
|
(
|
)
|
|
CreateListBoxItemsL()
void
|
CreateListBoxItemsL
|
(
|
)
|
[private]
|
CreateMailboxSettingsItemL(TInt)
void
|
CreateMailboxSettingsItemL
|
(
|
TInt
|
aOrdinal
|
)
|
[private]
|
CurrentFeatureId()
IMPORT_C
TInt
|
CurrentFeatureId
|
(
|
)
|
const
|
Retrieves the currently selected listbox feature id
-
Since
-
3.1
DoLocaleCallbackL()
void
|
DoLocaleCallbackL
|
(
|
)
|
[private]
|
Non static implementation of locale callback. We need to check if the week start has been modified and if so, update the listbox.
ExtCalendarAvailableL()
TBool
|
ExtCalendarAvailableL
|
(
|
)
|
[private]
|
GetHelpContext(TCoeHelpContext &)
HandleExternalSettingsChangedL(TUint32)
void
|
HandleExternalSettingsChangedL
|
(
|
TUint32
|
aId = 0
|
)
|
[private]
|
Called when something else modified our settings.
HandleListBoxSelectionL(TInt, TBool &)
IMPORT_C void
|
HandleListBoxSelectionL
|
(
|
TInt
|
aCommand,
|
|
TBool
&
|
aPageStatus
|
|
)
|
|
Handle listbox selection event
Parameters
TInt
aCommand
|
Command id to tell origin of event
|
TBool
& aPageStatus
|
|
HandleNotifyError(TUint32, TInt, CCenRepNotifyHandler *)
Called when the central repository changes.
HandleNotifyGeneric(TUint32)
void
|
HandleNotifyGeneric
|
(
|
TUint32
|
aId
|
)
|
[private]
|
HandlePluginChange()
void
|
HandlePluginChange
|
(
|
)
|
[private]
|
LoadCurrentValuesL()
void
|
LoadCurrentValuesL
|
(
|
)
|
[private]
|
LoadMailboxSettingsL()
void
|
LoadMailboxSettingsL
|
(
|
)
|
[private]
|
LocaleCallbackL(TAny *)
TInt
|
LocaleCallbackL
|
(
|
TAny
*
|
aThisPtr
|
)
|
[private, static]
|
This function is called when the locale is changed.
Parameters
TAny
* aThisPtr
|
Pointer to this object
|
NewL(CCoeControl *, CAknSettingStyleListBox &, CCalenGlobalData &, CCalenCustomisationManager &)
Two-phased constructor. Does NOT take ownership of aParentControl or aListBox.
PluginListChangedL()
void
|
PluginListChangedL
|
(
|
)
|
[private]
|
PluginUidFinder(const TUid *, const CImplementationInformation &)
Matches a uid to an array item's uid. Used in Find().
PopulateViewsArrayL(RArray< CCalenViewInfo > &)
void
|
PopulateViewsArrayL
|
(
|
RArray
< CCalenViewInfo > &
|
aArray
|
)
|
[private]
|
Populates the given array.
Parameters
RArray
< CCalenViewInfo > & aArray
|
|
ShouldShowWeekTitleItem()
TBool
|
ShouldShowWeekTitleItem
|
(
|
)
|
const [private]
|
ShowOrHideWeekTitleL()
void
|
ShowOrHideWeekTitleL
|
(
|
)
|
[private]
|
Shows or hides the week title setting as appropriate.
StoreMailboxSettingsL()
void
|
StoreMailboxSettingsL
|
(
|
)
|
[private]
|
Stores changes to the default mailbox setting.
UpdateListBoxL()
IMPORT_C void
|
UpdateListBoxL
|
(
|
)
|
|
ValidateWeekTitleItemL(CAknSettingItem *)
Member Data Documentation
CCenRepNotifyHandler * iCenRepNotifyHandler
CCalenCustomisationManager & iCustomisationManager
TInt
iDefMailbox
TInt
|
iDefMailbox
|
[private]
|
TInt
iExtCalendar
TInt
|
iExtCalendar
|
[private]
|
CCalenGlobalData & iGlobalData
CCalenGlobalData &
|
iGlobalData
|
[private]
|
TBool
iHasSelectedMailbox
TBool
|
iHasSelectedMailbox
|
[private]
|
TBool
iIgnoreFirstLocaleChange
TBool
|
iIgnoreFirstLocaleChange
|
[private]
|
TBool
iIgnoreNextSettingsNotification
TBool
|
iIgnoreNextSettingsNotification
|
[private]
|
CAknSettingStyleListBox & iListBox
CEnvironmentChangeNotifier * iLocaleChangeNotifier
CEnvironmentChangeNotifier *
|
iLocaleChangeNotifier
|
[private]
|
RArray< CMRMailboxUtils::TMailboxInfo > iMailBoxes
RArray
< CMRMailboxUtils::TMailboxInfo >
|
iMailBoxes
|
[private]
|
TBool
iPageStatus
TBool
|
iPageStatus
|
[private]
|
CCoeControl * iParentControl
CRepository * iRepository
CAiwServiceHandler * iServiceHandler
CAiwServiceHandler *
|
iServiceHandler
|
[private]
|
CCalenSetting * iSetting
CCalenSetting *
|
iSetting
|
[private]
|
CAknSettingItemArray * iSettingItemArray
Array of setting items contained in the listbox. Owned.
TInt
iSnoozeTime
TInt
|
iSnoozeTime
|
[private]
|
TInt
iWeekFormat
TInt
|
iWeekFormat
|
[private]
|
TInt
iWeekNumberEnable
TInt
|
iWeekNumberEnable
|
[private]
|
TInt
iWeekTitle
TInt
|
iWeekTitle
|
[private]
|
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.