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

KDECore

client_p.h

Go to the documentation of this file.
00001 // -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*-
00002 /*
00003  *
00004  * Copyright (C)  2003  Zack Rusin <zack@kde.org>
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00019  * 02110-1301  USA
00020  */
00021 #ifndef SONNET_CLIENT_P_H
00022 #define SONNET_CLIENT_P_H
00023 
00024 #include <QtCore/QObject>
00025 #include <QtCore/QStringList>
00026 #include <QtCore/QString>
00027 
00028 #include <kdecore_export.h>
00029 /*
00030  * The fact that this class inherits from QObject makes me
00031  * hugely unhappy. The reason for as of this writing is that
00032  * I don't really feel like writing my own KLibFactory
00033  * that would load anything else then QObject derivatives.
00034  */
00035 namespace Sonnet
00036 {
00037     class SpellerPlugin;
00038 
00043     class KDECORE_EXPORT Client : public QObject
00044     {
00045         Q_OBJECT
00046     public:
00047         Client( QObject *parent = 0 );
00048 
00052         virtual int reliability() const = 0;
00053 
00064         virtual SpellerPlugin *createSpeller(const QString &language) =0;
00065 
00069         virtual QStringList languages() const =0;
00070 
00074         virtual QString name() const =0;
00075     };
00076 }
00077 
00078 #endif // SONNET_CLIENT_P_H

KDECore

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • 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
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal