summaryrefslogtreecommitdiffstats
path: root/kttsd/plugins/command
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/command
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/command')
-rw-r--r--kttsd/plugins/command/commandconf.cpp4
-rw-r--r--kttsd/plugins/command/commandconf.h4
-rw-r--r--kttsd/plugins/command/commandproc.cpp2
-rw-r--r--kttsd/plugins/command/commandproc.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/kttsd/plugins/command/commandconf.cpp b/kttsd/plugins/command/commandconf.cpp
index 72731df..837e862 100644
--- a/kttsd/plugins/command/commandconf.cpp
+++ b/kttsd/plugins/command/commandconf.cpp
@@ -81,7 +81,7 @@ CommandConf::~CommandConf()
delete m_progressDlg;
}
-void CommandConf::load(KConfig *config, const TQString &configGroup) {
+void CommandConf::load(TDEConfig *config, const TQString &configGroup) {
// kdDebug() << "CommandConf::load: Running" << endl;
config->setGroup(configGroup);
m_widget->urlReq->setURL (config->readEntry("Command", "cat -"));
@@ -92,7 +92,7 @@ void CommandConf::load(KConfig *config, const TQString &configGroup) {
m_widget->characterCodingBox->setCurrentItem(codec);
}
-void CommandConf::save(KConfig *config, const TQString &configGroup) {
+void CommandConf::save(TDEConfig *config, const TQString &configGroup) {
// kdDebug() << "CommandConf::save: Running" << endl;
config->setGroup(configGroup);
config->writeEntry("Command", m_widget->urlReq->url());
diff --git a/kttsd/plugins/command/commandconf.h b/kttsd/plugins/command/commandconf.h
index 1bb2a89..bbc0421 100644
--- a/kttsd/plugins/command/commandconf.h
+++ b/kttsd/plugins/command/commandconf.h
@@ -52,14 +52,14 @@ class CommandConf : public PlugInConf {
* 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/command/commandproc.cpp b/kttsd/plugins/command/commandproc.cpp
index a5042fa..b284287 100644
--- a/kttsd/plugins/command/commandproc.cpp
+++ b/kttsd/plugins/command/commandproc.cpp
@@ -64,7 +64,7 @@ CommandProc::~CommandProc()
}
/** Initialize */
-bool CommandProc::init(KConfig *config, const TQString &configGroup){
+bool CommandProc::init(TDEConfig *config, const TQString &configGroup){
kdDebug() << "CommandProc::init: Initializing plug in: Command " << endl;
config->setGroup(configGroup);
diff --git a/kttsd/plugins/command/commandproc.h b/kttsd/plugins/command/commandproc.h
index f206f9b..694c41f 100644
--- a/kttsd/plugins/command/commandproc.h
+++ b/kttsd/plugins/command/commandproc.h
@@ -40,7 +40,7 @@ class CommandProc : public PlugInProc{
~CommandProc();
/** Initializate the speech */
- bool init (KConfig *config, const TQString &configGroup);
+ bool init (TDEConfig *config, const TQString &configGroup);
/**
* Say a text string.