UIQ Technology
 Developer Library

UIQ 3 SDK

UIQ developer portal

FEEDBACK 

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



Location: imdefs.h
Link against: imframework.lib

Class CImStatusItem

class CImStatusItem : public CBase;

Description

Users can choose their own status from the owner-card/detail view.

CImStatusItem defines each status that can be chosen.

Derivation

Members

Defined in CImStatusItem:
Description(), EBuddyAvailable, EUserAvailable, Icon(), NewL(), SetDescription(), SetIcon(), SetStatusId(), StatusId(), TStatusFlags, ~CImStatusItem()

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


Construction and destruction


NewL()

static IMPORT_C CImStatusItem *NewL(TInt aStatusId, const TDesC &aDescription, CImIcon *aIcon, TInt aFlags=EUserAvailable|EBuddyAvailable);

Description

NewL is a static construction method

Parameters

TInt aStatusId

The id of the status item

const TDesC &aDescription

Text describing the status choice

CImIcon *aIcon

An icon indicating the status

TInt aFlags

A flag to determines if the status is available for the user of the device or for any user besides the user of the device

Return value

CImStatusItem *

A pointer to the created object


~CImStatusItem()

IMPORT_C ~CImStatusItem();

Description

Destructor

[Top]


Member functions


SetStatusId()

inline void SetStatusId(const TInt &aId);

Description

SetStatusId sets the status's ID

Parameters

const TInt &aId

The ID


StatusId()

inline TInt StatusId() const;

Description

StatusId returns the status's ID

Return value

TInt

The id


SetDescription()

inline void SetDescription(const TDesC &aDescription);

Description

SetDescription sets the status's description

Parameters

const TDesC &aDescription

The description


Description()

inline TDesC &Description();

Description

Description returns the description

Return value

TDesC &

The description


SetIcon()

inline void SetIcon(CImIcon *aIcon);

Description

SetIcon sets the status's icon

Parameters

CImIcon *aIcon

The icon


Icon()

inline CImIcon *Icon();

Description

Icon returns the status's icon

Return value

CImIcon *

The pointer to the icon

[Top]


Member enumerations


Enum TStatusFlags

TStatusFlags

Description

The flag determines if the status is available for the user of the device or for any user besides the user of the device.

EUserAvailable

The status is available for the user of the device (the own card in contacts)

EBuddyAvailable

The status is available for any contact except the user (any non owner card in contacts)

Terms and conditions of use of the material