summaryrefslogtreecommitdiffstats
path: root/kttsd/kttsd
diff options
context:
space:
mode:
Diffstat (limited to 'kttsd/kttsd')
-rw-r--r--kttsd/kttsd/filtermgr.cpp2
-rw-r--r--kttsd/kttsd/filtermgr.h4
-rw-r--r--kttsd/kttsd/speaker.cpp2
-rw-r--r--kttsd/kttsd/speechdata.cpp2
-rw-r--r--kttsd/kttsd/speechdata.h2
-rw-r--r--kttsd/kttsd/talkermgr.cpp4
-rw-r--r--kttsd/kttsd/talkermgr.h8
-rw-r--r--kttsd/kttsd/threadedplugin.cpp2
-rw-r--r--kttsd/kttsd/threadedplugin.h2
9 files changed, 14 insertions, 14 deletions
diff --git a/kttsd/kttsd/filtermgr.cpp b/kttsd/kttsd/filtermgr.cpp
index 91fff38..c8293e4 100644
--- a/kttsd/kttsd/filtermgr.cpp
+++ b/kttsd/kttsd/filtermgr.cpp
@@ -64,7 +64,7 @@ FilterMgr::~FilterMgr()
* @param config Settings object.
* @return False if FilterMgr is not ready to filter.
*/
-bool FilterMgr::init(KConfig *config, const TQString& /*configGroup*/)
+bool FilterMgr::init(TDEConfig *config, const TQString& /*configGroup*/)
{
// Load each of the filters and initialize.
config->setGroup("General");
diff --git a/kttsd/kttsd/filtermgr.h b/kttsd/kttsd/filtermgr.h
index dda9821..d4adc78 100644
--- a/kttsd/kttsd/filtermgr.h
+++ b/kttsd/kttsd/filtermgr.h
@@ -32,7 +32,7 @@
// KTTS includes.
#include "filterproc.h"
-class KConfig;
+class TDEConfig;
class TalkerCode;
typedef TQPtrList<KttsFilterProc> FilterList;
@@ -62,7 +62,7 @@ class FilterMgr : public KttsFilterProc
* Note: The parameters are for reading from kttsdrc file. Plugins may wish to maintain
* separate configuration files of their own.
*/
- virtual bool init(KConfig *config, const TQString &configGroup);
+ virtual bool init(TDEConfig *config, const TQString &configGroup);
/**
* Returns True if this filter is a Sentence Boundary Detector.
diff --git a/kttsd/kttsd/speaker.cpp b/kttsd/kttsd/speaker.cpp
index 68d045c..ff8ed68 100644
--- a/kttsd/kttsd/speaker.cpp
+++ b/kttsd/kttsd/speaker.cpp
@@ -1325,7 +1325,7 @@ uttIterator Speaker::deleteUtterance(uttIterator it)
// kio (KIOJob): stat file:///home/kde-devel/.trinity/share/apps/kttsd/audio/kttsd-5-1.wav
// kio (KIOJob): error 11 /home/kde-devel/.trinity/share/apps/kttsd/audio/kttsd-5-1.wav
// kio (KIOJob): This seems to be a suitable case for trying to rename before stat+[list+]copy+del
- // KIO::move(it->audioUrl, dest, false);
+ // TDEIO::move(it->audioUrl, dest, false);
}
else
TQFile::remove(it->audioUrl);
diff --git a/kttsd/kttsd/speechdata.cpp b/kttsd/kttsd/speechdata.cpp
index c5e658f..716b0ae 100644
--- a/kttsd/kttsd/speechdata.cpp
+++ b/kttsd/kttsd/speechdata.cpp
@@ -75,7 +75,7 @@ bool SpeechData::readConfig(){
// Load configuration
delete config;
//config = TDEGlobal::config();
- config = new KConfig("kttsdrc");
+ config = new TDEConfig("kttsdrc");
// Set the group general for the configuration of KTTSD itself (no plug ins)
config->setGroup("General");
diff --git a/kttsd/kttsd/speechdata.h b/kttsd/kttsd/speechdata.h
index 65e02a3..4d4d727 100644
--- a/kttsd/kttsd/speechdata.h
+++ b/kttsd/kttsd/speechdata.h
@@ -569,7 +569,7 @@ class SpeechData : public TQObject {
/**
* Configuration
*/
- KConfig *config;
+ TDEConfig *config;
/**
* True if at least one XML Transformer plugin for html is enabled.
diff --git a/kttsd/kttsd/talkermgr.cpp b/kttsd/kttsd/talkermgr.cpp
index d544ad3..c3771e7 100644
--- a/kttsd/kttsd/talkermgr.cpp
+++ b/kttsd/kttsd/talkermgr.cpp
@@ -54,7 +54,7 @@ TalkerMgr::~TalkerMgr()
/**
* Load all the configured synth plugins, populating loadedPlugIns structure.
*/
-int TalkerMgr::loadPlugIns(KConfig* config)
+int TalkerMgr::loadPlugIns(TDEConfig* config)
{
// kdDebug() << "Running: TalkerMgr::loadPlugIns()" << endl;
int good = 0;
@@ -298,7 +298,7 @@ bool TalkerMgr::supportsMarkup(const TQString& talker, const uint /*markupType*/
TDEGlobal::dirs()->resourceDirs("data").last() + "kttsd/xslt/SSMLtoPlainText.xsl");
}
-bool TalkerMgr::autoconfigureTalker(const TQString& langCode, KConfig* config)
+bool TalkerMgr::autoconfigureTalker(const TQString& langCode, TDEConfig* config)
{
// Not yet implemented.
// return false;
diff --git a/kttsd/kttsd/talkermgr.h b/kttsd/kttsd/talkermgr.h
index 8c79596..a6eee93 100644
--- a/kttsd/kttsd/talkermgr.h
+++ b/kttsd/kttsd/talkermgr.h
@@ -51,7 +51,7 @@ public:
/**
* Load all the configured plug ins populating loadedPlugIns
*/
- int loadPlugIns(KConfig* config);
+ int loadPlugIns(TDEConfig* config);
/**
* Get a list of the talkers configured in KTTS.
@@ -133,12 +133,12 @@ public:
/**
* Try to automatically configure a Talker in the specified language.
* @param langCode Two-letter language code.
- * @param config KConfig to be updated if successful.
+ * @param config TDEConfig to be updated if successful.
* @return True if successful.
*
- * If successful, the KConfig rc file is updated but the talker has not been loaded.
+ * If successful, the TDEConfig rc file is updated but the talker has not been loaded.
*/
- bool autoconfigureTalker(const TQString& langCode, KConfig* config);
+ bool autoconfigureTalker(const TQString& langCode, TDEConfig* config);
private:
diff --git a/kttsd/kttsd/threadedplugin.cpp b/kttsd/kttsd/threadedplugin.cpp
index 5df0c0f..48df0c9 100644
--- a/kttsd/kttsd/threadedplugin.cpp
+++ b/kttsd/kttsd/threadedplugin.cpp
@@ -71,7 +71,7 @@ ThreadedPlugIn::~ThreadedPlugIn()
/**
* Initialize the speech plugin.
*/
-bool ThreadedPlugIn::init(KConfig *config, const TQString &configGroup)
+bool ThreadedPlugIn::init(TDEConfig *config, const TQString &configGroup)
{
bool stat = m_plugin->init(config, configGroup);
m_supportsSynth = m_plugin->supportsSynth();
diff --git a/kttsd/kttsd/threadedplugin.h b/kttsd/kttsd/threadedplugin.h
index 1a1b13e..86b9330 100644
--- a/kttsd/kttsd/threadedplugin.h
+++ b/kttsd/kttsd/threadedplugin.h
@@ -55,7 +55,7 @@ class ThreadedPlugIn : public PlugInProc, public TQThread
/**
* Initializate the speech plugin.
*/
- virtual bool init(KConfig *config, const TQString &configGroup);
+ virtual bool init(TDEConfig *config, const TQString &configGroup);
/**
* Say a text. Synthesize and audibilize it.