<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> <head> <title>interfaces: kspeech.h Source File (interfaces)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <div id="nav_header_title" align="left">KDE API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_right" style="text-align: left;"> / <a href="../..">API Reference</a> / <a href=".">interfaces</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <a name="content"></a> <!-- Generated by Doxygen 1.7.4 --> <div class="header"> <div class="headertitle"> <div class="title">kspeech.h</div> </div> </div> <div class="contents"> <div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***************************************************** vim:set ts=4 sw=4 sts=4:</span> <a name="l00002"></a>00002 <span class="comment"> kspeech.h</span> <a name="l00003"></a>00003 <span class="comment"> KTTSD DCOP Interface</span> <a name="l00004"></a>00004 <span class="comment"> --------------------</span> <a name="l00005"></a>00005 <span class="comment"> Copyright:</span> <a name="l00006"></a>00006 <span class="comment"> (C) 2002-2003 by José Pablo Ezequiel "Pupeno" Fernández <pupeno@kde.org></span> <a name="l00007"></a>00007 <span class="comment"> (C) 2003-2004 by Olaf Schmidt <ojschmidt@kde.org></span> <a name="l00008"></a>00008 <span class="comment"> (C) 2004-2005 by Gary Cramblitt <garycramblitt@comcast.net></span> <a name="l00009"></a>00009 <span class="comment"> -------------------</span> <a name="l00010"></a>00010 <span class="comment"> Original author: José Pablo Ezequiel "Pupeno" Fernández</span> <a name="l00011"></a>00011 <span class="comment"> ******************************************************************************/</span> <a name="l00012"></a>00012 <a name="l00013"></a>00013 <span class="comment">/***************************************************************************</span> <a name="l00014"></a>00014 <span class="comment"> * *</span> <a name="l00015"></a>00015 <span class="comment"> * This program is free software; you can redistribute it and/or modify *</span> <a name="l00016"></a>00016 <span class="comment"> * it under the terms of the GNU General Public License as published by *</span> <a name="l00017"></a>00017 <span class="comment"> * the Free Software Foundation; version 2 of the License. *</span> <a name="l00018"></a>00018 <span class="comment"> * *</span> <a name="l00019"></a>00019 <span class="comment"> ***************************************************************************/</span> <a name="l00020"></a>00020 <a name="l00021"></a>00021 <span class="preprocessor">#ifndef _KSPEECH_H_</span> <a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define _KSPEECH_H_</span> <a name="l00023"></a>00023 <span class="preprocessor"></span> <a name="l00024"></a>00024 <span class="preprocessor">#include <dcopobject.h></span> <a name="l00025"></a>00025 <span class="preprocessor">#include <qstringlist.h></span> <a name="l00026"></a>00026 <a name="l00644"></a>00644 <span class="comment">// NOTE: kspeech class is now obsolete. Please use KSpeech instead.</span> <a name="l00645"></a>00645 <a name="l00646"></a><a class="code" href="classKSpeech.html">00646</a> <span class="keyword">class </span><a class="code" href="classKSpeech.html" title="kspeech - the KDE Text-to-Speech API.">KSpeech</a> : <span class="keyword">virtual</span> <span class="keyword">public</span> <a class="codeRef" doxygen="dcop.tag:../../dcop/html/" href="../../dcop/html/classDCOPObject.html">DCOPObject</a> { <a name="l00647"></a>00647 K_DCOP <a name="l00648"></a>00648 <a name="l00649"></a>00649 <span class="keyword">public</span>: <a name="l00654"></a><a class="code" href="classKSpeech.html#a21feac3cbcb9598ac6c99be060668d28">00654</a> <span class="keyword">enum</span> <a class="code" href="classKSpeech.html#a21feac3cbcb9598ac6c99be060668d28" title="Job states returned by method getTextJobState.">kttsdJobState</a> <a name="l00655"></a>00655 { <a name="l00656"></a><a class="code" href="classKSpeech.html#a21feac3cbcb9598ac6c99be060668d28a00fed3d511b64ae176196a4dd628e7cc">00656</a> <a class="code" href="classKSpeech.html#a21feac3cbcb9598ac6c99be060668d28a00fed3d511b64ae176196a4dd628e7cc" title="Job has been queued but is not yet speakable.">jsQueued</a> = 0, <a name="l00657"></a><a class="code" href="classKSpeech.html#a21feac3cbcb9598ac6c99be060668d28a49cdbb6fe0188b63d5779e6db075ec27">00657</a> <a class="code" href="classKSpeech.html#a21feac3cbcb9598ac6c99be060668d28a49cdbb6fe0188b63d5779e6db075ec27" title="Job is speakable, but is not speaking.">jsSpeakable</a> = 1, <a name="l00658"></a><a class="code" href="classKSpeech.html#a21feac3cbcb9598ac6c99be060668d28aa08eb496fb365f34667b20a060cc2d62">00658</a> <a class="code" href="classKSpeech.html#a21feac3cbcb9598ac6c99be060668d28aa08eb496fb365f34667b20a060cc2d62" title="Job is currently speaking.">jsSpeaking</a> = 2, <a name="l00659"></a><a class="code" href="classKSpeech.html#a21feac3cbcb9598ac6c99be060668d28afb60655df8642572a0d5f93e27bf629c">00659</a> <a class="code" href="classKSpeech.html#a21feac3cbcb9598ac6c99be060668d28afb60655df8642572a0d5f93e27bf629c" title="Job has been paused.">jsPaused</a> = 3, <a name="l00660"></a><a class="code" href="classKSpeech.html#a21feac3cbcb9598ac6c99be060668d28a148f77aa31e11b4d4ccc64c71862791f">00660</a> <a class="code" href="classKSpeech.html#a21feac3cbcb9598ac6c99be060668d28a148f77aa31e11b4d4ccc64c71862791f" title="Job is finished and is deleteable.">jsFinished</a> = 4 <a name="l00661"></a>00661 }; <a name="l00662"></a>00662 <a name="l00667"></a><a class="code" href="classKSpeech.html#add6372f3b5570981b38bdfaf3967ec6b">00667</a> <span class="keyword">enum</span> <a class="code" href="classKSpeech.html#add6372f3b5570981b38bdfaf3967ec6b" title="Speech markup language types.">kttsdMarkupType</a> <a name="l00668"></a>00668 { <a name="l00669"></a><a class="code" href="classKSpeech.html#add6372f3b5570981b38bdfaf3967ec6ba822757e82c1029edd6ffb0c4fe9f0f67">00669</a> <a class="code" href="classKSpeech.html#add6372f3b5570981b38bdfaf3967ec6ba822757e82c1029edd6ffb0c4fe9f0f67" title="Plain text.">mtPlain</a> = 0, <a name="l00670"></a><a class="code" href="classKSpeech.html#add6372f3b5570981b38bdfaf3967ec6ba5e0541ff89788eddf5483413b8fade1f">00670</a> <a class="code" href="classKSpeech.html#add6372f3b5570981b38bdfaf3967ec6ba5e0541ff89788eddf5483413b8fade1f" title="Java Speech Markup Language.">mtJsml</a> = 1, <a name="l00671"></a><a class="code" href="classKSpeech.html#add6372f3b5570981b38bdfaf3967ec6ba1c31be5d3ead8547307c7321abbc553b">00671</a> <a class="code" href="classKSpeech.html#add6372f3b5570981b38bdfaf3967ec6ba1c31be5d3ead8547307c7321abbc553b" title="Speech Synthesis Markup Language">mtSsml</a> = 2, <a name="l00672"></a><a class="code" href="classKSpeech.html#add6372f3b5570981b38bdfaf3967ec6ba4ad1219a29e2fb0c1cf3fb973c438f30">00672</a> <a class="code" href="classKSpeech.html#add6372f3b5570981b38bdfaf3967ec6ba4ad1219a29e2fb0c1cf3fb973c438f30" title="Sable 2.0.">mtSable</a> = 3, <a name="l00673"></a><a class="code" href="classKSpeech.html#add6372f3b5570981b38bdfaf3967ec6baa1b424398b4647803c789816171b3fa7">00673</a> <a class="code" href="classKSpeech.html#add6372f3b5570981b38bdfaf3967ec6baa1b424398b4647803c789816171b3fa7" title="HTML.">mtHtml</a> = 4 <a name="l00674"></a>00674 }; <a name="l00675"></a>00675 <a name="l00676"></a>00676 k_dcop: <a name="l00679"></a>00679 <a name="l00689"></a>00689 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKSpeech.html#a198654b940a4721964aca8dc4eee2732" title="Determine whether the currently-configured speech plugin supports a speech markup language...">supportsMarkup</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &talker, uint markupType = 0) <span class="keyword">const</span> = 0; <a name="l00690"></a>00690 <a name="l00698"></a>00698 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKSpeech.html#aa2aaa628e7ce0864e36d44c448b9b677" title="Determine whether the currently-configured speech plugin supports markers in speech markup...">supportsMarkers</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &talker) <span class="keyword">const</span> = 0; <a name="l00699"></a>00699 <a name="l00713"></a>00713 <span class="keyword">virtual</span> ASYNC <a class="code" href="classKSpeech.html#a7d612e66fa50565e273684b691120a22" title="Say a message as soon as possible, interrupting any other speech in progress.">sayScreenReaderOutput</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &msg, <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &talker) = 0; <a name="l00714"></a>00714 <a name="l00726"></a>00726 <span class="keyword">virtual</span> ASYNC <a class="code" href="classKSpeech.html#a7424c6cfcde816a6d4121696ff252696" title="Say a warning.">sayWarning</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &warning, <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &talker) = 0; <a name="l00727"></a>00727 <a name="l00739"></a>00739 <span class="keyword">virtual</span> ASYNC <a class="code" href="classKSpeech.html#a3a166d7db59d441dc17016d742b33b60" title="Say a message.">sayMessage</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &message, <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &talker) = 0; <a name="l00740"></a>00740 <a name="l00767"></a>00767 <span class="keyword">virtual</span> ASYNC <a class="code" href="classKSpeech.html#a7fcc2ca4a54791b18be9ac9cf0168df5" title="Sets the GREP pattern that will be used as the sentence delimiter.">setSentenceDelimiter</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &delimiter) = 0; <a name="l00768"></a>00768 <a name="l00793"></a>00793 <span class="keyword">virtual</span> uint <a class="code" href="classKSpeech.html#a6d357617f3b64a57eb055d8b5e6d411a" title="Queue a text job.">setText</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &text, <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &talker) = 0; <a name="l00794"></a>00794 <a name="l00823"></a>00823 <span class="keyword">virtual</span> uint <a class="code" href="classKSpeech.html#a67993ff603b4f64ef7542826c0c014a0" title="Say a plain text job.">sayText</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &text, <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &talker) = 0; <a name="l00824"></a>00824 <a name="l00840"></a>00840 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classKSpeech.html#a85627028f4f839a0b00d64b28a807897" title="Adds another part to a text job.">appendText</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &text, uint jobNum=0) = 0; <a name="l00841"></a>00841 <a name="l00867"></a>00867 <span class="keyword">virtual</span> uint <a class="code" href="classKSpeech.html#a9d7906b429916103e572c4ee90fb32a7" title="Queue a text job from the contents of a file.">setFile</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &filename, <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &talker, <a name="l00868"></a>00868 <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& encoding) = 0; <a name="l00869"></a>00869 <a name="l00881"></a>00881 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classKSpeech.html#abb2fe54e5ff675ff1a63dc15f1f86c3a" title="Get the number of sentences in a text job.">getTextCount</a>(uint jobNum=0) = 0; <a name="l00882"></a>00882 <a name="l00892"></a>00892 <span class="keyword">virtual</span> uint <a class="code" href="classKSpeech.html#a49b5b73f33a28dd26b4e7364e4e89881" title="Get the job number of the current text job.">getCurrentTextJob</a>() = 0; <a name="l00893"></a>00893 <a name="l00898"></a>00898 <span class="keyword">virtual</span> uint <a class="code" href="classKSpeech.html#aa1d99e1449860306140d1ae12eb9be27" title="Get the number of jobs in the text job queue.">getTextJobCount</a>() = 0; <a name="l00899"></a>00899 <a name="l00904"></a>00904 <span class="keyword">virtual</span> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKSpeech.html#aa25249b9adcf22dd9998bc7bfe56cc61" title="Get a comma-separated list of text job numbers in the queue.">getTextJobNumbers</a>() = 0; <a name="l00905"></a>00905 <a name="l00915"></a>00915 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classKSpeech.html#a6c634aeb4815b67461590343d2a8c6d5" title="Get the state of a text job.">getTextJobState</a>(uint jobNum=0) = 0; <a name="l00916"></a>00916 <a name="l00957"></a>00957 <span class="keyword">virtual</span> <a class="codeRef" href="qbytearray.html">QByteArray</a> <a class="code" href="classKSpeech.html#a9161a73e554a73057bd831537287bf1c" title="Get information about a text job.">getTextJobInfo</a>(uint jobNum=0) = 0; <a name="l00958"></a>00958 <a name="l00965"></a>00965 <span class="keyword">virtual</span> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKSpeech.html#a3d2e647bb1e4e6d4a186b502c846663f" title="Given a Talker Code, returns the Talker ID of the talker that would speak a text job with that Talker...">talkerCodeToTalkerId</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& talkerCode) = 0; <a name="l00966"></a>00966 <a name="l00976"></a>00976 <span class="keyword">virtual</span> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKSpeech.html#a9721ca8cb3759205a50b76a6c62a89ef" title="Return a sentence of a job.">getTextJobSentence</a>(uint jobNum=0, uint seq=0) = 0; <a name="l00977"></a>00977 <a name="l00982"></a>00982 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKSpeech.html#a24bdeb597aaa3bb7df931f2b278caca9" title="Determine if kttsd is currently speaking any text jobs.">isSpeakingText</a>() <span class="keyword">const</span> = 0; <a name="l00983"></a>00983 <a name="l00995"></a>00995 <span class="keyword">virtual</span> ASYNC <a class="code" href="classKSpeech.html#a501e082e70bbff815e0c5b7fc65dca3c" title="Remove a text job from the queue.">removeText</a>(uint jobNum=0) = 0; <a name="l00996"></a>00996 <a name="l01014"></a>01014 <span class="keyword">virtual</span> ASYNC <a class="code" href="classKSpeech.html#ad20817764caf8d8a514fc13de931dfba" title="Start a text job at the beginning.">startText</a>(uint jobNum=0) = 0; <a name="l01015"></a>01015 <a name="l01034"></a>01034 <span class="keyword">virtual</span> ASYNC <a class="code" href="classKSpeech.html#ad11c3b80378b70e89ae0eacfb53ba0e1" title="Stop a text job and rewind to the beginning.">stopText</a>(uint jobNum=0) = 0; <a name="l01035"></a>01035 <a name="l01056"></a>01056 <span class="keyword">virtual</span> ASYNC <a class="code" href="classKSpeech.html#a8c7d5d9fb0ddc8fd70b7c3c2f12fa648" title="Pause a text job.">pauseText</a>(uint jobNum=0) = 0; <a name="l01057"></a>01057 <a name="l01080"></a>01080 <span class="keyword">virtual</span> ASYNC <a class="code" href="classKSpeech.html#ad8155ca3bc7033f2409cc4c1abc36977" title="Start or resume a text job where it was paused.">resumeText</a>(uint jobNum=0) = 0; <a name="l01081"></a>01081 <a name="l01089"></a>01089 <span class="keyword">virtual</span> <a class="codeRef" href="qstringlist.html">QStringList</a> <a class="code" href="classKSpeech.html#a17bab01f2c4eedf03206a62340407a2e" title="Get a list of the talkers configured in KTTS.">getTalkers</a>() = 0; <a name="l01090"></a>01090 <a name="l01101"></a>01101 <span class="keyword">virtual</span> ASYNC <a class="code" href="classKSpeech.html#a46009b2c72f7def59535320519aa5de5" title="Change the talker for a text job.">changeTextTalker</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &talker, uint jobNum=0 ) = 0; <a name="l01102"></a>01102 <a name="l01110"></a>01110 <span class="keyword">virtual</span> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKSpeech.html#a639d4c5486afeded675121d6fc54563e" title="Get the user's default talker.">userDefaultTalker</a>() = 0; <a name="l01111"></a>01111 <a name="l01121"></a>01121 <span class="keyword">virtual</span> ASYNC <a class="code" href="classKSpeech.html#ababf7b812239779a1ff558b415b642e4" title="Move a text job down in the queue so that it is spoken later.">moveTextLater</a>(uint jobNum=0) = 0; <a name="l01122"></a>01122 <a name="l01136"></a>01136 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classKSpeech.html#ad69ee75590d02802057faa6ae9fb1e82" title="Jump to the first sentence of a specified part of a text job.">jumpToTextPart</a>(<span class="keywordtype">int</span> partNum, uint jobNum=0) = 0; <a name="l01137"></a>01137 <a name="l01151"></a>01151 <span class="keyword">virtual</span> uint <a class="code" href="classKSpeech.html#a880fc6a2d23d55bf4c82a17f42623023" title="Advance or rewind N sentences in a text job.">moveRelTextSentence</a>(<span class="keywordtype">int</span> n, uint jobNum=0) = 0; <a name="l01152"></a>01152 <a name="l01156"></a>01156 <span class="keyword">virtual</span> ASYNC <a class="code" href="classKSpeech.html#ac457cdd7de8648c05e0ef3ee1b5f45ff" title="Add the clipboard contents to the text queue and begin speaking it.">speakClipboard</a>() = 0; <a name="l01157"></a>01157 <a name="l01163"></a>01163 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#a28649cb3756d9f1cb79585c9e50cc620" title="Displays the KTTS Manager dialog.">showDialog</a>() = 0; <a name="l01164"></a>01164 <a name="l01168"></a>01168 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#a8f1235581a0344e4f085d727a7f42ee0" title="Stop the service.">kttsdExit</a>() = 0; <a name="l01169"></a>01169 <a name="l01173"></a>01173 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#a07cc4b00a445735a5463a86f07a26ae9" title="Re-start KTTSD.">reinit</a>() = 0; <a name="l01174"></a>01174 <a name="l01179"></a>01179 <span class="keyword">virtual</span> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKSpeech.html#a6a903a0b72315d2057dcfcc175a8ff62" title="Return the KTTSD deamon version number.">version</a>() = 0; <a name="l01181"></a>01181 <a name="l01182"></a>01182 k_dcop_signals: <a name="l01183"></a>01183 <span class="keywordtype">void</span> ignoreThis(); <a name="l01184"></a>01184 <a name="l01187"></a>01187 <a name="l01191"></a>01191 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#abf5ddf13d59aa79b137cb882456f685b" title="This signal is emitted when KTTSD starts or restarts after a call to reinit.">kttsdStarted</a>(); <a name="l01195"></a>01195 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#a2c68f080f9961074b03bcade156feaa9" title="This signal is emitted just before KTTSD exits.">kttsdExiting</a>(); <a name="l01203"></a>01203 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#a809dbce9748333d7025de72e90daba0d" title="This signal is emitted when the speech engine/plugin encounters a marker in the text.">markerSeen</a>(<span class="keyword">const</span> <a class="codeRef" href="qcstring.html">QCString</a>& appId, <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& markerName); <a name="l01212"></a>01212 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#a656ac62b2cca43fa6d943fcc5ad502d7" title="This signal is emitted whenever a sentence begins speaking.">sentenceStarted</a>(<span class="keyword">const</span> <a class="codeRef" href="qcstring.html">QCString</a>& appId, uint jobNum, uint seq); <a name="l01221"></a>01221 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#acff1fc45c75dec208c3836a8e580340a" title="This signal is emitted when a sentence has finished speaking.">sentenceFinished</a>(<span class="keyword">const</span> <a class="codeRef" href="qcstring.html">QCString</a>& appId, uint jobNum, uint seq); <a name="l01222"></a>01222 <a name="l01228"></a>01228 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#a6f1906414b2fad140960483557de361d" title="This signal is emitted whenever a new text job is added to the queue.">textSet</a>(<span class="keyword">const</span> <a class="codeRef" href="qcstring.html">QCString</a>& appId, uint jobNum); <a name="l01229"></a>01229 <a name="l01237"></a>01237 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#acdeb4a380fc4a61018b97eb0d8d663dd" title="This signal is emitted whenever a new part is appended to a text job.">textAppended</a>(<span class="keyword">const</span> <a class="codeRef" href="qcstring.html">QCString</a>& appId, uint jobNum, <span class="keywordtype">int</span> partNum); <a name="l01238"></a>01238 <a name="l01244"></a>01244 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#a7e4cfa5c113e5844a3209908fcf0d5f1" title="This signal is emitted whenever speaking of a text job begins.">textStarted</a>(<span class="keyword">const</span> <a class="codeRef" href="qcstring.html">QCString</a>& appId, uint jobNum); <a name="l01254"></a>01254 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#ae52efd48b5719694947c1d6d2c288ab3" title="This signal is emitted whenever a text job is finished.">textFinished</a>(<span class="keyword">const</span> <a class="codeRef" href="qcstring.html">QCString</a>& appId, uint jobNum); <a name="l01263"></a>01263 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#aa045ffc555003915e81b70f7e93ca355" title="This signal is emitted whenever a speaking text job stops speaking.">textStopped</a>(<span class="keyword">const</span> <a class="codeRef" href="qcstring.html">QCString</a>& appId, uint jobNum); <a name="l01269"></a>01269 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#a4fed9fea9ca824d0269b6b926c0d2f88" title="This signal is emitted whenever a speaking text job is paused.">textPaused</a>(<span class="keyword">const</span> <a class="codeRef" href="qcstring.html">QCString</a>& appId, uint jobNum); <a name="l01275"></a>01275 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#a25a73e3fe226b3bb876d0d27a5e02b34" title="This signal is emitted when a text job, that was previously paused, resumes speaking.">textResumed</a>(<span class="keyword">const</span> <a class="codeRef" href="qcstring.html">QCString</a>& appId, uint jobNum); <a name="l01282"></a>01282 <span class="keywordtype">void</span> <a class="code" href="classKSpeech.html#ab7bd2c4649c66a24b517e680625e6e8a" title="This signal is emitted whenever a text job is deleted from the queue.">textRemoved</a>(<span class="keyword">const</span> <a class="codeRef" href="qcstring.html">QCString</a>& appId, uint jobNum); <a name="l01284"></a>01284 }; <a name="l01285"></a>01285 <a name="l01286"></a>01286 <span class="preprocessor">#endif // _KSPEECH_H_</span> </pre></div></div> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>interfaces</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classExtTerminalInterface.html">extterminalinterface</option>, <option value="classKFileAudioPreview.html">kfileaudiopreview</option>, <option value="classKHE_1_1BytesEditInterface.html">khe::byteseditinterface</option>, <option value="classKHE_1_1CharColumnInterface.html">khe::charcolumninterface</option>, <option value="classKHE_1_1ClipboardInterface.html">khe::clipboardinterface</option>, <option value="classKHE_1_1ValueColumnInterface.html">khe::valuecolumninterface</option>, <option value="classKHE_1_1ZoomInterface.html">khe::zoominterface</option>, <option value="classKIMIface.html">kimiface</option>, <option value="classKIMProxy.html">kimproxy</option>, <option value="classKMediaPlayer_1_1Player.html">kmediaplayer::player</option>, <option value="classKMediaPlayer_1_1View.html">kmediaplayer::view</option>, <option value="classKRegExpEditorInterface.html">kregexpeditorinterface</option>, <option value="classKScriptClientInterface.html">kscriptclientinterface</option>, <option value="classKScriptInterface.html">kscriptinterface</option>, <option value="classKScriptManager.html">kscriptmanager</option>, <option value="classKSpeech.html">kspeech</option>, <option value="classKSpeechSink.html">kspeechsink</option>, <option value="classKTextEditor_1_1BlockSelectionDCOPInterface.html">ktexteditor::blockselectiondcopinterface</option>, <option value="classKTextEditor_1_1BlockSelectionInterface.html">ktexteditor::blockselectioninterface</option>, <option value="classKTextEditor_1_1ClipboardDCOPInterface.html">ktexteditor::clipboarddcopinterface</option>, <option value="classKTextEditor_1_1ClipboardInterface.html">ktexteditor::clipboardinterface</option>, <option value="classKTextEditor_1_1CodeCompletionInterface.html">ktexteditor::codecompletioninterface</option>, <option value="classKTextEditor_1_1CompletionEntry.html">ktexteditor::completionentry</option>, <option value="classKTextEditor_1_1ConfigInterface.html">ktexteditor::configinterface</option>, <option value="classKTextEditor_1_1ConfigInterfaceExtension.html">ktexteditor::configinterfaceextension</option>, <option value="classKTextEditor_1_1Cursor.html">ktexteditor::cursor</option>, <option value="classKTextEditor_1_1CursorInterface.html">ktexteditor::cursorinterface</option>, <option value="classKTextEditor_1_1Document.html">ktexteditor::document</option>, <option value="classKTextEditor_1_1DocumentInfoDCOPInterface.html">ktexteditor::documentinfodcopinterface</option>, <option value="classKTextEditor_1_1DocumentInfoInterface.html">ktexteditor::documentinfointerface</option>, <option value="classKTextEditor_1_1DynWordWrapInterface.html">ktexteditor::dynwordwrapinterface</option>, <option value="classKTextEditor_1_1EditDCOPInterface.html">ktexteditor::editdcopinterface</option>, <option value="classKTextEditor_1_1EditInterface.html">ktexteditor::editinterface</option>, <option value="classKTextEditor_1_1EditInterfaceExt.html">ktexteditor::editinterfaceext</option>, <option value="classKTextEditor_1_1Editor.html">ktexteditor::editor</option>, <option value="classKTextEditor_1_1EncodingDCOPInterface.html">ktexteditor::encodingdcopinterface</option>, <option value="classKTextEditor_1_1EncodingInterface.html">ktexteditor::encodinginterface</option>, <option value="classKTextEditor_1_1HighlightingInterface.html">ktexteditor::highlightinginterface</option>, <option value="classKTextEditor_1_1MarkInterface.html">ktexteditor::markinterface</option>, <option value="classKTextEditor_1_1MarkInterfaceExtension.html">ktexteditor::markinterfaceextension</option>, <option value="classKTextEditor_1_1Plugin.html">ktexteditor::plugin</option>, <option value="classKTextEditor_1_1PluginViewInterface.html">ktexteditor::pluginviewinterface</option>, <option value="classKTextEditor_1_1PopupMenuInterface.html">ktexteditor::popupmenuinterface</option>, <option value="classKTextEditor_1_1PrintDCOPInterface.html">ktexteditor::printdcopinterface</option>, <option value="classKTextEditor_1_1PrintInterface.html">ktexteditor::printinterface</option>, <option value="classKTextEditor_1_1SearchDCOPInterface.html">ktexteditor::searchdcopinterface</option>, <option value="classKTextEditor_1_1SearchInterface.html">ktexteditor::searchinterface</option>, <option value="classKTextEditor_1_1SelectionDCOPInterface.html">ktexteditor::selectiondcopinterface</option>, <option value="classKTextEditor_1_1SelectionExtDCOPInterface.html">ktexteditor::selectionextdcopinterface</option>, <option value="classKTextEditor_1_1SelectionInterface.html">ktexteditor::selectioninterface</option>, <option value="classKTextEditor_1_1SelectionInterfaceExt.html">ktexteditor::selectioninterfaceext</option>, <option value="classKTextEditor_1_1SessionConfigInterface.html">ktexteditor::sessionconfiginterface</option>, <option value="classKTextEditor_1_1TemplateInterface.html">ktexteditor::templateinterface</option>, <option value="classKTextEditor_1_1TextHintInterface.html">ktexteditor::texthintinterface</option>, <option value="classKTextEditor_1_1UndoDCOPInterface.html">ktexteditor::undodcopinterface</option>, <option value="classKTextEditor_1_1UndoInterface.html">ktexteditor::undointerface</option>, <option value="classKTextEditor_1_1VariableInterface.html">ktexteditor::variableinterface</option>, <option value="classKTextEditor_1_1View.html">ktexteditor::view</option>, <option value="classKTextEditor_1_1ViewCursorDCOPInterface.html">ktexteditor::viewcursordcopinterface</option>, <option value="classKTextEditor_1_1ViewCursorInterface.html">ktexteditor::viewcursorinterface</option>, <option value="classKTextEditor_1_1ViewStatusMsgDCOPInterface.html">ktexteditor::viewstatusmsgdcopinterface</option>, <option value="classKTextEditor_1_1ViewStatusMsgInterface.html">ktexteditor::viewstatusmsginterface</option>, <option value="classKTextEditor_1_1WordWrapInterface.html">ktexteditor::wordwrapinterface</option>, <option value="classScriptLoader.html">scriptloader</option>, <option value="classTerminalInterface.html">terminalinterface</option>, </select> </form> </div> --> </div></div> <div class="menu_box"><h2>API Dox</h2> <div class="nav_list"> <ul> <li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li> <a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li> <a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li> <a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li> <a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li> <a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li> <a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li> <a href="../../kio/kfile/html/index.html">kfile</a></li><li> <a href="../../kio/kio/html/index.html">kio</a></li><li> <a href="../../kio/kioexec/html/index.html">kioexec</a></li><li> <a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li> <a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li> <a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li> <a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>