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

tdespell2

  • tdespell2
threadevents.h
1 /*
2  * threadevents.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 TDESPELL_THREADEVENTS_H
22 #define TDESPELL_THREADEVENTS_H
23 
24 #include <tqevent.h>
25 #include <tqstring.h>
26 
27 namespace KSpell2
28 {
29  enum {
30  FoundMisspelling = 2003,
31  FinishedChecking = 2004
32  };
33  class MisspellingEvent : public TQCustomEvent
34  {
35  public:
36  MisspellingEvent( const TQString& word,
37  int pos )
38  : TQCustomEvent( FoundMisspelling ), m_word( word ),
39  m_position( pos )
40  {}
41 
42  TQString word() const {
43  return m_word;
44  }
45  int position() const {
46  return m_position;
47  }
48  private:
49  TQString m_word;
50  int m_position;
51  };
52  class FinishedCheckingEvent : public TQCustomEvent
53  {
54  public:
55  FinishedCheckingEvent()
56  : TQCustomEvent( FinishedChecking )
57  {}
58  };
59 
60 }
61 
62 #endif
KSpell2
tdespell_hspellclient.h
Definition: backgroundchecker.h:28

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
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdespell2 by doxygen 1.8.8
This website is maintained by Timothy Pearson.