• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Sonnet

kspell_hspellclient.cpp

Go to the documentation of this file.
00001 
00022 #include "kspell_hspellclient.h"
00023 
00024 #include "kspell_hspelldict.h"
00025 
00026 #include <kpluginfactory.h>
00027 #include <kpluginloader.h>
00028 #include <kdebug.h>
00029 
00030 K_PLUGIN_FACTORY( HSpellClientFactory, registerPlugin<HSpellClient>(); )
00031 K_EXPORT_PLUGIN( HSpellClientFactory( "kspell_hspell" ) )
00032 
00033 using namespace Sonnet;
00034 
00035 HSpellClient::HSpellClient(QObject *parent,
00036                            const QVariantList &/* args */)
00037     : Client(parent)
00038 {
00039 }
00040 
00041 HSpellClient::~HSpellClient()
00042 {
00043 }
00044 
00045 SpellerPlugin *HSpellClient::createSpeller(const QString &language)
00046 {
00047     HSpellDict *ad = new HSpellDict(language);
00048     return ad;
00049 }
00050 
00051 QStringList HSpellClient::languages() const
00052 {
00053     QStringList langs;
00054     langs.append( "he" );
00055 
00056     return langs;
00057 }
00058 
00059 #include "kspell_hspellclient.moc"

Sonnet

Skip menu "Sonnet"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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