jovie
FilterMgr Class Reference
#include <filtermgr.h>
Inheritance diagram for FilterMgr:
Public Member Functions | |
FilterMgr (QObject *parent=0) | |
~FilterMgr () | |
virtual QString | convert (const QString &inputText, TalkerCode *talkerCode, const QString &appId) |
virtual bool | init () |
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 | init (KConfig *config, const QString &configGroup) |
virtual bool | isSBD () |
virtual void | setSbRegExp (const QString &re) |
virtual void | stopFiltering () |
virtual bool | supportsAsync () |
virtual void | waitForFinished () |
virtual bool | wasModified () |
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 40 of file filtermgr.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 43 of file filtermgr.cpp.
FilterMgr::~FilterMgr | ( | ) |
Destructor.
Definition at line 54 of file filtermgr.cpp.
Member Function Documentation
|
virtual |
Synchronously convert text.
- 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 DBUS appId of the application that queued the text. Also useful for hints about how to do the filtering.
- Returns
- Converted text.
- Parameters
-
inputText Input text. talkerCode TalkerCode structure for the talker that Jovie 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.
- Returns
- Converted text.
Reimplemented from KttsFilterProc.
Definition at line 126 of file filtermgr.cpp.
|
virtual |
Initialize the filters.
Loads and initializes the filters.
- 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.
- Returns
- False if FilterMgr is not ready to filter.
Definition at line 65 of file filtermgr.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
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
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.