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

Sonnet

  • sonnet
  • plugins
  • hspell
kspell_hspellclient.cpp
Go to the documentation of this file.
1 
22 #include "kspell_hspellclient.h"
23 
24 #include "kspell_hspelldict.h"
25 
26 #include <kpluginfactory.h>
27 #include <kpluginloader.h>
28 #include <kdebug.h>
29 
30 K_PLUGIN_FACTORY( HSpellClientFactory, registerPlugin<HSpellClient>(); )
31 K_EXPORT_PLUGIN( HSpellClientFactory( "kspell_hspell" ) )
32 
33 using namespace Sonnet;
34 
35 HSpellClient::HSpellClient(QObject *parent,
36  const QVariantList &/* args */)
37  : Client(parent)
38 {
39 }
40 
41 HSpellClient::~HSpellClient()
42 {
43 }
44 
45 SpellerPlugin *HSpellClient::createSpeller(const QString &language)
46 {
47  HSpellDict *ad = new HSpellDict(language);
48  return ad;
49 }
50 
51 QStringList HSpellClient::languages() const
52 {
53  QStringList langs;
54  HSpellDict ad("he");
55  if (ad.isInitialized()) {
56  langs.append( "he" );
57  }
58  return langs;
59 }
60 
61 #include "kspell_hspellclient.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Mon Jul 15 2013 05:11:23 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Sonnet

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

kdelibs-4.10.4 API Reference

Skip menu "kdelibs-4.10.4 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