Sonnet

nsspellcheckerdict.h
1/*
2 * nsspellcheckerdict.h
3 *
4 * SPDX-FileCopyrightText: 2015 Nick Shaforostoff <shaforostoff@gmail.com>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-or-later
7 */
8#ifndef KSPELL_NSSPELLDICT_H
9#define KSPELL_NSSPELLDICT_H
10
11#include "spellerplugin_p.h"
12
13class NSSpellCheckerDict : public Sonnet::SpellerPlugin
14{
15public:
16 explicit NSSpellCheckerDict(const QString &lang);
17 ~NSSpellCheckerDict();
18 virtual bool isCorrect(const QString &word) const;
19
20 virtual QStringList suggest(const QString &word) const;
21
22 virtual bool storeReplacement(const QString &bad, const QString &good);
23
24 virtual bool addToPersonal(const QString &word);
25 virtual bool addToSession(const QString &word);
26
27private:
28#ifdef __OBJC__
29 NSString *m_langCode;
30#else
31 void *m_langCode;
32#endif
33};
34
35#endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.