CAknQueryValue Class Reference

class CAknQueryValue : public CBase

Pure virtual class that adds some standard functionality for queries

Inherits from

Member Functions Documentation

AppendValueIfNewL()

IMPORT_C void AppendValueIfNewL ( ) [virtual]

Method to add the current value to the QueryValueArray if it is new. The new value is not owned by QueryValue object, but is "given away"

IsValidIndex(TInt)

TBool IsValidIndex ( TInt aIndex ) [protected, inline]

Check if given index is valid within descriptor array

Parameters

TInt aIndex index to be checked

Reserved_MAknQueryValue()

IMPORT_C void Reserved_MAknQueryValue ( ) [private]

SetAutoAppend(TBool)

IMPORT_C void SetAutoAppend ( TBool aAppend ) [virtual]

Set the QueryValue to append a new user value, if distinct from former value

Parameters

TBool aAppend set/unset flag EAutoAppendBitIndex

SetQueryMode(MAknQueryValue::TMode)

IMPORT_C void SetQueryMode ( MAknQueryValue::TMode aMode ) [virtual]

Set QueryMode to be whether query or settingpage -mode

TMode

Parameters

MAknQueryValue::TMode aMode value from

SetSettingPageResourceIds(TInt, TInt)

IMPORT_C void SetSettingPageResourceIds ( TInt aSettingPageResourceId,
TInt aSettingPageEditorResourceId
) [virtual]

Override the default resource IDs used if a Setting Page mode query is put up.

Parameters

TInt aSettingPageResourceId AVKON_SETTING_PAGE resource ID to use
TInt aSettingPageEditorResourceId Editor resource ID to use (takes precedence)

Member Data Documentation

TBitFlags16 iFlags

TBitFlags16 iFlags [protected]

Flags that determine behavior

TInt iSettingPageEditorResourceId

TInt iSettingPageEditorResourceId [protected]

Resource id for editor in setting page

TInt iSettingPageResourceId

TInt iSettingPageResourceId [protected]

Resource id for setting page

TInt iSpare

TInt iSpare [private]