|
Maliit Plugins
0.92.5
|
Provides word prediction and error correction. More...
#include <wordengine.h>
Public Member Functions | |
| WordEngine (QObject *parent=0) | |
| virtual | ~WordEngine () |
| D'tor. | |
| virtual Q_SLOT void | onTextChanged (const Model::SharedText &text) |
| Q_SIGNAL void | candidatesUpdated (const QStringList &candidates) |
Private Attributes | |
| const QScopedPointer < WordEnginePrivate > | d_ptr |
Provides word prediction and error correction.
Provides error correction based on preedit (default engine: hunspell) and word predication based on surrounding text and preedit (default engine: presage). WordEngine is a consumer of the shared Model::Text master copy, but does not modify it.
|
explicit |
C'tor.
| parent | the parent object, takes ownership if valid. |
|
virtual |
D'tor.
| void MaliitKeyboard::Logic::WordEngine::candidatesUpdated | ( | const QStringList & | candidates | ) |
Emitted when new candidates have been calculuated, usually as a result of text changes.
| candidates | the list of updated candidates |
|
virtual |
Called when text model changed. Can trigger emission of candidatesUpdated signal.
| text | the shared text model |
|
private |
1.8.1.1