QSkinny
0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskPinyinTextPredictor.h
1
/******************************************************************************
2
* QSkinny - Copyright (C) The authors
3
* SPDX-License-Identifier: BSD-3-Clause
4
*****************************************************************************/
5
6
#ifndef QSK_PINYIN_TEXT_PREDICTOR_H
7
#define QSK_PINYIN_TEXT_PREDICTOR_H
8
9
#include "QskInputContextGlobal.h"
10
#include <QskTextPredictor.h>
11
#include <memory>
12
13
class
QSK_INPUTCONTEXT_EXPORT
QskPinyinTextPredictor
:
public
QskTextPredictor
14
{
15
Q_OBJECT
16
17
using
Inherited
=
QskTextPredictor
;
18
19
public
:
20
QskPinyinTextPredictor
( QObject* =
nullptr
);
21
~QskPinyinTextPredictor
()
override
;
22
23
int
candidateCount()
const override
;
24
QString candidate(
int
)
const override
;
25
26
protected
:
27
void
request(
const
QString& )
override
;
28
void
reset()
override
;
29
30
private
:
31
class
PrivateData;
32
std::unique_ptr< PrivateData > m_data;
33
};
34
35
#endif
QskPinyinTextPredictor
Definition
QskPinyinTextPredictor.h:14
QskTextPredictor
Definition
QskTextPredictor.h:15
src
inputpanel
QskPinyinTextPredictor.h
Generated by
1.9.8