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

jovie

  • sources
  • kde-4.12
  • kdeaccessibility
  • jovie
  • filters
  • talkerchooser
talkerchooserproc.h
Go to the documentation of this file.
1 /***************************************************** vim:set ts=4 sw=4 sts=4:
2  Generic Talker Chooser Filter Configuration class.
3  -------------------
4  Copyright:
5  (C) 2005 by Gary Cramblitt <garycramblitt@comcast.net>
6  -------------------
7  Original author: Gary Cramblitt <garycramblitt@comcast.net>
8 
9  This program is free software; you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation; either version 2 of the License, or
12  (at your option) any later version.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program; if not, write to the Free Software
21  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22  ******************************************************************************/
23 
24 #ifndef TALKERCHOOSERPROC_H
25 #define TALKERCHOOSERPROC_H
26 
27 // Qt includes.
28 #include <QtCore/QObject>
29 #include <QtCore/QStringList>
30 
31 // KTTS includes.
32 #include "filterproc.h"
33 #include "talkercode.h"
34 
35 class TalkerChooserProc : public KttsFilterProc
36 {
37  Q_OBJECT
38 
39 public:
43  explicit TalkerChooserProc( QObject *parent, const QVariantList &args);
44 
48  virtual ~TalkerChooserProc();
49 
59  virtual bool init(KConfig *c, const QString &configGroup);
60 
71  virtual bool supportsAsync();
72 
82  virtual QString convert(const QString& inputText, TalkerCode* talkerCode, const QString& appId);
83 
84 private:
85 
86  QString m_re;
87  QStringList m_appIdList;
88  TalkerCode m_chosenTalkerCode;
89 };
90 
91 #endif // TALKERCHOOSERPROC_H
TalkerChooserProc::~TalkerChooserProc
virtual ~TalkerChooserProc()
Destructor.
Definition: talkerchooserproc.cpp:46
TalkerChooserProc::TalkerChooserProc
TalkerChooserProc(QObject *parent, const QVariantList &args)
Constructor.
Definition: talkerchooserproc.cpp:39
TalkerChooserProc
Definition: talkerchooserproc.h:35
QObject
filterproc.h
KttsFilterProc
Definition: filterproc.h:38
TalkerChooserProc::convert
virtual QString convert(const QString &inputText, TalkerCode *talkerCode, const QString &appId)
Convert input, returning output.
Definition: talkerchooserproc.cpp:73
talkercode.h
TalkerCode
Definition: talkercode.h:38
TalkerChooserProc::supportsAsync
virtual bool supportsAsync()
Returns True if the plugin supports asynchronous processing, i.e., supports asyncConvert method...
Definition: talkerchooserproc.cpp:71
TalkerChooserProc::init
virtual bool init(KConfig *c, const QString &configGroup)
Initialize the filter.
Definition: talkerchooserproc.cpp:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:32:25 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