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

kspell2

  • kspell2
backgroundchecker.h
1 
21 #ifndef KSPELL_BACKGROUNDCHECKER_H
22 #define KSPELL_BACKGROUNDCHECKER_H
23 
24 #include "broker.h"
25 
26 class TQCustomEvent;
27 
28 namespace KSpell2
29 {
30  class Filter;
31 
49  class KDE_EXPORT BackgroundChecker : public TQObject
50  {
51  Q_OBJECT
52  public:
53  BackgroundChecker( const Broker::Ptr& broker, TQObject *parent =0,
54  const char *name =0 );
55  ~BackgroundChecker();
56 
63  void checkText( const TQString& );
64 
65  Filter *filter() const;
66 
67  Broker *broker() const;
68  void changeLanguage( const TQString& lang );
69 
70  bool checkWord( const TQString& word );
71  TQStringList suggest( const TQString& ) const;
72  bool addWord( const TQString& word );
73  public slots:
74  virtual void setFilter( KSpell2::Filter *filter );
75  virtual void start();
76  virtual void stop();
77 
83  virtual void continueChecking();
84 
85  signals:
89  void misspelling( const TQString& word, int start );
90 
94  void done();
95 
96  protected:
105  virtual TQString getMoreText();
106 
111  virtual void finishedCurrentFeed();
112 
113  protected slots:
114  void slotEngineDone();
115  protected:
116  //void customEvent( TQCustomEvent *event );
117  private:
118  class Private;
119  Private *d;
120  };
121 
122 }
123 
124 #endif
KSpell2::Filter
Filter is used to split text into words which will be spell checked.
Definition: filter.h:65
KSpell2::BackgroundChecker
BackgroundChecker is used to perform spell checking without blocking the application.
Definition: backgroundchecker.h:49
KSpell2::Broker
Class used to deal with dictionaries.
Definition: broker.h:48

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.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |