CSearchQuery Class Reference
class CSearchQuery : public CBase |
This class is encapsulates the search request
This class encapsulates search condition( what to search ) and in what all plugins to search( where to search )
searchutilities.lib
Constructor & Destructor Documentation
Member Functions Documentation
ConstructL(RReadStream &)
ExternalizeL(RWriteStream &)
GetTargetContent(RArray< TUid > &)
IMPORT_C void | GetTargetContent | ( | RArray< TUid > & | aContentIdArray | ) | const |
Get the target content that should be searched.
SetCondition(CSearchCondition *)
Sets the search condition. With this the search scope can be limited to match only the specified condition. Must be set before requesting for search.
SetSnippetSize(const TDesC8 &, const TDesC8 &)
IMPORT_C void | SetSnippetSize | ( | const TDesC8 & | aFormat, |
| const TDesC8 & | aSize |
| ) | |
SetTargetContent(const RArray< TUid > &)
IMPORT_C void | SetTargetContent | ( | const RArray< TUid > & | aContentIdArray | ) | |
Set the target content that should be searched. Must be set before requesting for search.
Parameters
const RArray< TUid > & aContentIdArray | - an array of Tuid |
SetTargetService(TUid)
IMPORT_C void | SetTargetService | ( | TUid | aServiceId | ) | |
Set the service that the search should be limited to. This is optional. If not set, search is targeted to all services.
Parameters
TUid aServiceId | Uid of the service. |
TargetService()
IMPORT_C TUid | TargetService | ( | ) | const |
Get the service that the search should be limited to.
Member Data Documentation
CSearchCondition * iCondition
Search Condition( what to search )
RArray< TUid > iContentIdArray
Array of content ids( where to search )
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.