Go to the documentation of this file.
32#include <ksharedptr.h>
35#include <koffice_export.h>
40class KoSpeakerPrivate;
42#define kospeaker KoSpeaker::koSpeaker()
63class KOFFICECORE_EXPORT KoSpeaker : public TQObject, public TDEShared
87 bool isEnabled() const;
95 void readConfig(TDEConfig* config);
103 bool maybeSayWidget(TQWidget* w, const TQPoint& pos = TQPoint());
114 bool sayWidget( const TQString& msg);
129 void queueSpeech( const TQString& msg, const TQString& langCode = TQString(), bool first = true);
176 static KoSpeaker* KSpkr;
191 TQString getKttsdVersion();
196 void sayScreenReaderOutput( const TQString &msg, const TQString &talker);
197 uint setText( const TQString &text, const TQString &talker);
198 int appendText( const TQString &text, uint jobNum=0);
199 void startText(uint jobNum=0);
200 void removeText(uint jobNum=0);
void customSpeakWidget(TQWidget *w, const TQPoint &p, uint flags) This signal is emitted each polling interval when KoSpeaker did not speak the widget (either because ...
void customSpeakNewWidget(TQWidget *w, const TQPoint &p, uint flags) This signal is emitted whenever a new widget has received focus or the mouse pointer has moved to a n...
static KoSpeaker * koSpeaker() Returns the KoSpeaker object singleton.
void startSpeech() Start speaking queued text job (if any).
void queueSpeech(const TQString &msg, const TQString &langCode=TQString(), bool first=true) Queue a msg as a speech text job.
SpeakFlags Speech Options.
@ SpeakWhatsThis Speak Whats This if available.
@ SpeakTooltip Speak tooltip if available.
@ SpeakDisabled Say 'disabled' if not enabled.
@ SpeakPointerWidget Speak widget under mouse pointer.
@ SpeakFocusWidget Speak widget with focus.
@ SpeakAccelerator Speak accelerator.
static bool isKttsdInstalled() Returns whether the KTTSD deamon is installed in the system.
void cancelSpeakWidget() Cancels speaking of widget.
|