Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
kspell2
kspell2
kspell2
backgroundthread.h
1
21
#ifndef KSPELL_BACKGROUNDTHREAD_H
22
#define KSPELL_BACKGROUNDTHREAD_H
23
24
#include "broker.h"
25
26
#include <tqthread.h>
27
#include <tqmutex.h>
28
29
class
TQObject;
30
31
namespace
KSpell2
32
{
33
class
Filter;
34
class
Broker;
35
class
Dictionary;
36
class
BackgroundThread :
public
TQThread
37
{
38
public
:
39
BackgroundThread();
40
void
setReceiver( TQObject *parent );
41
TQObject *receiver()
const
{
return
m_recv; }
42
43
void
setBroker(
const
Broker::Ptr& broker );
44
Broker *broker()
const
{
return
m_broker; }
45
46
void
setText(
const
TQString& );
47
TQString text()
const
;
48
49
void
changeLanguage(
const
TQString& );
50
TQString language()
const
;
51
52
void
setFilter( Filter *filter );
53
Filter *filter()
const
{
return
m_filter; }
54
55
TQStringList suggest(
const
TQString& )
const
;
56
57
virtual
void
run();
58
void
stop();
59
private
:
60
TQObject *m_recv;
61
TQMutex m_mutex;
62
Filter *m_filter;
63
Broker::Ptr m_broker;
64
Dictionary *m_dict;
65
bool
m_done;
66
};
67
}
68
69
#endif
KSpell2
kspell_hspellclient.h
Definition:
backgroundchecker.h:29
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