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 TCharCharacter()const

Returns a character of the search sequence

ConstructL()

voidConstructL()[private]

Second phase constructor

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const [virtual]

Writes 'this' to the stream

Parameters

RWriteStream & aStreamWriteStream with externalized contents

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)[virtual]

Initializes 'this' from stream

Parameters

RReadStream & aStreamReadStream with data contents to be internalized

Mode()

IMPORT_C TKeyboardModesMode()const

Returns the keyboard mode eg ITU-T, QWERTY etc

NewL()

IMPORT_C CPsQueryItem *NewL()[static]

Two phase construction

SetCharacter(const TChar)

IMPORT_C voidSetCharacter(const TCharaCharacter)

Sets a character of the search sequence

Parameters

const TChar aCharacterCharacter of the search sequence

SetMode(const TKeyboardModes)

IMPORT_C voidSetMode(const TKeyboardModesaMode)

Sets the keyboard mode eg ITU-T, QWERTY etc

Parameters

const TKeyboardModes aModeThe 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