CGSListboxEntry Class Reference

class CGSListboxEntry : public CBase

Inherits from

Constructor & Destructor Documentation

CGSListboxEntry()

CGSListboxEntry()[private]

~CGSListboxEntry()

IMPORT_C~CGSListboxEntry()

Member Functions Documentation

Caption()

IMPORT_C const TDesC &Caption()const

ConstructL(TResourceReader &)

voidConstructL(TResourceReader &aReader)[private]

Parameters

TResourceReader & aReader

ConstructL(TUint32, CCoeEnv &, TInt)

voidConstructL(TUint32aResId,
CCoeEnv &aEnv,
TIntaFeatureId
)[private]

Parameters

TUint32 aResId
CCoeEnv & aEnv
TInt aFeatureId

FeatureId()

IMPORT_C TIntFeatureId()const

NewLC(TResourceReader &)

IMPORT_C CGSListboxEntry *NewLC(TResourceReader &aReader)[static]

Parameters

TResourceReader & aReader

NewLC(TInt)

IMPORT_C CGSListboxEntry *NewLC(TIntaFeatureId)[static]

Parameters

TInt aFeatureId

NewLC(TUint32, CCoeEnv &, TInt)

IMPORT_C CGSListboxEntry *NewLC(TUint32aResId,
CCoeEnv &aEnv,
TIntaFeatureId
)[static]

Parameters

TUint32 aResId
CCoeEnv & aEnv
TInt aFeatureId

SetDynamicTextDoublePaneL(const TDesC &)

IMPORT_C voidSetDynamicTextDoublePaneL(const TDesC &aText)

Parameters

const TDesC & aText

SetDynamicTextL(const TDesC &)

IMPORT_C voidSetDynamicTextL(const TDesC &aText)

Parameters

const TDesC & aText

StaticTextLength()

TInt StaticTextLength()const [private, inline]

Type()

IMPORT_C TIntType()const

Member Data Documentation

HBufC * iCaption

HBufC *iCaption[private]

The static text and dynamic text combined. We can always change the dynamic part due to the fact that we know the length (prefix) of the static part.

TInt iDynamicTextSize

TInt iDynamicTextSize[private]

Maximum Length of the Dynamic text which doesnot change.. This has been added after inclusion Double Pane List Box

TInt iFeatureId

TInt iFeatureId[private]

The id of this feature

TInt iStaticTextLength

TInt iStaticTextLength[private]

The length of the static text which does not change

TInt iType

TInt iType[private]

One of either EGSListBoxItemTypeIsAlwaysVisible or EGSListBoxItemTypeIsDynamic