UIQ Technology
 Developer Library

UIQ 3 SDK

UIQ developer portal

FEEDBACK 

[Index] [Spacer] [Previous] [Next]



Location: QikListBoxLayoutPair.h
Link against: qiklbx.lib

Class CQikListBoxLayoutPair

class CQikListBoxLayoutPair : public CBase;

Description

Creator and/or container for one or two CQikListBoxLayout s. A pair contains of at least one layout, a normal layout and an optional highlight layout. The CQikListBoxLayout s can either be supplied upon construction or read from a resource file.

Derivation

Members

Defined in CQikListBoxLayoutPair:
HighlightLayout(), NewEmptyL(), NewL(), NewLC(), NormalLayout(), SetMirrored(), SetSystemLayoutValues(), ~CQikListBoxLayoutPair()

Inherited from CBase:
Delete(), Extension_(), operator new()

See also:


Construction and destruction


NewL()

static IMPORT_C CQikListBoxLayoutPair *NewL(TInt aResourceId);

Description

Constructs a normal layout and an optional highlight layout from resource.

Parameters

TInt aResourceId

The resource id of a QIK_LISTBOX_LAYOUT_PAIR STRUCT.

Return value

CQikListBoxLayoutPair *


NewLC()

static IMPORT_C CQikListBoxLayoutPair *NewLC(TInt aResourceId);

Description

Constructs a normal layout and an optional highlight layout from resource.

Parameters

TInt aResourceId

The resource id of a QIK_LISTBOX_LAYOUT_PAIR STRUCT.

Return value

CQikListBoxLayoutPair *


~CQikListBoxLayoutPair()

IMPORT_C ~CQikListBoxLayoutPair();

Description

Destructor.

[Top]


Member functions


NewEmptyL()

static IMPORT_C CQikListBoxLayoutPair *NewEmptyL(TBool aHighlight);

Description

Constructs a CQikListBoxLayoutPair with empty layouts.

Parameters

TBool aHighlight

ETrue if it should have a highlight layout, EFalse if not.

Return value

CQikListBoxLayoutPair *


NormalLayout()

IMPORT_C CQikListBoxLayout *NormalLayout() const;

Description

Getter for the normal layout.

Return value

CQikListBoxLayout *

A pointer to the CQikListBoxLayout used as normal layout.


HighlightLayout()

IMPORT_C CQikListBoxLayout *HighlightLayout() const;

Description

Getter for the highlight layout.

Return value

CQikListBoxLayout *

A pointer to the CQikListBoxLayout used as highlight layout, or NULL if no highlight layout is in use.


SetMirrored()

IMPORT_C void SetMirrored(TBool aMirrored);

Description

Sets the mirroring for both layouts.

Parameters

TBool aMirrored

The new mirroring state.


SetSystemLayoutValues()

IMPORT_C void SetSystemLayoutValues(TQikLayoutValues *aLayoutValues);

Description

Exported for use under very specific circumstances, do not use.

Parameters

TQikLayoutValues *aLayoutValues

Terms and conditions of use of the material