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 voidAppendValueIfNewL()[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(TIntaIndex)[protected, inline]

Check if given index is valid within descriptor array

Parameters

TInt aIndexindex to be checked

Reserved_MAknQueryValue()

IMPORT_C voidReserved_MAknQueryValue()[private]

SetAutoAppend(TBool)

IMPORT_C voidSetAutoAppend(TBoolaAppend)[virtual]

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

Parameters

TBool aAppendset/unset flag EAutoAppendBitIndex

SetQueryMode(MAknQueryValue::TMode)

IMPORT_C voidSetQueryMode(MAknQueryValue::TModeaMode)[virtual]

Set QueryMode to be whether query or settingpage -mode

TMode

Parameters

MAknQueryValue::TMode aModevalue from

SetSettingPageResourceIds(TInt, TInt)

IMPORT_C voidSetSettingPageResourceIds(TIntaSettingPageResourceId,
TIntaSettingPageEditorResourceId
)[virtual]

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

Parameters

TInt aSettingPageResourceIdAVKON_SETTING_PAGE resource ID to use
TInt aSettingPageEditorResourceIdEditor 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]