CSearchContent Class Reference
class CSearchContent : public CBase
|
Has Description of a content type
Encapsulates all the content type related info like icon, snippet format, content type etc.,
searchutilities.lib
Constructor & Destructor Documentation
CSearchContent(TSearchContentType)
~CSearchContent()
~CSearchContent
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddChildL(CSearchContent *)
Adds a child to this content. Notice that ContentFolder cannot have ContentClass as its child. If this rule is broken the function will leave.
Caption()
IMPORT_C const
TDesC
&
|
Caption
|
(
|
)
|
const
|
ConstructL(RReadStream &)
ContentId()
IMPORT_C
TUid
|
ContentId
|
(
|
)
|
const
|
ExternalizeL(RWriteStream &)
FindSubContentL(const CSearchLightResult &)
GetChildrenL(RPointerArray< const CSearchContent > &)
IconInfo()
IMPORT_C const CSearchIconInfo *
|
IconInfo
|
(
|
)
|
const
|
PluginId()
IMPORT_C
TUid
|
PluginId
|
(
|
)
|
const
|
SetCaptionL(const TDesC &)
IMPORT_C void
|
SetCaptionL
|
(
|
const
TDesC
&
|
aCaption
|
)
|
|
Sets the Caption - //Only for content class & folder
SetContentId(TUid)
IMPORT_C void
|
SetContentId
|
(
|
TUid
|
aContentId
|
)
|
|
SetIconInfo(CSearchIconInfo *)
IMPORT_C void
|
SetIconInfo
|
(
|
CSearchIconInfo *
|
aIconInfo
|
)
|
|
Parameters
CSearchIconInfo * aIconInfo
|
|
SetPluginId(TUid)
IMPORT_C void
|
SetPluginId
|
(
|
TUid
|
aPluginId
|
)
|
|
SetShortCaptionL(const TDesC &)
IMPORT_C void
|
SetShortCaptionL
|
(
|
const
TDesC
&
|
aCaption
|
)
|
|
SetSnippetFormatL(const TDesC8 &)
IMPORT_C void
|
SetSnippetFormatL
|
(
|
const
TDesC8
&
|
aSnippetFormat
|
)
|
|
SetSubContentId(TInt32)
IMPORT_C void
|
SetSubContentId
|
(
|
TInt32
|
aSubContentId
|
)
|
|
SnippetFormat()
IMPORT_C const
TDesC8
&
|
SnippetFormat
|
(
|
)
|
const
|
SubContentId()
IMPORT_C
TInt32
|
SubContentId
|
(
|
)
|
const
|
Member Enumerations Documentation
Enum TSearchContentType
Enumerators
ETypeContentClass
|
|
ETypeContentFolder
|
|
ETypeContentSubContent
|
|
Member Data Documentation
HBufC * iCaption
HBufC
*
|
iCaption
|
[private]
|
RPointerArray< CSearchContent > iChildren
TUid
iContentId
TUid
|
iContentId
|
[private]
|
CSearchIconInfo * iIconInfo
CSearchIconInfo *
|
iIconInfo
|
[private]
|
HBufC * iShortCaption
HBufC
*
|
iShortCaption
|
[private]
|
HBufC8 * iSnippetFormat
HBufC8
*
|
iSnippetFormat
|
[private]
|
TInt32
iSubContentId
TInt32
|
iSubContentId
|
[private]
|
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.