25 #ifndef AKREGATOR_SPEECHCLIENT_H
26 #define AKREGATOR_SPEECHCLIENT_H
28 #include <kspeechsink.h>
29 #include "kspeech_stub.h"
34 template < class T> class TQValueList;
41 class SpeechClient : public TQObject, public KSpeech_stub, virtual public KSpeechSink
49 static SpeechClient* self();
50 bool isTextToSpeechInstalled() const;
51 virtual ~SpeechClient();
55 void slotSpeak( const TQString& text, const TQString& language);
56 void slotSpeak( const Article& article);
57 void slotSpeak( const TQValueList<Article>& articles);
63 void signalJobsStarted();
66 void signalJobsDone();
68 void signalActivated( bool);
73 void setupSpeechSystem();
75 ASYNC textRemoved( const TQCString& appId, uint jobNum);
79 class SpeechClientPrivate;
80 SpeechClientPrivate* d;
82 static SpeechClient* m_self;
|