• 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
  • jovie
appdata.h
Go to the documentation of this file.
1 /*************************************************** vim:set ts=4 sw=4 sts=4:
2  This class holds the data for a single application.
3  It contains the application's default settings.
4  -------------------
5  Copyright:
6  (C) 2006 by Gary Cramblitt <garycramblitt@comcast.net>
7  -------------------
8  Original author: Gary Cramblitt <garycramblitt@comcast.net>
9 
10  This program is free software; you can redistribute it and/or modify
11  it under the terms of the GNU General Public License as published by
12  the Free Software Foundation; either version 2 of the License, or
13  (at your option) any later version.
14 
15  This program is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with this program; if not, write to the Free Software
22  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23  ******************************************************************************/
24 
25 #ifndef APPDATA_H
26 #define APPDATA_H
27 
28 // Qt includes.
29 #include <QtCore/QList>
30 
31 // KDE includes.
32 #include <kspeech.h>
33 
34 typedef QList<int> TJobList;
35 typedef TJobList* TJobListPtr;
36 
37 class AppDataPrivate;
38 class AppData
39 {
40 public:
45  explicit AppData(const QString& appId);
46 
50  ~AppData();
51 
55  QString appId() const;
56 
60  void setAppId(const QString& appId);
61 
66  QString applicationName() const;
67 
74  void setApplicationName(const QString& applicationName);
75 
80  QString defaultTalker() const;
81 
86  void setDefaultTalker(const QString& defaultTalker);
87 
91  KSpeech::JobPriority defaultPriority() const;
92 
97  void setDefaultPriority(KSpeech::JobPriority defaultPriority);
98 
109  QString sentenceDelimiter() const;
110 
119  void setSentenceDelimiter(const QString& sentenceDelimiter);
120 
124  bool filteringOn() const;
125 
130  void setFilteringOn(bool filteringOn);
131 
135  bool isApplicationPaused() const;
136 
141  void setIsApplicationPaused(bool isApplicationPaused);
142 
147  QString htmlFilterXsltFile() const;
148 
154  void setHtmlFilterXsltFile(const QString& filename);
155 
160  QString ssmlFilterXsltFile() const;
161 
167  void setSsmlFilterXsltFile(const QString& filename);
168 
173  bool autoConfigureTalkersOn() const;
174 
180  void setAutoConfigureTalkersOn(bool autoConfigureTalkersOn);
181 
188  bool isSystemManager() const;
189 
194  void setIsSystemManager(bool isSystemManager);
195 
200  int lastJobNum() const;
201 
206  TJobListPtr jobList() const;
207 
211  bool unregistered() const;
212  void setUnregistered(bool unregistered);
213 
214  // void debugDump();
215 
216 private:
217  AppDataPrivate* d;
218 };
219 
220 #endif // APPDATA_H
AppData::defaultTalker
QString defaultTalker() const
Returns the default talker code for the application.
Definition: appdata.cpp:73
AppData::ssmlFilterXsltFile
QString ssmlFilterXsltFile() const
Returns the full path name of the XSLT file that performs SSML filtering on jobs for the application...
Definition: appdata.cpp:85
TJobListPtr
TJobList * TJobListPtr
Definition: appdata.h:35
AppData::~AppData
~AppData()
Destructor.
Definition: appdata.cpp:67
AppData::unregistered
bool unregistered() const
True when the app has exited.
Definition: appdata.cpp:99
AppData::filteringOn
bool filteringOn() const
Returns the applications's current filtering enabled flag.
Definition: appdata.cpp:79
AppData::isApplicationPaused
bool isApplicationPaused() const
Returns whether the jobs of the application are currently paused.
Definition: appdata.cpp:81
AppData::setSsmlFilterXsltFile
void setSsmlFilterXsltFile(const QString &filename)
Sets the full path name of the XSLT file that performs SSML filtering on jobs for the application...
Definition: appdata.cpp:86
AppData::setHtmlFilterXsltFile
void setHtmlFilterXsltFile(const QString &filename)
Sets the full path name of the XSLT file that performs HTML filtering on jobs for the application...
Definition: appdata.cpp:84
AppData::sentenceDelimiter
QString sentenceDelimiter() const
Returns the GREP pattern that will be used as the sentence delimiter.
Definition: appdata.cpp:77
AppData::lastJobNum
int lastJobNum() const
Return the JobNum of the last job queued by the application.
Definition: appdata.cpp:91
AppData::setIsApplicationPaused
void setIsApplicationPaused(bool isApplicationPaused)
Sets whether the jobs of the application are currently paused.
Definition: appdata.cpp:82
AppData::setUnregistered
void setUnregistered(bool unregistered)
Definition: appdata.cpp:100
AppData::AppData
AppData(const QString &appId)
Constructs a new AppData object for the given DBUS AppId.
Definition: appdata.cpp:66
AppData
Definition: appdata.h:38
AppData::setAppId
void setAppId(const QString &appId)
Sets the appId for the application.
Definition: appdata.cpp:70
AppData::applicationName
QString applicationName() const
Returns the friendly display name for the application.
Definition: appdata.cpp:71
AppData::setApplicationName
void setApplicationName(const QString &applicationName)
Sets the friendly display name for the application.
Definition: appdata.cpp:72
AppData::htmlFilterXsltFile
QString htmlFilterXsltFile() const
Returns the full path name of the XSLT file that performs HTML filtering on jobs for the application...
Definition: appdata.cpp:83
AppData::setAutoConfigureTalkersOn
void setAutoConfigureTalkersOn(bool autoConfigureTalkersOn)
Sets whether KTTSD should attempt to automatically configure talkers to meet requested talker attribu...
Definition: appdata.cpp:88
AppData::appId
QString appId() const
Returns the appId for the application.
Definition: appdata.cpp:69
AppData::defaultPriority
KSpeech::JobPriority defaultPriority() const
Returns the default priority (job type) for the application.
Definition: appdata.cpp:75
AppData::setDefaultPriority
void setDefaultPriority(KSpeech::JobPriority defaultPriority)
Set the default priority (job type) for the application.
Definition: appdata.cpp:76
AppData::setSentenceDelimiter
void setSentenceDelimiter(const QString &sentenceDelimiter)
Sets the GREP pattern that will be used as the sentence delimiter.
Definition: appdata.cpp:78
AppData::setDefaultTalker
void setDefaultTalker(const QString &defaultTalker)
Sets the default talker code for the application.
Definition: appdata.cpp:74
AppData::isSystemManager
bool isSystemManager() const
Returns whether this application is a KTTS System Manager.
Definition: appdata.cpp:89
AppData::setIsSystemManager
void setIsSystemManager(bool isSystemManager)
Sets whether this application is a KTTS System Manager.
Definition: appdata.cpp:90
AppData::setFilteringOn
void setFilteringOn(bool filteringOn)
Sets the applications's current filtering enabled flag.
Definition: appdata.cpp:80
AppData::autoConfigureTalkersOn
bool autoConfigureTalkersOn() const
Returns if KTTSD should attempt to automatically configure talkers to meet requested talker attribute...
Definition: appdata.cpp:87
AppData::jobList
TJobListPtr jobList() const
List of jobs for this app.
Definition: appdata.cpp:98
TJobList
QList< int > TJobList
Definition: appdata.h:34
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