8#ifndef KSPELL_HUNSPELLDICT_H
9#define KSPELL_HUNSPELLDICT_H
11#include "hunspell.hxx"
12#include "spellerplugin_p.h"
14#include <QStringDecoder>
15#include <QStringEncoder>
19class HunspellDict :
public Sonnet::SpellerPlugin
22 explicit HunspellDict(
const QString &name,
const std::shared_ptr<Hunspell> &speller);
23 ~HunspellDict()
override;
24 bool isCorrect(
const QString &word)
const override;
28 bool storeReplacement(
const QString &bad,
const QString &good)
override;
30 bool addToPersonal(
const QString &word)
override;
31 bool addToSession(
const QString &word)
override;
33 static std::shared_ptr<Hunspell> createHunspell(
const QString &lang,
QString path);
38 std::shared_ptr<Hunspell> m_speller;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:01:36 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.