CPsQueryItem Class Reference

class CPsQueryItem : public CBase

Utility class to hold a single query item for predictive search. This class that is used to represent one character of the search sequence.

pcsutils.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CPsQueryItem()

CPsQueryItem ( ) [private]

Default Constructor

~CPsQueryItem()

IMPORT_C ~CPsQueryItem ( )

Destructor

Member Functions Documentation

Character()

IMPORT_C TChar Character ( ) const

Returns a character of the search sequence

ConstructL()

void ConstructL ( ) [private]

Second phase constructor

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const [virtual]

Writes 'this' to the stream

Parameters

RWriteStream & aStream WriteStream with externalized contents

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream ) [virtual]

Initializes 'this' from stream

Parameters

RReadStream & aStream ReadStream with data contents to be internalized

Mode()

IMPORT_C TKeyboardModes Mode ( ) const

Returns the keyboard mode eg ITU-T, QWERTY etc

NewL()

IMPORT_C CPsQueryItem * NewL ( ) [static]

Two phase construction

SetCharacter(const TChar)

IMPORT_C void SetCharacter ( const TChar aCharacter )

Sets a character of the search sequence

Parameters

const TChar aCharacter Character of the search sequence

SetMode(const TKeyboardModes)

IMPORT_C void SetMode ( const TKeyboardModes aMode )

Sets the keyboard mode eg ITU-T, QWERTY etc

Parameters

const TKeyboardModes aMode The keyborad mode

Member Data Documentation

TChar iCharacter

TChar iCharacter [private]

Character of the serach sequence

TKeyboardModes iMode

TKeyboardModes iMode [private]

Keyboard mode e.g. ITU-T, QWERTY