summaryrefslogtreecommitdiffstats
path: root/kttsd/plugins/freetts
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:14 -0600
commit6379d18e0ec321e0e08a1389ee4a12f0eaa5992e (patch)
treedd3e6f3b6c190bc5ea47516ddbe04c6777fa6a04 /kttsd/plugins/freetts
parent0b54abbdf80cef08e5cb8ef7b8b7af31c54dd9b4 (diff)
downloadtdeaccessibility-6379d18e0ec321e0e08a1389ee4a12f0eaa5992e.tar.gz
tdeaccessibility-6379d18e0ec321e0e08a1389ee4a12f0eaa5992e.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kttsd/plugins/freetts')
-rw-r--r--kttsd/plugins/freetts/freettsconf.cpp4
-rw-r--r--kttsd/plugins/freetts/freettsconf.h4
-rw-r--r--kttsd/plugins/freetts/freettsproc.cpp2
-rw-r--r--kttsd/plugins/freetts/freettsproc.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/kttsd/plugins/freetts/freettsconf.cpp b/kttsd/plugins/freetts/freettsconf.cpp
index 0c9c519..523dda9 100644
--- a/kttsd/plugins/freetts/freettsconf.cpp
+++ b/kttsd/plugins/freetts/freettsconf.cpp
@@ -68,7 +68,7 @@ FreeTTSConf::~FreeTTSConf() {
delete m_progressDlg;
}
-void FreeTTSConf::load(KConfig *config, const TQString &configGroup) {
+void FreeTTSConf::load(TDEConfig *config, const TQString &configGroup) {
// kdDebug() << "FreeTTSConf::load: Running" << endl;
config->setGroup(configGroup);
@@ -84,7 +84,7 @@ void FreeTTSConf::load(KConfig *config, const TQString &configGroup) {
/// If freettsPath is still empty, then we couldn't find the file in the path.
}
-void FreeTTSConf::save(KConfig *config, const TQString &configGroup){
+void FreeTTSConf::save(TDEConfig *config, const TQString &configGroup){
// kdDebug() << "FreeTTSConf::save: Running" << endl;
config->setGroup("FreeTTS");
diff --git a/kttsd/plugins/freetts/freettsconf.h b/kttsd/plugins/freetts/freettsconf.h
index 29e98e4..b55fceb 100644
--- a/kttsd/plugins/freetts/freettsconf.h
+++ b/kttsd/plugins/freetts/freettsconf.h
@@ -48,13 +48,13 @@ class FreeTTSConf : public PlugInConf {
the control center, to undo all of his changes and restore the currently
valid settings. NOTE that this is not called after the modules is loaded,
so you probably want to call this method in the constructor.*/
- void load(KConfig *config, const TQString &configGroup);
+ void load(TDEConfig *config, const TQString &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. The method is called when the user clicks "Apply"
or "Ok". */
- void save(KConfig *config, const TQString &configGroup);
+ void save(TDEConfig *config, const TQString &configGroup);
/** This function is called to set the settings in the module to sensible
default values. It gets called when hitting the "Default" button. The
diff --git a/kttsd/plugins/freetts/freettsproc.cpp b/kttsd/plugins/freetts/freettsproc.cpp
index 4d6c177..e78a75c 100644
--- a/kttsd/plugins/freetts/freettsproc.cpp
+++ b/kttsd/plugins/freetts/freettsproc.cpp
@@ -45,7 +45,7 @@ FreeTTSProc::~FreeTTSProc() {
}
/** Initializate the speech */
-bool FreeTTSProc::init(KConfig *config, const TQString &configGroup) {
+bool FreeTTSProc::init(TDEConfig *config, const TQString &configGroup) {
kdDebug() << "Running: FreeTTSProc::init()" << endl;
kdDebug() << "Initializing plug in: FreeTTS" << endl;
config->setGroup(configGroup);
diff --git a/kttsd/plugins/freetts/freettsproc.h b/kttsd/plugins/freetts/freettsproc.h
index 8e1e06f..4a11836 100644
--- a/kttsd/plugins/freetts/freettsproc.h
+++ b/kttsd/plugins/freetts/freettsproc.h
@@ -46,7 +46,7 @@ public:
* @param config Settings object.
* @param configGroup Settings group.
*/
- virtual bool init(KConfig *config, const TQString &configGroup);
+ virtual bool init(TDEConfig *config, const TQString &configGroup);
/**
* Say a text string.