Sonnet

voikkoclient.h
1/*
2 * voikkoclient.h
3 *
4 * SPDX-FileCopyrightText: 2015 Jesse Jaara <jesse.jaara@gmail.com>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-or-later
7 */
8
9#ifndef SONNET_VOIKKOCLIENT_H
10#define SONNET_VOIKKOCLIENT_H
11
12#include "client_p.h"
13
14class VoikkoClient : public Sonnet::Client
15{
16 Q_OBJECT
17 Q_INTERFACES(Sonnet::Client)
18 Q_PLUGIN_METADATA(IID "org.kde.Sonnet.VoikkoClient")
19
20public:
21 explicit VoikkoClient(QObject *parent = nullptr);
22 ~VoikkoClient();
23
24 int reliability() const override;
25
26 Sonnet::SpellerPlugin *createSpeller(const QString &language) override;
27
28 QStringList languages() const override;
29
30 QString name() const override;
31
32private:
33 QStringList m_supportedLanguages;
34};
35
36#endif // SONNET_VOIKKOCLIENT_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.