• 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
kttsjobmgr.h
Go to the documentation of this file.
1 /***************************************************** vim:set ts=4 sw=4 sts=4:
2  A KPart to display running jobs in KTTSD and permit user to stop, rewind,
3  advance, change Talker, etc.
4  -------------------
5  Copyright : (C) 2004 by Gary Cramblitt <garycramblitt@comcast.net>
6  Copyright : (C) 2009 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 KTTSJOBMGR_H
25 #define KTTSJOBMGR_H
26 
27 // Qt includes
28 #include <QWidget>
29 
30 // KDE includes.
31 
32 // KTTS includes.
33 #include "kspeechinterface.h"
34 
35 class KAboutData;
36 class KPushButton;
37 class KttsJobMgrBrowserExtension;
38 class JobInfo;
39 class JobInfoListModel;
40 
41 namespace Ui
42 {
43  class kttsjobmgr;
44 }
45 
46 class KttsJobMgr:
47  public QWidget
48 {
49  Q_OBJECT
50 public:
51  explicit KttsJobMgr(QWidget *parent = 0);
52  virtual ~KttsJobMgr();
53 
55  void save();
57  void load();
58 
59 signals:
60  void configChanged();
61 
62 private slots:
66  void slot_stop();
67  void slot_cancel();
68  void slot_pause();
69  void slot_resume();
70  void slot_speak_clipboard();
71  void slot_speak_file();
72 
73 private:
77  org::kde::KSpeech* m_kspeech;
78 
84  QString cachedTalkerCodeToTalkerID(const QString& talkerCode);
85 
89  Ui::kttsjobmgr * m_ui;
90 
94  QMap<QString,QString> m_talkerCodesToTalkerIDs;
95 };
96 
97 #endif // KTTSJOBMGR_H
QWidget
KttsJobMgr
Definition: kttsjobmgr.h:46
KttsJobMgr::configChanged
void configChanged()
KttsJobMgr::KttsJobMgr
KttsJobMgr(QWidget *parent=0)
Definition: kttsjobmgr.cpp:58
KttsJobMgr::save
void save()
apply current settings, i.e.
Definition: kttsjobmgr.cpp:122
KttsJobMgr::~KttsJobMgr
virtual ~KttsJobMgr()
Definition: kttsjobmgr.cpp:93
KttsJobMgr::load
void load()
get the current settings from speech-dispatcher
Definition: kttsjobmgr.cpp:136
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