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