• 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
  • kcmkttsmgr
talkerwidget.h
Go to the documentation of this file.
1 /***************************************************** vim:set ts=4 sw=4 sts=4:
2  Widget to configure Talker parameters including language, synthesizer, volume,
3  rate, and pitch. Uses talkerwidget.ui.
4 
5  -------------------
6  Copyright 2010 by Jeremy Whiting <jpwhiting@kde.org>
7  -------------------
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 _TALKERWIDGET_H
25 #define _TALKERWIDGET_H
26 
27 // Qt includes.
28 #include <QtCore/QList>
29 
30 // KDE includes
31 #include <KDialog>
32 
33 #include "../libkttsd/talkercode.h"
34 
35 namespace Ui
36 {
37  class TalkerWidget;
38 }
39 
40 class TalkerWidget : public QWidget
41 {
42  Q_OBJECT
43 
44 public:
49  explicit TalkerWidget(QWidget* parent = 0);
50 
54  ~TalkerWidget();
55 
60  void setName(const QString &name);
61 
66  QString getName() const;
67 
73  void setNameReadOnly(bool value);
74 
79  void setTalkerCode(const TalkerCode & talker);
80 
84  TalkerCode getTalkerCode() const;
85 
86 
87 Q_SIGNALS:
88  void talkerChanged();
89 
90 private:
91  // output modules found in speech-dispatcher
92  QStringList m_outputModules;
93 
94  // designer ui content
95  Ui::TalkerWidget * mUi;
96 
97 };
98 
99 #endif
100 
TalkerWidget::getTalkerCode
TalkerCode getTalkerCode() const
Returns user's chosen talker configuration.
Definition: talkerwidget.cpp:160
QWidget
TalkerWidget::~TalkerWidget
~TalkerWidget()
Destructor.
Definition: talkerwidget.cpp:119
TalkerWidget::talkerChanged
void talkerChanged()
TalkerWidget::setNameReadOnly
void setNameReadOnly(bool value)
Set whether the name should be read-only (to the user)
Definition: talkerwidget.cpp:124
TalkerWidget::setTalkerCode
void setTalkerCode(const TalkerCode &talker)
Set the talker configuration to start with.
Definition: talkerwidget.cpp:130
TalkerCode
Definition: talkercode.h:38
TalkerWidget::getName
QString getName() const
Get the talker's name.
Definition: talkerwidget.cpp:155
TalkerWidget::TalkerWidget
TalkerWidget(QWidget *parent=0)
Constructor.
Definition: talkerwidget.cpp:45
TalkerWidget::setName
void setName(const QString &name)
Set the talker's name.
TalkerWidget
Definition: talkerwidget.h:40
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