• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kspell2
 

kspell2

  • kspell2
defaultdictionary.h
1 /*
2  * defaultdictionary.h
3  *
4  * Copyright (C) 2004 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 KSPELL_DEFAULTDICTIONARY_H
22 #define KSPELL_DEFAULTDICTIONARY_H
23 
24 #include "dictionary.h"
25 
26 #include <tqobject.h>
27 #include <tqstringlist.h>
28 
29 namespace KSpell2
30 {
31  class Broker;
32  class DefaultDictionary : public TQObject,
33  public Dictionary
34  {
35  Q_OBJECT
36  public:
37  DefaultDictionary( const TQString& lang, Broker *broker );
38  ~DefaultDictionary();
39  public:
46  bool isValid() const;
47 
48  //Dictionary interface
49  virtual bool check( const TQString& word );
50  virtual TQStringList suggest( const TQString& word );
51  virtual bool checkAndSuggest( const TQString& word,
52  TQStringList& suggestions );
53  virtual bool storeReplacement( const TQString& bad,
54  const TQString& good );
55  virtual bool addToPersonal( const TQString& word );
56  virtual bool addToSession( const TQString& word );
57  //end of Dictionary interfaces
58 
59  signals:
60  void changed();
61 
62  protected slots:
63  void defaultConfigurationChanged();
64 
65  private:
66  class Private;
67  Private *d;
68  };
69 }
70 
71 #endif
KSpell2
kspell_hspellclient.h
Definition: backgroundchecker.h:28

kspell2

Skip menu "kspell2"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kspell2

Skip menu "kspell2"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kspell2 by doxygen 1.8.8
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |