QSkinny
0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskTextPredictor.h
1
/******************************************************************************
2
* QSkinny - Copyright (C) The authors
3
* SPDX-License-Identifier: BSD-3-Clause
4
*****************************************************************************/
5
6
#ifndef QSK_TEXT_PREDICTOR_H
7
#define QSK_TEXT_PREDICTOR_H
8
9
#include <QskGlobal.h>
10
#include <qobject.h>
11
12
// abstract base class for input methods for retrieving predictive text
13
14
class
QSK_EXPORT
QskTextPredictor
:
public
QObject
15
{
16
Q_OBJECT
17
18
public
:
19
~QskTextPredictor
()
override
;
20
21
public
Q_SLOTS:
22
virtual
void
request(
const
QString& text ) = 0;
23
virtual
void
reset() = 0;
24
25
Q_SIGNALS:
26
void
predictionChanged(
const
QString& text,
const
QStringList& candidates );
27
28
protected
:
29
QskTextPredictor
( QObject* );
30
};
31
32
#endif
QskTextPredictor
Definition
QskTextPredictor.h:15
src
inputpanel
QskTextPredictor.h
Generated by
1.9.8