QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskPinyinTextPredictor Class Reference

Detailed Description

Definition at line 13 of file QskPinyinTextPredictor.h.

Inheritance diagram for QskPinyinTextPredictor:

Public Member Functions

 QskPinyinTextPredictor (QObject *=nullptr)
 
int candidateCount () const override
 
QString candidate (int) const override
 

Protected Member Functions

void request (const QString &) override
 
void reset () override
 
- Protected Member Functions inherited from QskTextPredictor
 QskTextPredictor (QObject *)
 

Additional Inherited Members

- Public Slots inherited from QskTextPredictor
- Signals inherited from QskTextPredictor
void predictionChanged (const QString &text, const QStringList &candidates)
 

Constructor & Destructor Documentation

◆ QskPinyinTextPredictor()

QskPinyinTextPredictor::QskPinyinTextPredictor ( QObject *  parent = nullptr)

Definition at line 20 of file QskPinyinTextPredictor.cpp.

◆ ~QskPinyinTextPredictor()

QskPinyinTextPredictor::~QskPinyinTextPredictor ( )
override

Definition at line 37 of file QskPinyinTextPredictor.cpp.

Member Function Documentation

◆ candidate()

QString QskPinyinTextPredictor::candidate ( int  index) const
override

Definition at line 47 of file QskPinyinTextPredictor.cpp.

◆ candidateCount()

int QskPinyinTextPredictor::candidateCount ( ) const
override

Definition at line 42 of file QskPinyinTextPredictor.cpp.

◆ request()

void QskPinyinTextPredictor::request ( const QString &  text)
overrideprotectedvirtual

Implements QskTextPredictor.

Definition at line 66 of file QskPinyinTextPredictor.cpp.

◆ reset()

void QskPinyinTextPredictor::reset ( )
overrideprotectedvirtual

Implements QskTextPredictor.

Definition at line 55 of file QskPinyinTextPredictor.cpp.