Sonnet

voikkoclient.h
1 /*
2  * voikkoclient.h
3  *
4  * SPDX-FileCopyrightText: 2015 Jesse Jaara <[email protected]>
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 
14 class VoikkoClient : public Sonnet::Client
15 {
16  Q_OBJECT
17  Q_INTERFACES(Sonnet::Client)
18  Q_PLUGIN_METADATA(IID "org.kde.Sonnet.VoikkoClient")
19 
20 public:
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 
32 private:
33  QStringList m_supportedLanguages;
34 };
35 
36 #endif // SONNET_VOIKKOCLIENT_H
QString name(StandardShortcut id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed Sep 28 2022 04:06:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.