CHgItem Class Reference
class CHgItem : public CBase
|
Public Member Enumerations
|
enum
|
THgItemFlags
{
EHgItemFlagsNone
= 0,
EHgItemFlagMarked
= 0x0001,
EHgItemFlagsDrmRightsValid
= 0x0002,
EHgItemFlagsDrmRightsExpired
= 0x0004,
EHgItemFlagsVideo
= 0x0008,
EHgItemFlagsMmc
= 0x0010,
EHgItemFlagsPlaybackIndicator
= 0x0020,
EHgItemFlagsPauseIndicator
= 0x0040,
EHgItemFlagsBrokenPlaylistIndicator
= 0x0080,
EHgItemFlagsBrokenTrackIndicator
= 0x0100,
EHgItemFlagsCorruptedTrackIndicator
= 0x0200,
EHgItemFlagsNewVideoIndicator
= 0x0400,
EHgItemFlagsMassStorageIndicator
= 0x0800,
EHgItemFlagsPhoneStorageIndicator
= 0x1000,
EHgItemFlagsNewPodcastIndicator
= 0x2000,
EHgItemFlagsPlayedPodcastIndicator
= 0x4000,
EHgItemFlagsCompletelyPlayedPodcastIndicator
= 0x8000,
EHgItemFlagsMoveUpIndicator
= 0x10000,
EHgItemFlagsMoveDownIndicator
= 0x20000,
EHgItemFlagsMoveUpDownIndicator
= 0x40000,
EHgItemFlagsIconOverlayIndicator
= 0x80000000
}
|
Constructor & Destructor Documentation
CHgItem(TInt, CGulIcon *)
~CHgItem()
IMPORT_C
|
~CHgItem
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ClearFlags(TInt)
IMPORT_C void
|
ClearFlags
|
(
|
TInt
|
aFlags
|
)
|
|
Parameters
TInt
aFlags
|
Flags to be cleared.
|
ConstructL(const TDesC &, const TDesC &)
void
|
ConstructL
|
(
|
const
TDesC
&
|
aTitle,
|
|
const
TDesC
&
|
aText
|
|
)
|
[protected, virtual]
|
NewL(TInt, CGulIcon *, const TDesC &, const TDesC &)
Parameters
TInt
aFlags = EHgItemFlagsNone
|
Item flags. Default is EHgItemFlagsNone
|
CGulIcon
* aIcon = 0
|
Item Icon. Ownership transferred.
|
const
TDesC
& aTitle =
KNullDesC
|
Title text.
|
const
TDesC
& aText =
KNullDesC
|
Additional Text.
|
NewLC(TInt, CGulIcon *, const TDesC &, const TDesC &)
Parameters
TInt
aFlags = EHgItemFlagsNone
|
Item flags. Default is EHgItemFlagsNone
|
CGulIcon
* aIcon = 0
|
Item Icon. Ownership transferred.
|
const
TDesC
& aTitle =
KNullDesC
|
Title text.
|
const
TDesC
& aText =
KNullDesC
|
Additional Text.
|
SetFlags(TInt)
IMPORT_C void
|
SetFlags
|
(
|
TInt
|
aFlags
|
)
|
|
Parameters
TInt
aFlags
|
Flags to be set.
|
SetIcon(CGulIcon *, TInt)
IMPORT_C void
|
SetIcon
|
(
|
CGulIcon
*
|
aIcon,
|
|
TInt
|
aFlags = EHgItemFlagsNone
|
|
)
|
[virtual]
|
Parameters
CGulIcon
* aIcon
|
New icon. Ownership transferred.
|
TInt
aFlags = EHgItemFlagsNone
|
|
SetTextL(const TDesC &)
IMPORT_C void
|
SetTextL
|
(
|
const
TDesC
&
|
aText
|
)
|
|
SetTime(TTime)
IMPORT_C void
|
SetTime
|
(
|
TTime
|
aTime
|
)
|
|
SetTitleL(const TDesC &)
IMPORT_C void
|
SetTitleL
|
(
|
const
TDesC
&
|
aTitle
|
)
|
|
Parameters
const
TDesC
& aTitle
|
New title text.
|
Text()
IMPORT_C const
TDesC
&
|
Text
|
(
|
)
|
const
|
Gets the additional text.
Time()
IMPORT_C
TTime
|
Time
|
(
|
)
|
const
|
Title()
IMPORT_C const
TDesC
&
|
Title
|
(
|
)
|
const
|
Member Enumerations Documentation
Enum THgItemFlags
Enumerators
EHgItemFlagsNone = 0
|
|
EHgItemFlagMarked = 0x0001
|
|
EHgItemFlagsDrmRightsValid = 0x0002
|
|
EHgItemFlagsDrmRightsExpired = 0x0004
|
|
EHgItemFlagsVideo = 0x0008
|
|
EHgItemFlagsMmc = 0x0010
|
|
EHgItemFlagsPlaybackIndicator = 0x0020
|
|
EHgItemFlagsPauseIndicator = 0x0040
|
|
EHgItemFlagsBrokenPlaylistIndicator = 0x0080
|
|
EHgItemFlagsBrokenTrackIndicator = 0x0100
|
|
EHgItemFlagsCorruptedTrackIndicator = 0x0200
|
|
EHgItemFlagsNewVideoIndicator = 0x0400
|
|
EHgItemFlagsMassStorageIndicator = 0x0800
|
|
EHgItemFlagsPhoneStorageIndicator = 0x1000
|
|
EHgItemFlagsNewPodcastIndicator = 0x2000
|
|
EHgItemFlagsPlayedPodcastIndicator = 0x4000
|
|
EHgItemFlagsCompletelyPlayedPodcastIndicator = 0x8000
|
|
EHgItemFlagsMoveUpIndicator = 0x10000
|
|
EHgItemFlagsMoveDownIndicator = 0x20000
|
|
EHgItemFlagsMoveUpDownIndicator = 0x40000
|
|
EHgItemFlagsIconOverlayIndicator = 0x80000000
|
|
Member Data Documentation
HBufC * iText
HBufC
*
|
iText
|
[protected]
|
HBufC * iTitle
HBufC
*
|
iTitle
|
[protected]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.