TMenuItem Class Reference

class TMenuItem
Menu item header. Partial data from a menu item (the administrative part). mcsmenu.lib
Since
S60 v5.0

Constructor & Destructor Documentation

TMenuItem()

TMenuItem ( ) [inline]
Constructor.
Since
S60 v5.0
capability
None.
Exceptions
None.

panic
None.

Member Functions Documentation

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const
Externalize object.
capability
None.
Exceptions
System-wide

error codes if an error occurs.

panic
None.

Parameters

RWriteStream & aStream Stream to externalize into.

Flags()

TUint32 Flags ( ) const [inline]
Get flags.
Since
S60 v5.0
capability
None.
Exceptions
None.

panic
None.

Id()

TInt Id ( ) const [inline]
Get item ID.
Since
S60 v5.0
capability
None.
Exceptions
None.

panic
None.

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream )
Internalize object.
capability
None.
Exceptions
System-wide

error codes if an error occurs.

panic
None.

Parameters

RReadStream & aStream Stream to externalize from.

Parent()

TInt Parent ( ) const [inline]
Get parent folder ID.
Since
S60 v5.0
capability
None.
Exceptions
None.

panic
None.

SetFlags(TUint32)

void SetFlags ( TUint32 aFlags ) [inline]
Set flags.
Since
S60 v5.0
capability
None.
Exceptions
None.

panic
None.

Parameters

TUint32 aFlags Flags.

SetId(TInt)

void SetId ( TInt aId ) [inline]
Set item ID.
Since
S60 v5.0
capability
None.
Exceptions
None.

panic
None.

Parameters

TInt aId Item ID.

SetParent(TInt)

void SetParent ( TInt aParent ) [inline]
Set parent folder ID.
Since
S60 v5.0
capability
None.
Exceptions
None.

panic
None.

Parameters

TInt aParent Parent folder ID.

SetType(const TDesC &)

void SetType ( const TDesC & aType ) [inline]
Set type.
Since
S60 v5.0
capability
None.
Exceptions
None.

panic
None.

Parameters

const TDesC & aType Type. Maximum length is KMenuMaxTypeLen.

Type()

TPtrC Type ( ) const [inline]
Get type.
Since
S60 v5.0
capability
None.
Exceptions
None.

panic
None.

Member Enumerations Documentation

Enum TFlags

Enumerators

ENoFlag = 0x0
ELockDelete = 0x1
ELockName = 0x2
ELockIcon = 0x4
ELockMoveInto = 0x8
ELockItem = 0x10
EHidden = 0x20
EMissing = 0x40

Member Data Documentation

TUint32 iFlags

TUint32 iFlags [private]

TInt iId

TInt iId [private]

TInt iParent

TInt iParent [private]

TBuf< KMenuMaxTypeLen > iType

TBuf < KMenuMaxTypeLen > iType [private]