Sonnet
9#ifndef KSPELL_HSPELLDICT_H
10#define KSPELL_HSPELLDICT_H
13#include <QStringDecoder>
14#include <QStringEncoder>
16#include "spellerplugin_p.h"
22class HSpellDict :
public Sonnet::SpellerPlugin
25 explicit HSpellDict(
const QString &lang);
27 bool isCorrect(
const QString &word)
const override;
29 QStringList suggest(
const QString &word)
const override;
31 bool storeReplacement(
const QString &bad,
const QString &good)
override;
33 bool addToPersonal(
const QString &word)
override;
34 bool addToSession(
const QString &word)
override;
35 inline bool isInitialized()
const
41 void storePersonalWords();
43 struct dict_radix *m_speller;
44 mutable QStringDecoder m_decoder;
45 mutable QStringEncoder m_encoder;
47 QSet<QString> m_sessionWords;
48 QSet<QString> m_personalWords;
49 QHash<QString, QString> m_replacements;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:00:47 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.