jovie
#include <stringreplacerproc.h>
Public Member Functions | |
StringReplacerProc (QObject *parent, QVariantList list=QVariantList()) | |
virtual | ~StringReplacerProc () |
virtual QString | convert (const QString &inputText, TalkerCode *talkerCode, const QString &appId) |
virtual bool | init (KConfig *c, const QString &configGroup) |
virtual bool | wasModified () |
Public Member Functions inherited from KttsFilterProc | |
KttsFilterProc (QObject *parent, const QVariantList &) | |
virtual | ~KttsFilterProc () |
virtual void | ackFinished () |
virtual bool | asyncConvert (const QString &inputText, TalkerCode *talkerCode, const QString &appId) |
virtual QString | getOutput () |
virtual int | getState () |
virtual bool | isSBD () |
virtual void | setSbRegExp (const QString &re) |
virtual void | stopFiltering () |
virtual bool | supportsAsync () |
virtual void | waitForFinished () |
Additional Inherited Members | |
Public Types inherited from KttsFilterProc | |
enum | FilterState { fsIdle = 0, fsFiltering = 1, fsStopping = 2, fsFinished = 3 } |
Signals inherited from KttsFilterProc | |
void | error (bool keepGoing, const QString &msg) |
void | filteringFinished () |
void | filteringStopped () |
Detailed Description
Definition at line 37 of file stringreplacerproc.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 48 of file stringreplacerproc.cpp.
|
virtual |
Destructor.
Definition at line 56 of file stringreplacerproc.cpp.
Member Function Documentation
|
virtual |
Convert input, returning output.
- Parameters
-
inputText Input text. talkerCode TalkerCode structure for the talker that KTTSD intends to use for synthing the text. Useful for extracting hints about how to filter the text. For example, languageCode. appId The DCOP appId of the application that queued the text. Also useful for hints about how to do the filtering.
Reimplemented from KttsFilterProc.
Definition at line 176 of file stringreplacerproc.cpp.
|
virtual |
Initialize the filter.
- Parameters
-
c Settings object. configGroup Settings Group.
- Returns
- False if filter is not ready to filter.
Note: The parameters are for reading from kttsdrc file. Plugins may wish to maintain separate configuration files of their own.
Reimplemented from KttsFilterProc.
Definition at line 62 of file stringreplacerproc.cpp.
|
virtual |
Did this filter do anything? If the filter returns the input as output unmolested, it should return False when this method is called.
Reimplemented from KttsFilterProc.
Definition at line 234 of file stringreplacerproc.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:32:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.