diff options
Diffstat (limited to 'kttsd/plugins/command')
-rw-r--r-- | kttsd/plugins/command/commandconf.cpp | 4 | ||||
-rw-r--r-- | kttsd/plugins/command/commandconf.h | 4 | ||||
-rw-r--r-- | kttsd/plugins/command/commandproc.cpp | 2 | ||||
-rw-r--r-- | kttsd/plugins/command/commandproc.h | 2 |
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. |