• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeaccessibility API Reference
  • KDE Home
  • Contact Us
 

jovie

Public Member Functions | List of all members
FilterMgr Class Reference

#include <filtermgr.h>

Inheritance diagram for FilterMgr:
Inheritance graph
[legend]

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

FilterMgr::FilterMgr ( QObject *  parent = 0)
explicit

Constructor.

Definition at line 43 of file filtermgr.cpp.

FilterMgr::~FilterMgr ( )

Destructor.

Definition at line 54 of file filtermgr.cpp.

Member Function Documentation

QString FilterMgr::convert ( const QString &  inputText,
TalkerCode *  talkerCode,
const QString &  appId 
)
virtual

Synchronously convert text.

Parameters
inputTextInput text.
talkerCodeTalkerCode 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.
appIdThe DBUS appId of the application that queued the text. Also useful for hints about how to do the filtering.
Returns
Converted text.
Parameters
inputTextInput text.
talkerCodeTalkerCode 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.
appIdThe 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.

bool FilterMgr::init ( )
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:
  • filtermgr.h
  • filtermgr.cpp
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

KDE's Doxygen guidelines are available online.

jovie

Skip menu "jovie"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeaccessibility API Reference

Skip menu "kdeaccessibility API Reference"
  • jovie

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal