.TH "KSpeechSink" kde3 "11 Jun 2005" "Version Version 3.4.1" "interfaces Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KSpeechSink \- KTTSD DCOP Signal Sink.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kspeechsink.h>\fP
.PP
Inherits \fBDCOPObject\fP.
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBkttsdJobState\fP { \fBjsQueued\fP =  0, \fBjsSpeakable\fP =  1, \fBjsSpeaking\fP =  2, \fBjsPaused\fP =  3, \fBjsFinished\fP =  4 }"
.br
.ti -1c
.RI "enum \fBkttsdMarkupType\fP { \fBmtPlain\fP =  0, \fBmtJsml\fP =  1, \fBmtSmml\fP =  2, \fBmtSable\fP =  3 }"
.br
.in -1c
.SS "DCOP Member Functions"

.in +1c
.ti -1c
.RI "virtual ASYNC \fBkttsdStarted\fP ()"
.br
.ti -1c
.RI "virtual ASYNC \fBkttsdExiting\fP ()"
.br
.ti -1c
.RI "virtual ASYNC \fBmarkerSeen\fP (const \fBQCString\fP &, const \fBQString\fP &)"
.br
.ti -1c
.RI "virtual ASYNC \fBsentenceStarted\fP (const \fBQCString\fP &, uint, uint)"
.br
.ti -1c
.RI "virtual ASYNC \fBsentenceFinished\fP (const \fBQCString\fP &, uint, uint)"
.br
.ti -1c
.RI "virtual ASYNC \fBtextSet\fP (const \fBQCString\fP &, uint)"
.br
.ti -1c
.RI "virtual ASYNC \fBtextAppended\fP (const \fBQCString\fP &, uint, int)"
.br
.ti -1c
.RI "virtual ASYNC \fBtextStarted\fP (const \fBQCString\fP &, uint)"
.br
.ti -1c
.RI "virtual ASYNC \fBtextFinished\fP (const \fBQCString\fP &, uint)"
.br
.ti -1c
.RI "virtual ASYNC \fBtextStopped\fP (const \fBQCString\fP &, uint)"
.br
.ti -1c
.RI "virtual ASYNC \fBtextPaused\fP (const \fBQCString\fP &, uint)"
.br
.ti -1c
.RI "virtual ASYNC \fBtextResumed\fP (const \fBQCString\fP &, uint)"
.br
.ti -1c
.RI "virtual ASYNC \fBtextRemoved\fP (const \fBQCString\fP &, uint)"
.br
.in -1c
.SH "Detailed Description"
.PP 
KTTSD DCOP Signal Sink. 

\fBSince:\fP
.RS 4
\fBKDE\fP 3.4
.RE
.PP
This defines the interface to sink signals emitted by KTTSD, the \fBKDE\fP Text-to-speech Deamon. The DCOP IDL Compiler generates a skeleton file from this interface definition that will marshal the arguments for you.
.SH "Usage"
.PP
See the Signals section of \fBkspeech.h\fP for instructions.
.PP
\fBWarning:\fP
.RS 4
The KSpeechSink interface is still being developed and is likely to change in the future. 
.RE
.PP

.PP
Definition at line 42 of file kspeechsink.h.
.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBKSpeechSink::kttsdJobState\fP"
.PP
Job states returned by method \fBgetTextJobState\fP. 
.PP
\fBEnumeration values: \fP
.in +1c
.TP
\fB\fIjsQueued \fP\fP
Job has been queued but is not yet speakable. 
.TP
\fB\fIjsSpeakable \fP\fP
Job is speakable, but is not speaking. 
.TP
\fB\fIjsSpeaking \fP\fP
Job is currently speaking. 
.TP
\fB\fIjsPaused \fP\fP
Job has been paused. 
.TP
\fB\fIjsFinished \fP\fP
Job is finished and is deleteable. 
.PP
Definition at line 50 of file kspeechsink.h.
.SS "enum \fBKSpeechSink::kttsdMarkupType\fP"
.PP
Speech markup language types. 
.PP
\fBEnumeration values: \fP
.in +1c
.TP
\fB\fImtPlain \fP\fP
Plain text. 
.TP
\fB\fImtJsml \fP\fP
Java Speech Markup Language. 
.TP
\fB\fImtSmml \fP\fP
Speech Markup Meta-language 
.TP
\fB\fImtSable \fP\fP
Sable 2.0. 
.PP
Definition at line 63 of file kspeechsink.h.
.SH "Member Function Documentation"
.PP 
.SS "virtual ASYNC KSpeechSink::kttsdStarted ()\fC [inline, virtual]\fP"
.PP
This signal is emitted when KTTSD starts or restarts after a call to reinit. 
.PP
Definition at line 75 of file kspeechsink.h.
.SS "virtual ASYNC KSpeechSink::kttsdExiting ()\fC [inline, virtual]\fP"
.PP
This signal is emitted just before KTTSD exits. 
.PP
Definition at line 79 of file kspeechsink.h.
.SS "virtual ASYNC KSpeechSink::markerSeen (const \fBQCString\fP &, const \fBQString\fP &)\fC [inline, virtual]\fP"
.PP
This signal is emitted when the speech engine/plugin encounters a marker in the text. 
.PP
\fBParameters:\fP
.RS 4
\fIappId\fP DCOP application ID of the application that queued the text. 
.br
\fImarkerName\fP The name of the marker seen. 
.RE
.PP
\fBSee also:\fP
.RS 4
markers 
.RE
.PP

.PP
Definition at line 87 of file kspeechsink.h.
.SS "virtual ASYNC KSpeechSink::sentenceStarted (const \fBQCString\fP &, uint, uint)\fC [inline, virtual]\fP"
.PP
This signal is emitted whenever a sentence begins speaking. 
.PP
\fBParameters:\fP
.RS 4
\fIappId\fP DCOP application ID of the application that queued the text. 
.br
\fIjobNum\fP Job number of the text job. 
.br
\fIseq\fP Sequence number of the text. 
.RE
.PP
\fBSee also:\fP
.RS 4
getTextCount 
.RE
.PP

.PP
Definition at line 95 of file kspeechsink.h.
.SS "virtual ASYNC KSpeechSink::sentenceFinished (const \fBQCString\fP &, uint, uint)\fC [inline, virtual]\fP"
.PP
This signal is emitted when a sentence has finished speaking. 
.PP
\fBParameters:\fP
.RS 4
\fIappId\fP DCOP application ID of the application that queued the text. 
.br
\fIjobNum\fP Job number of the text job. 
.br
\fIseq\fP Sequence number of the text. 
.RE
.PP
\fBSee also:\fP
.RS 4
getTextCount 
.RE
.PP

.PP
Definition at line 103 of file kspeechsink.h.
.SS "virtual ASYNC KSpeechSink::textSet (const \fBQCString\fP &, uint)\fC [inline, virtual]\fP"
.PP
This signal is emitted whenever a new text job is added to the queue. 
.PP
\fBParameters:\fP
.RS 4
\fIappId\fP The DCOP senderId of the application that created the job. NULL if kttsd. 
.br
\fIjobNum\fP Job number of the text job. 
.RE
.PP

.PP
Definition at line 110 of file kspeechsink.h.
.SS "virtual ASYNC KSpeechSink::textAppended (const \fBQCString\fP &, uint, int)\fC [inline, virtual]\fP"
.PP
This signal is emitted whenever a new part is appended to a text job. 
.PP
\fBParameters:\fP
.RS 4
\fIappId\fP The DCOP senderId of the application that created the job. 
.br
\fIjobNum\fP Job number of the text job. 
.br
\fIpartNum\fP Part number of the new part. Parts are numbered starting at 1. 
.RE
.PP

.PP
Definition at line 119 of file kspeechsink.h.
.SS "virtual ASYNC KSpeechSink::textStarted (const \fBQCString\fP &, uint)\fC [inline, virtual]\fP"
.PP
This signal is emitted whenever speaking of a text job begins. 
.PP
\fBParameters:\fP
.RS 4
\fIappId\fP The DCOP senderId of the application that created the job. NULL if kttsd. 
.br
\fIjobNum\fP Job number of the text job. 
.RE
.PP

.PP
Definition at line 126 of file kspeechsink.h.
.SS "virtual ASYNC KSpeechSink::textFinished (const \fBQCString\fP &, uint)\fC [inline, virtual]\fP"
.PP
This signal is emitted whenever a text job is finished. 
.PP
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 \fBstartText\fP or \fBresumeText\fP is called before the job is deleted, it will remain in the queue for speaking. 
.PP
\fBParameters:\fP
.RS 4
\fIappId\fP The DCOP senderId of the application that created the job. NULL if kttsd. 
.br
\fIjobNum\fP Job number of the text job. 
.RE
.PP

.PP
Definition at line 136 of file kspeechsink.h.
.SS "virtual ASYNC KSpeechSink::textStopped (const \fBQCString\fP &, uint)\fC [inline, virtual]\fP"
.PP
This signal is emitted whenever a speaking text job stops speaking. 
.PP
\fBParameters:\fP
.RS 4
\fIappId\fP The DCOP senderId of the application that created the job. NULL if kttsd. 
.br
\fIjobNum\fP Job number of the text job. 
.RE
.PP

.PP
Definition at line 142 of file kspeechsink.h.
.SS "virtual ASYNC KSpeechSink::textPaused (const \fBQCString\fP &, uint)\fC [inline, virtual]\fP"
.PP
This signal is emitted whenever a speaking text job is paused. 
.PP
\fBParameters:\fP
.RS 4
\fIappId\fP The DCOP senderId of the application that created the job. NULL if kttsd. 
.br
\fIjobNum\fP Job number of the text job. 
.RE
.PP

.PP
Definition at line 148 of file kspeechsink.h.
.SS "virtual ASYNC KSpeechSink::textResumed (const \fBQCString\fP &, uint)\fC [inline, virtual]\fP"
.PP
This signal is emitted when a text job, that was previously paused, resumes speaking. 
.PP
\fBParameters:\fP
.RS 4
\fIappId\fP The DCOP senderId of the application that created the job. NULL if kttsd. 
.br
\fIjobNum\fP Job number of the text job. 
.RE
.PP

.PP
Definition at line 154 of file kspeechsink.h.
.SS "virtual ASYNC KSpeechSink::textRemoved (const \fBQCString\fP &, uint)\fC [inline, virtual]\fP"
.PP
This signal is emitted whenever a text job is deleted from the queue. 
.PP
The job is no longer in the queue when this signal is emitted. 
.PP
\fBParameters:\fP
.RS 4
\fIappId\fP The DCOP senderId of the application that created the job. NULL if kttsd. 
.br
\fIjobNum\fP Job number of the text job. 
.RE
.PP

.PP
Definition at line 161 of file kspeechsink.h.

.SH "Author"
.PP 
Generated automatically by Doxygen for interfaces Library from the source code.
