CPsSettings Class Reference
class CPsSettings : public CBase |
Utility class to store settings for predictive search.
pcsutils.lib
- Since
- S60 v3.2
Constructor & Destructor Documentation
Member Functions Documentation
CloneL()
Creates a clone of the settings
ConstructL()
void | ConstructL | ( | ) | [private] |
DisplayFieldsL(RArray< TInt > &)
IMPORT_C void | DisplayFieldsL | ( | RArray< TInt > & | aDisplayFields | ) | const |
ExternalizeL(RWriteStream &)
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Writes 'this' to the stream.
Parameters
RWriteStream & aStream | WriteStream with externalized contents. |
GetGroupIdsL(RArray< TInt > &)
IMPORT_C void | GetGroupIdsL | ( | RArray< TInt > & | aGroupIdArray | ) | |
Returns the GroupId from the settings
InternalizeL(RReadStream &)
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
Initializes 'this' from stream.
Parameters
RReadStream & aStream | ReadStream with data contents to be internalized. |
MaxResults()
IMPORT_C TInt | MaxResults | ( | ) | const |
Returns the maximum number of elements (contacts) to be given to client.
SearchUrisL(RPointerArray< TDesC > &)
Returns the list of URIs configured to search from.
SetDisplayFieldsL(const RArray< TInt > &)
IMPORT_C void | SetDisplayFieldsL | ( | const RArray< TInt > & | aDisplayFields | ) | |
Sets the list of fields to display.
Parameters
const RArray< TInt > & aDisplayFields | The list of fields to display. |
SetMaxResults(const TInt)
IMPORT_C void | SetMaxResults | ( | const TInt | aMaxResults | ) | |
Sets the maximum number of elements (contacts) to be given to client. If number is set to -1: The entire search result will be returned. Otherwise: Top N search results will be returned
Parameters
const TInt aMaxResults | The maximum number of elements. |
SetSearchUrisL(const RPointerArray< TDesC > &)
Sets the list of URIs to search from.
SetSortType(const TSortType)
IMPORT_C void | SetSortType | ( | const TSortType | aSortType | ) | |
Sets the sort type based on which sorting will be done
Member Data Documentation
RArray< TInt > iDisplayFields
TInt
iMaxResults
TInt
| iMaxResults | [private] |
Maximum number of results that will be displayed to the client (Top N contacts will be displayed)
RPointerArray< TDesC > iSearchUri
TSortType
iSortType
Sort type whether to sort based on alphabets or on match patterns
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.