CEqualizerPresetsDialog Class Reference

class CEqualizerPresetsDialog : public CAknDialog

This class is used to display the preset list view of the Equalizer.

Equalizer.lib
Since
Series 60 3.0

Inherits from

Public Member Functions
~CEqualizerPresetsDialog ()
IMPORT_C TInt ExecuteLD ()
IMPORT_C CEqualizerPresetsDialog * NewL ( CAudioEqualizerUtility *, TInt , MEqualizerPresetActivationObserver &)
IMPORT_C void SetAudioEqualizerL ( CAudioEqualizerUtility *)
Private Member Functions
CEqualizerPresetsDialog ( CAudioEqualizerUtility *, MEqualizerPresetActivationObserver &)
void ActivateEqrPresetL (const TInt , const TDesC &)
void BuildPresetNameL ( TDes &)
void ConstructL (const TInt )
void CreateNewEqrPresetL ( TInt &, TPresetName &)
TPresetName CurrentPreset ()
void DeleteEqrPresetL (const TInt , const TDesC &)
void DisplaySettingsL ( CAudioEqualizerUtility *, const TInt , const TBool )
void DynInitMenuPaneL ( TInt , CEikMenuPane *)
void EditEqrPresetL (const TInt , const TDesC &)
void FocusChanged ( TDrawNow )
TInt GetEngineIndexL (const TPresetName &)
void GetHelpContext ( TCoeHelpContext &)
TPresetName GetHighlightedPresetInListBox ()
CArrayPtr < CGulIcon > * GetListBoxIconsL ()
TBool GetNewNameL (const TInt , TDes &)
void HandleForegroundEventL ( TBool )
void HandleListBoxEventL ( CEikListBox *, TListBoxEvent)
void HandleResourceChange ( TInt )
void HandleResourceChangeL ( TInt )
TKeyResponse OfferKeyEventL (const TKeyEvent &, TEventCode )
TBool OkToExitL ( TInt )
void PreLayoutDynInitL (void)
void ProcessCommandL ( TInt )
void RenameEqrPresetL (const TInt , const TDesC &)
TInt SearchPresetL (const TPresetName &)
void SetCurrentPreset (const TPresetName &)
void ShowDiskFullNoteL ()
void SizeChanged ()
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
CAknDialog::CAknDialog()
CAknDialog::CreateMenuBarL(TInt)
CAknDialog::DisplayMenuL()
CAknDialog::Draw(const TRect &)const
CAknDialog::ExecuteLD(TInt)
CAknDialog::HandlePointerEventL(const TPointerEvent &)
CAknDialog::HideMenu()
CAknDialog::MenuShowing()const
CAknDialog::MopSupplyObject(TTypeUid)
CAknDialog::PrepareLC(TInt)
CAknDialog::RunLD()
CAknDialog::SetEmphasis(CCoeControl *,TBool)
CAknDialog::~CAknDialog()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::ActivateL()
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetGc()const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MaximumWidth()const
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionChanged()
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::PrepareForFocusLossL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetContainerWindowL(const CCoeControl &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetDimmed(TBool)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
CEikBorderedControl::Border()const
CEikBorderedControl::CEikBorderedControl()
CEikBorderedControl::CEikBorderedControl(const TGulBorder &)
CEikBorderedControl::HasBorder()const
CEikBorderedControl::SetAdjacent(TInt)
CEikBorderedControl::SetBorder(TGulBorder::TBorderType)
CEikBorderedControl::SetBorder(TInt)
CEikDialog::ActivateFirstPageL()const
CEikDialog::ActivePageId()const
CEikDialog::ActivePageIndex()const
CEikDialog::AddAutoDateEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TTime *)
CEikDialog::AddAutoDurationEditorL(const TDesC &,TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &,TBool,TTimeIntervalSeconds *)
CEikDialog::AddAutoFixedPointEditorL(const TDesC &,TInt,TInt,TInt,TInt *,TInt)
CEikDialog::AddAutoFloatEditorL(const TDesC &,TInt,const TReal &,const TReal &,TReal *)
CEikDialog::AddAutoGlobalTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TInt,CGlobalText *,TInt,TInt)
CEikDialog::AddAutoNumberEditorL(const TDesC &,TInt,TInt,TInt,TInt *)
CEikDialog::AddAutoRangeEditorL(const TDesC &,TInt,TInt,TInt,HBufC *,SEikRange *)
CEikDialog::AddAutoRichTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TInt,CGlobalText *,TInt,TInt)
CEikDialog::AddAutoSecretEditorL(const TDesC &,TInt,TDes *)
CEikDialog::AddAutoTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TDes *)
CEikDialog::AddAutoTimeAndDateEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TBool,HBufC *,TTime *)
CEikDialog::AddAutoTimeEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TTime *)
CEikDialog::AddAutoTimeOffsetEditorL(const TDesC &,TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &,TBool,TTimeIntervalSeconds *)
CEikDialog::AdjustAllIdsOnPage(TInt,TInt)
CEikDialog::BorderStyle()
CEikDialog::ButtonCommandObserver()const
CEikDialog::ButtonGroupContainer()const
CEikDialog::CEikDialog()
CEikDialog::ComponentControl(TInt)const
CEikDialog::ConstructAutoDialogLC(TInt,TInt)
CEikDialog::ConstructSleepingAlertDialogL(TInt)
CEikDialog::ConstructSleepingDialogL(TInt)
CEikDialog::Control(TInt)const
CEikDialog::ControlCaption(TInt)const
CEikDialog::ControlOrNull(TInt)const
CEikDialog::ControlsOnPage(RArray< CEikCaptionedControl * > &,TInt)const
CEikDialog::ConvertCustomControlTypeToBaseControlType(TInt)const
CEikDialog::CountComponentControls()const
CEikDialog::CreateCustomControlL(TInt)
CEikDialog::CreateLineByTypeL(const TDesC &,TInt,TInt,TAny *)
CEikDialog::CreateLineByTypeL(const TDesC &,TInt,TInt,TInt,TAny *)
CEikDialog::CurrentLine()const
CEikDialog::DeclareAutoDateEditor(TInt,TTime *)
CEikDialog::DeclareAutoDurationEditor(TInt,TTimeIntervalSeconds *)
CEikDialog::DeclareAutoFixedPointEditor(TInt,TInt *)
CEikDialog::DeclareAutoNumberEditor(TInt,TInt *)
CEikDialog::DeclareAutoRangeEditor(TInt,SEikRange *)
CEikDialog::DeclareAutoSecretEditor(TInt,TDes *)
CEikDialog::DeclareAutoTextEditorL(TInt,TDes *)
CEikDialog::DeclareAutoTimeAndDateEditor(TInt,TTime *)
CEikDialog::DeclareAutoTimeEditor(TInt,TTime *)
CEikDialog::DeclareAutoTimeOffsetEditor(TInt,TTimeIntervalSeconds *)
CEikDialog::DeclareItemAuto(TInt,TInt,TAny *)
CEikDialog::DeleteLine(TInt,TBool)
CEikDialog::DialogFlags()
CEikDialog::DurationEditorValue(TInt)const
CEikDialog::ExitSleepingDialog()
CEikDialog::Extension()const
CEikDialog::FindLineIndex(const CCoeControl &)const
CEikDialog::FixedPointEditorDecimal(TInt)const
CEikDialog::FixedPointEditorValue(TInt)const
CEikDialog::FloatEditorValue(TInt)const
CEikDialog::FloatingPointEditorValue(TInt)const
CEikDialog::FormFlagsFromActivePage()
CEikDialog::GetAutoValuesFromPage(CEikCapCArray *)
CEikDialog::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
CEikDialog::GetCustomAutoValue(TAny *,TInt,const CCoeControl *)
CEikDialog::GetEdwinText(TDes &,TInt)const
CEikDialog::GetFileName(TFileName *,TInt)const
CEikDialog::GetFirstLineOnFirstPageOrNull()
CEikDialog::GetLabelText(TDes &,TInt)const
CEikDialog::GetLineByLineAndPageIndex(TInt,TInt)const
CEikDialog::GetNumberOfLinesOnPage(TInt)const
CEikDialog::GetNumberOfPages()const
CEikDialog::GetSecretEditorText(TDes &,TInt)const
CEikDialog::GetTextEditorText(CGlobalText *&,TInt)
CEikDialog::HandleControlEventL(CCoeControl *,TCoeEvent)
CEikDialog::HandleControlStateChangeL(TInt)
CEikDialog::HandleDialogPageEventL(TInt)
CEikDialog::HandleInteractionRefused(TInt)
CEikDialog::IdOfFocusControl()const
CEikDialog::InputCapabilities()const
CEikDialog::InsertLineL(TInt,TInt,TInt)
CEikDialog::IsEditable()const
CEikDialog::Layout()
CEikDialog::Line(TInt)const
CEikDialog::LineChangedL(TInt)
CEikDialog::ListBoxCurrentItem(TInt)const
CEikDialog::MakeLineVisible(TInt,TBool)
CEikDialog::MakePanelButtonVisible(TInt,TBool)
CEikDialog::MakeVisible(TBool)
CEikDialog::MakeWholeLineVisible(TInt,TBool)
CEikDialog::MappedCommandId(TInt)
CEikDialog::NumberEditorValue(TInt)const
CEikDialog::PageChangedL(TInt)
CEikDialog::PostLayoutDynInitL()
CEikDialog::PreferredSize(const TSize &)const
CEikDialog::PrepareContext(CWindowGc &)const
CEikDialog::PrepareForFocusTransitionL()
CEikDialog::PublishDialogL(TInt,TUid)
CEikDialog::RangeEditorValue(TInt)const
CEikDialog::ReadResourceLC(TInt)
CEikDialog::RegisterDialgWithPageSelector()
CEikDialog::ResetLineMinimumSizes()
CEikDialog::ResetSecretEditor(TInt)
CEikDialog::RotateFocusByL(TInt)
CEikDialog::RouseSleepingDialog()
CEikDialog::SetControlCaptionL(TInt,TInt)
CEikDialog::SetControlCaptionL(TInt,const TDesC &)
CEikDialog::SetDurationEditorMinAndMax(TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &)
CEikDialog::SetDurationEditorValue(TInt,const TTimeIntervalSeconds &)
CEikDialog::SetEditableL(TBool)
CEikDialog::SetEdwinTextL(TInt,const TDesC *)
CEikDialog::SetFileNameL(TInt,const TDesC *)
CEikDialog::SetFixedPointEditorDecimal(TInt,TInt)
CEikDialog::SetFixedPointEditorValueL(TInt,TInt)
CEikDialog::SetFloatEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetFloatEditorValueL(TInt,TReal)
CEikDialog::SetFloatingPointEditorValueL(TInt,const TReal *)
CEikDialog::SetInitialCurrentLine()
CEikDialog::SetLabelL(TInt,TInt)
CEikDialog::SetLabelL(TInt,const TDesC &)
CEikDialog::SetLabelReserveLengthL(TInt,TInt)
CEikDialog::SetLineDimmedNow(TInt,TBool)
CEikDialog::SetLineNonFocusing(TInt)
CEikDialog::SetListBoxCurrentItem(TInt,TInt)
CEikDialog::SetMediatorObserver(MAknDialogMediatorObserver *)
CEikDialog::SetMultilineQuery(TBool)
CEikDialog::SetNumberEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetNumberEditorValue(TInt,TInt)
CEikDialog::SetPageDensePacking(TInt,TBool)
CEikDialog::SetPageDimmedNow(TInt,TBool)
CEikDialog::SetRangeEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetRangeEditorValue(TInt,const SEikRange &)
CEikDialog::SetSizeAndPosition(const TSize &)
CEikDialog::SetTTimeEditorMinAndMax(TInt,const TTime &,const TTime &)
CEikDialog::SetTTimeEditorValue(TInt,const TTime &)
CEikDialog::SetTextEditorTextL(TInt,const CGlobalText *)
CEikDialog::SetTimeOffsetEditorMinAndMax(TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &)
CEikDialog::SetTimeOffsetEditorValue(TInt,const TTimeIntervalSeconds &)
CEikDialog::SetTitleL(TInt)
CEikDialog::SetTitleL(const TDesC &)
CEikDialog::SlideDialog()
CEikDialog::SwapButtonGroupContainer(CEikButtonGroupContainer *)
CEikDialog::SwitchLineLatency(TInt,TInt)
CEikDialog::TTimeEditorValue(TInt)const
CEikDialog::TimeOffsetEditorValue(TInt)const
CEikDialog::Title()const
CEikDialog::TryChangeFocusToL(TInt)
CEikDialog::TryExitL(TInt)
CEikDialog::UpdatePageL(TBool)
CEikDialog::WriteInternalStateL(RWriteStream &)const
CEikDialog::~CEikDialog()
Inherited Enumerations
CCoeControl:TZoomType
CEikDialog:@163
Private Attributes
TPresetName iActivePreset
HBufC * iAppTitleText
CAudioEqualizerUtility * iAudEqUtility
TBool iContextSensitiveMenu
CEqualizerEditingDialog * iEditingDialog
MEqualizerPresetActivationObserver & iEqrPresetActObserver
TBool iIgnoreKeyEvents
CEqualizerPresetListArray * iItemArray
CAknSingleGraphicStyleListBox * iListBox
HBufC * iPresetNoneText
TInt iPreviousStatusPaneLayout
CRepository * iRepository
TInt iResourceFileOffset
HBufC * iTitleText
Inherited Attributes
CAknDialog::iMenuBar
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CEikBorderedControl::iBorder

Constructor & Destructor Documentation

CEqualizerPresetsDialog(CAudioEqualizerUtility *, MEqualizerPresetActivationObserver &)

CEqualizerPresetsDialog ( CAudioEqualizerUtility * aAudEqUtility,
MEqualizerPresetActivationObserver & aEqrPresetActObserver
) [private]
This function is called to create an object of type CEqualizerPresetsDialog - First Phase Constructor
Since
3.0

Parameters

CAudioEqualizerUtility * aAudEqUtility a reference to CAudioEqualizerUtility
MEqualizerPresetActivationObserver & aEqrPresetActObserver

~CEqualizerPresetsDialog()

~CEqualizerPresetsDialog ( ) [virtual]
Destructor
Since
3.0

Member Functions Documentation

ActivateEqrPresetL(const TInt, const TDesC &)

void ActivateEqrPresetL ( const TInt aIndex,
const TDesC & aPreset
) [private]
This function is used for the activation of a preset
Since
3.0

Parameters

const TInt aIndex The index of the preset in the ListBox
const TDesC & aPreset

BuildPresetNameL(TDes &)

void BuildPresetNameL ( TDes & aName ) const [private]
This function is called to get a free preset name
Since
3.0

Parameters

TDes & aName Used to reurn a free preset name

ConstructL(const TInt)

void ConstructL ( const TInt aCurrentActivePreset ) [private]
Second Phase Constructor
Since
3.0

Parameters

const TInt aCurrentActivePreset the index into the preset array retrieved with the method CAudioEqualizerUtility::Presets()if a preset other than "None" is active. It is KEqualizerPresetNone if the preset "None" is active.

CreateNewEqrPresetL(TInt &, TPresetName &)

void CreateNewEqrPresetL ( TInt & aIndex,
TPresetName & aPreset
) const [private]
This function is used for the creation of a new preset
Since
3.0

Parameters

TInt & aIndex The index of the preset in the ListBox. This is set to a the index in the ListBox if preset creation is successful. If the creation is unscuccessful, then the parameter is not changed.
TPresetName & aPreset The name of the preset created

CurrentPreset()

TPresetName CurrentPreset ( ) const [private]
This function is used to rturn the currently active preset engine
Since
3.0

DeleteEqrPresetL(const TInt, const TDesC &)

void DeleteEqrPresetL ( const TInt aIndex,
const TDesC & aPreset
) [private]
This function is used for the deletion of a preset
Since
3.0

Parameters

const TInt aIndex The index of the preset in the ListBox
const TDesC & aPreset

DisplaySettingsL(CAudioEqualizerUtility *, const TInt, const TBool)

void DisplaySettingsL ( CAudioEqualizerUtility * aAudEqUtility,
const TInt aIndex,
const TBool aIsActive
) [private]
This function is used to display a dialog to the user for editing a particular preset.
Since
3.0

Parameters

CAudioEqualizerUtility * aAudEqUtility pointer to CAudioEqualizerUtility
const TInt aIndex the index of the preset in the array of presets
const TBool aIsActive whether the preset is active or not? returned by CAudioEqualizerUtility::Presets()

DynInitMenuPaneL(TInt, CEikMenuPane *)

void DynInitMenuPaneL ( TInt aResourceId,
CEikMenuPane * aMenuPane
) [private, virtual]

From CAknDialog Called just before the menu pane is displayed

Parameters

TInt aResourceId
CEikMenuPane * aMenuPane

EditEqrPresetL(const TInt, const TDesC &)

void EditEqrPresetL ( const TInt aIndex,
const TDesC & aPreset
) [private]
This function is used for the editing of a preset
Since
3.0

Parameters

const TInt aIndex The index of the preset in the ListBox
const TDesC & aPreset

ExecuteLD()

IMPORT_C TInt ExecuteLD ( )
This function is used to execute the Dialog.
Since
3.0

FocusChanged(TDrawNow)

void FocusChanged ( TDrawNow aDrawNow ) [private, virtual]

From CAknDialog Responds to a change in focus. This is called whenever the control gains or loses focus

Parameters

TDrawNow aDrawNow

GetEngineIndexL(const TPresetName &)

TInt GetEngineIndexL ( const TPresetName & aPreset ) const [private]
This function is called to find the index of a preset in the list of presets returned by CAudioEqualizerUtility::Presets()
Since
3.0

Parameters

const TPresetName & aPreset The preset focussed in ListBox

GetHelpContext(TCoeHelpContext &)

void GetHelpContext ( TCoeHelpContext & aContext ) const [private, virtual]

Get help context for the control.

Parameters

TCoeHelpContext & aContext The context that is filled in.

GetHighlightedPresetInListBox()

TPresetName GetHighlightedPresetInListBox ( ) const [private]
This function returns the highlighted Preset in ListBox
Since
3.0

GetListBoxIconsL()

CArrayPtr < CGulIcon > * GetListBoxIconsL ( ) const [private]
This function is used to load the ListBox icons in an array
Since
3.0

GetNewNameL(const TInt, TDes &)

TBool GetNewNameL ( const TInt aResourceId,
TDes & aPresetName
) const [private]
This function is used to display a dialog to query the user for a new name. It is used while creating a new preset or renaming an existing preset.
Since
3.0

Parameters

const TInt aResourceId The resource id to use for the dialog
TDes & aPresetName

HandleForegroundEventL(TBool)

void HandleForegroundEventL ( TBool aForeground ) [private]

From CAknDialog Handles changes to the application when it switches to or from the foreground.

Parameters

TBool aForeground

HandleListBoxEventL(CEikListBox *, TListBoxEvent)

void HandleListBoxEventL ( CEikListBox * aListBox,
TListBoxEvent aEventType
) [private]

From MEikListBoxObserver Handles listbox events.

Parameters

CEikListBox * aListBox Listbox where the event occurred.
TListBoxEvent aEventType Event type.

HandleResourceChange(TInt)

void HandleResourceChange ( TInt aType ) [private, virtual]

This function is called when there is a Skin change event or layout change event, it calls HandleResourceChangeL()

Parameters

TInt aType

HandleResourceChangeL(TInt)

void HandleResourceChangeL ( TInt aType ) [private]

From CCoeControl This function is called when there is a Skin change event or layout change event

Parameters

TInt aType

NewL(CAudioEqualizerUtility *, TInt, MEqualizerPresetActivationObserver &)

IMPORT_C CEqualizerPresetsDialog * NewL ( CAudioEqualizerUtility * aAudEqUtility,
TInt aCurrentActivePreset,
MEqualizerPresetActivationObserver & aEqrPresetActObserver
) [static]
This function is called to create an object of type CEqualizerPresetsDialog - Two phase Construction
Since
3.0

Parameters

CAudioEqualizerUtility * aAudEqUtility a reference to CAudioEqualizerUtility
TInt aCurrentActivePreset It is KEqualizerPresetNone if the preset "None" is active. Otherwise, it is the value of TEfAudioEqualizerUtilityPreset::iPresetNameKey for the entry whose TEfAudioEqualizerUtilityPreset::iPresetName matches the activated preset name, in the array retrieved using CAudioEqualizerUtility::Presets().
MEqualizerPresetActivationObserver & aEqrPresetActObserver

OfferKeyEventL(const TKeyEvent &, TEventCode)

TKeyResponse OfferKeyEventL ( const TKeyEvent & aKeyEvent,
TEventCode aType
) [private, virtual]

From CAknDialog Called when a key event happens.

Parameters

const TKeyEvent & aKeyEvent
TEventCode aType

OkToExitL(TInt)

TBool OkToExitL ( TInt aButtonId ) [private, virtual]

From CAknDialog Called when OK key is pressed

Parameters

TInt aButtonId

PreLayoutDynInitL(void)

void PreLayoutDynInitL ( void ) [private, virtual]

From CAknDialog Called just before the dialog is displayed.

Parameters

void

ProcessCommandL(TInt)

void ProcessCommandL ( TInt aCommandId ) [private, virtual]

From CAknDialog Called to process a user's menu command.

Parameters

TInt aCommandId

RenameEqrPresetL(const TInt, const TDesC &)

void RenameEqrPresetL ( const TInt aIndex,
const TDesC & aPreset
) [private]
This function is used for the renaming of a preset
Since
3.0

Parameters

const TInt aIndex The index of the preset in the ListBox
const TDesC & aPreset

SearchPresetL(const TPresetName &)

TInt SearchPresetL ( const TPresetName & aPreset ) const [private]
This function is used to search for a preset name in the ListBox
Since
3.0

Parameters

const TPresetName & aPreset The preset name to search for

SetAudioEqualizerL(CAudioEqualizerUtility *)

IMPORT_C void SetAudioEqualizerL ( CAudioEqualizerUtility * aAudEqUtility )
This function is used to set new values for CAudioEqualizerUtility*
Since
3.0

Parameters

CAudioEqualizerUtility * aAudEqUtility New pointer to CAudioEqualizerUtility

SetCurrentPreset(const TPresetName &)

void SetCurrentPreset ( const TPresetName & aPreset ) [private]
This function is used to inform the client application about the currently active preset engine
Since
3.0

Parameters

const TPresetName & aPreset

ShowDiskFullNoteL()

void ShowDiskFullNoteL ( ) const [private]
This function is used to display a note to the user if memory is below critical level when creating a new preset.
Since
3.1

SizeChanged()

void SizeChanged ( ) [private, virtual]

From CAknDialog This function responds to the size changes to sets the size and position of the contents of this control.

Member Data Documentation

TPresetName iActivePreset

TPresetName iActivePreset [private]

HBufC * iAppTitleText

HBufC * iAppTitleText [private]

CAudioEqualizerUtility * iAudEqUtility

CAudioEqualizerUtility * iAudEqUtility [private]

TBool iContextSensitiveMenu

TBool iContextSensitiveMenu [private]

CEqualizerEditingDialog * iEditingDialog

CEqualizerEditingDialog * iEditingDialog [private]

MEqualizerPresetActivationObserver & iEqrPresetActObserver

MEqualizerPresetActivationObserver & iEqrPresetActObserver [private]

TBool iIgnoreKeyEvents

TBool iIgnoreKeyEvents [private]

CEqualizerPresetListArray * iItemArray

CEqualizerPresetListArray * iItemArray [private]

CAknSingleGraphicStyleListBox * iListBox

CAknSingleGraphicStyleListBox * iListBox [private]

HBufC * iPresetNoneText

HBufC * iPresetNoneText [private]

TInt iPreviousStatusPaneLayout

TInt iPreviousStatusPaneLayout [private]

CRepository * iRepository

CRepository * iRepository [private]

TInt iResourceFileOffset

TInt iResourceFileOffset [private]

HBufC * iTitleText

HBufC * iTitleText [private]