• 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
talkerchooserconf.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 TALKERCHOOSERCONF_H
25 #define TALKERCHOOSERCONF_H
26 
27 // Qt includes.
28 #include <QtGui/QWidget>
29 #include <QtCore/QStringList>
30 
31 // KDE includes.
32 #include <kconfig.h>
33 #include <kdebug.h>
34 
35 // KTTS includes.
36 #include "filterconf.h"
37 #include "talkercode.h"
38 
39 // TalkerChooser includes.
40 #include "ui_talkerchooserconfwidget.h"
41 
42 
43 class TalkerChooserConf : public KttsFilterConf, public Ui::TalkerChooserConfWidget
44 {
45  Q_OBJECT
46 
47  public:
51  explicit TalkerChooserConf( QWidget *parent, const QVariantList &args);
52 
56  virtual ~TalkerChooserConf();
57 
76  virtual void load(KConfig *c, const QString &configGroup);
77 
88  virtual void save(KConfig *c, const QString &configGroup);
89 
97  virtual void defaults();
98 
104  virtual bool supportsMultiInstance();
105 
114  virtual QString userPlugInName();
115 
116  private slots:
117  void slotReEditorButton_clicked();
118  void slotTalkerButton_clicked();
119  void slotLoadButton_clicked();
120  void slotSaveButton_clicked();
121  void slotClearButton_clicked();
122 
123  private:
124  // True if kdeutils Regular Expression Editor is installed.
125  bool m_reEditorInstalled;
126  // User's chosen Talker Code.
127  TalkerCode m_talkerCode;
128 };
129 
130 #endif //TALKERCHOOSERCONF_H
TalkerChooserConf::defaults
virtual void defaults()
This function is called to set the settings in the module to sensible default values.
Definition: talkerchooserconf.cpp:132
TalkerChooserConf::supportsMultiInstance
virtual bool supportsMultiInstance()
Indicates whether the plugin supports multiple instances.
Definition: talkerchooserconf.cpp:150
QWidget
filterconf.h
TalkerChooserConf::~TalkerChooserConf
virtual ~TalkerChooserConf()
Destructor.
Definition: talkerchooserconf.cpp:87
TalkerChooserConf::load
virtual void load(KConfig *c, const QString &configGroup)
This method is invoked whenever the module should read its configuration (most of the times from a co...
Definition: talkerchooserconf.cpp:91
talkercode.h
TalkerChooserConf::save
virtual void save(KConfig *c, const QString &configGroup)
This function gets called when the user wants to save the settings in the user interface, updating the config files or wherever the configuration is stored.
Definition: talkerchooserconf.cpp:116
TalkerCode
Definition: talkercode.h:38
KttsFilterConf
Definition: filterconf.h:36
TalkerChooserConf
Definition: talkerchooserconf.h:43
TalkerChooserConf::userPlugInName
virtual QString userPlugInName()
Returns the name of the plugin.
Definition: talkerchooserconf.cpp:160
TalkerChooserConf::TalkerChooserConf
TalkerChooserConf(QWidget *parent, const QVariantList &args)
Constructor.
Definition: talkerchooserconf.cpp:49
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