• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDECore

  • kdecore
  • sonnet
client_p.h
Go to the documentation of this file.
1// -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*-
2/*
3 *
4 * Copyright (C) 2003 Zack Rusin <zack@kde.org>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 * 02110-1301 USA
20 */
21#ifndef SONNET_CLIENT_P_H
22#define SONNET_CLIENT_P_H
23
24#include <QtCore/QObject>
25#include <QtCore/QStringList>
26#include <QtCore/QString>
27
28#include <kdecore_export.h>
29/*
30 * The fact that this class inherits from QObject makes me
31 * hugely unhappy. The reason for as of this writing is that
32 * I don't really feel like writing my own KLibFactory
33 * that would load anything else then QObject derivatives.
34 */
35namespace Sonnet
36{
37 class SpellerPlugin;
38
43 class KDECORE_EXPORT Client : public QObject
44 {
45 Q_OBJECT
46 public:
47 Client( QObject *parent = 0 );
48
52 virtual int reliability() const = 0;
53
64 virtual SpellerPlugin *createSpeller(const QString &language) =0;
65
69 virtual QStringList languages() const =0;
70
74 virtual QString name() const =0;
75 };
76}
77
78#endif // SONNET_CLIENT_P_H
QObject
QStringList
QString
Sonnet::Client
Definition: client_p.h:44
Sonnet::Client::name
virtual QString name() const =0
Sonnet::Client::createSpeller
virtual SpellerPlugin * createSpeller(const QString &language)=0
Returns a dictionary for the given language.
Sonnet::Client::reliability
virtual int reliability() const =0
Sonnet::Client::languages
virtual QStringList languages() const =0
Sonnet::SpellerPlugin
Class is returned by from Loader.
Definition: spellerplugin_p.h:39
kdecore_export.h
Sonnet
The sonnet namespace.
Definition: backgroundchecker.h:34
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal