CAknQueryValue Class Reference

#include <mw/AknQueryValue.h>

class CAknQueryValue : public CBase

Inherits from

  • CAknQueryValue

    Detailed Description

    Pure virtual class that adds some standard functionality for queries

    Member Attribute Documentation

    iFlags

    TBitFlags16 iFlags[protected]

    Flags that determine behavior

    iSettingPageEditorResourceId

    TInt iSettingPageEditorResourceId[protected]

    Resource id for editor in setting page

    iSettingPageResourceId

    TInt iSettingPageResourceId[protected]

    Resource id for setting page

    Member Function 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

    ParameterDescription
    aIndexindex to be checked

    SetAutoAppend ( TBool )

    IMPORT_C voidSetAutoAppend(TBoolaAppend)[virtual]

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

    ParameterDescription
    aAppendset/unset flag EAutoAppendBitIndex

    SetQueryMode ( MAknQueryValue::TMode )

    IMPORT_C voidSetQueryMode(MAknQueryValue::TModeaMode)[virtual]

    Set QueryMode to be whether query or settingpage -mode

    TMode

    ParameterDescription
    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.

    ParameterDescription
    aSettingPageResourceIdAVKON_SETTING_PAGE resource ID to use
    aSettingPageEditorResourceIdEditor resource ID to use (takes precedence)