KSpeechSink Class Reference
KTTSD DCOP Signal Sink. More...
#include <kspeechsink.h>
Public Types | |
enum | kttsdJobState { jsQueued = 0, jsSpeakable = 1, jsSpeaking = 2, jsPaused = 3, jsFinished = 4 } |
enum | kttsdMarkupType { mtPlain = 0, mtJsml = 1, mtSmml = 2, mtSable = 3 } |
DCOP Member Functions | |
virtual ASYNC | kttsdStarted () |
virtual ASYNC | kttsdExiting () |
virtual ASYNC | markerSeen (const QCString &, const QString &) |
virtual ASYNC | sentenceStarted (const QCString &, const uint, const uint) |
virtual ASYNC | sentenceFinished (const QCString &, const uint, const uint) |
virtual ASYNC | textSet (const QCString &, const uint) |
virtual ASYNC | textAppended (const QCString &, const uint, const int) |
virtual ASYNC | textStarted (const QCString &, const uint) |
virtual ASYNC | textFinished (const QCString &, const uint) |
virtual ASYNC | textStopped (const QCString &, const uint) |
virtual ASYNC | textPaused (const QCString &, const uint) |
virtual ASYNC | textResumed (const QCString &, const uint) |
virtual ASYNC | textRemoved (const QCString &, const uint) |
Detailed Description
KTTSD DCOP Signal Sink.This defines the interface to sink signals emitted by KTTSD, the KDE Text-to-speech Deamon. The DCOP IDL Compiler generates a skeleton file from this interface definition that will marshal the arguments for you.
Usage
See the Signals section of kspeech.h for instructions.
- Warning:
- The KSpeechSink interface is still being developed and is likely to change in the future.
Definition at line 40 of file kspeechsink.h.
Member Enumeration Documentation
|
Job states returned by method getTextJobState.
Definition at line 48 of file kspeechsink.h. |
|
Speech markup language types.
Definition at line 61 of file kspeechsink.h. |
Member Function Documentation
|
This signal is emitted when KTTSD starts or restarts after a call to reinit.
Definition at line 73 of file kspeechsink.h. |
|
This signal is emitted just before KTTSD exits.
Definition at line 77 of file kspeechsink.h. |
|
This signal is emitted when the speech engine/plugin encounters a marker in the text.
Definition at line 85 of file kspeechsink.h. |
|
This signal is emitted whenever a sentence begins speaking.
Definition at line 93 of file kspeechsink.h. |
|
This signal is emitted when a sentence has finished speaking.
Definition at line 101 of file kspeechsink.h. |
|
This signal is emitted whenever a new text job is added to the queue.
Definition at line 108 of file kspeechsink.h. |
|
This signal is emitted whenever a new part is appended to a text job.
Definition at line 117 of file kspeechsink.h. |
|
This signal is emitted whenever speaking of a text job begins.
Definition at line 124 of file kspeechsink.h. |
|
This signal is emitted whenever a text job is finished. The job has been marked for deletion from the queue and will be deleted when another job reaches the Finished state. (Only one job in the text queue may be in state Finished at one time.) If startText or resumeText is called before the job is deleted, it will remain in the queue for speaking.
Definition at line 134 of file kspeechsink.h. |
|
This signal is emitted whenever a speaking text job stops speaking.
Definition at line 140 of file kspeechsink.h. |
|
This signal is emitted whenever a speaking text job is paused.
Definition at line 146 of file kspeechsink.h. |
|
This signal is emitted when a text job, that was previously paused, resumes speaking.
Definition at line 152 of file kspeechsink.h. |
|
This signal is emitted whenever a text job is deleted from the queue. The job is no longer in the queue when this signal is emitted.
Definition at line 159 of file kspeechsink.h. |
The documentation for this class was generated from the following file: