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

tdespell2

  • tdespell2
backgroundchecker.h
1
21#ifndef TDESPELL_BACKGROUNDCHECKER_H
22#define TDESPELL_BACKGROUNDCHECKER_H
23
24#include "broker.h"
25
26class TQCustomEvent;
27
28namespace KSpell2
29{
30 class Filter;
31
49 class TDE_EXPORT BackgroundChecker : public TQObject
50 {
51 TQ_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::BackgroundChecker
BackgroundChecker is used to perform spell checking without blocking the application.
Definition: backgroundchecker.h:50
KSpell2::BackgroundChecker::done
void done()
Emitted after the whole text has been spell checked.
KSpell2::BackgroundChecker::misspelling
void misspelling(const TQString &word, int start)
Emitted whenever a misspelled word is found.
KSpell2::Broker
Class used to deal with dictionaries.
Definition: broker.h:49
KSpell2::Filter
Filter is used to split text into words which will be spell checked.
Definition: filter.h:65
KSpell2
tdespell_hspellclient.h
Definition: backgroundchecker.h:29

tdespell2

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

tdespell2

Skip menu "tdespell2"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdespell2 by doxygen 1.9.4
This website is maintained by Timothy Pearson.