Sonnet

nsspellcheckerclient.h
1/*
2 * nsspellcheckerclient.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_NSSPELLCLIENT_H
9#define KSPELL_NSSPELLCLIENT_H
10
11#include "client_p.h"
12
13namespace Sonnet
14{
15class SpellerPlugin;
16}
17using Sonnet::SpellerPlugin;
18
19class NSSpellCheckerClient : public Sonnet::Client
20{
21 Q_OBJECT
22 Q_INTERFACES(Sonnet::Client)
23 Q_PLUGIN_METADATA(IID "org.kde.Sonnet.NSSpellClient")
24public:
25 explicit NSSpellCheckerClient(QObject *parent = nullptr);
26 ~NSSpellCheckerClient();
27
28 int reliability() const;
29
30 SpellerPlugin *createSpeller(const QString &language);
31 QStringList languages() const;
32 QString name() const
33 {
34 return QStringLiteral("NSSpellChecker");
35 }
36};
37
38#endif
The sonnet namespace.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.