summaryrefslogtreecommitdiffstats
path: root/kttsd/filters/talkerchooser
diff options
context:
space:
mode:
Diffstat (limited to 'kttsd/filters/talkerchooser')
-rw-r--r--kttsd/filters/talkerchooser/talkerchooserconf.cpp12
-rw-r--r--kttsd/filters/talkerchooser/talkerchooserconf.h8
-rw-r--r--kttsd/filters/talkerchooser/talkerchooserproc.cpp2
-rw-r--r--kttsd/filters/talkerchooser/talkerchooserproc.h2
4 files changed, 12 insertions, 12 deletions
diff --git a/kttsd/filters/talkerchooser/talkerchooserconf.cpp b/kttsd/filters/talkerchooser/talkerchooserconf.cpp
index f62e185..ce5e00f 100644
--- a/kttsd/filters/talkerchooser/talkerchooserconf.cpp
+++ b/kttsd/filters/talkerchooser/talkerchooserconf.cpp
@@ -103,11 +103,11 @@ TalkerChooserConf::~TalkerChooserConf(){
* loaded, so it not necessary to call it in your constructor.
* The plugin should read its configuration from the specified group
* in the specified config file.
-* @param config Pointer to a KConfig object.
+* @param config Pointer to a TDEConfig object.
* @param configGroup Call config->setGroup with this argument before
* loading your configuration.
*/
-void TalkerChooserConf::load(KConfig* config, const TQString& configGroup){
+void TalkerChooserConf::load(TDEConfig* config, const TQString& configGroup){
// kdDebug() << "TalkerChooserConf::load: Running" << endl;
config->setGroup( configGroup );
m_widget->nameLineEdit->setText( config->readEntry( "UserFilterName", m_widget->nameLineEdit->text() ) );
@@ -138,11 +138,11 @@ void TalkerChooserConf::load(KConfig* config, const TQString& configGroup){
* configuration is stored. The method is called when the user clicks "Apply"
* or "Ok". The plugin should save its configuration in the specified
* group of the specified config file.
-* @param config Pointer to a KConfig object.
+* @param config Pointer to a TDEConfig object.
* @param configGroup Call config->setGroup with this argument before
* saving your configuration.
*/
-void TalkerChooserConf::save(KConfig* config, const TQString& configGroup){
+void TalkerChooserConf::save(TDEConfig* config, const TQString& configGroup){
// kdDebug() << "TalkerChooserConf::save: Running" << endl;
config->setGroup( configGroup );
config->writeEntry( "UserFilterName", m_widget->nameLineEdit->text() );
@@ -239,7 +239,7 @@ void TalkerChooserConf::slotLoadButton_clicked()
m_widget,
"talkerchooser_loadfile");
if ( filename.isEmpty() ) return;
- KConfig* cfg = new KConfig( filename, true, false, 0 );
+ TDEConfig* cfg = new TDEConfig( filename, true, false, 0 );
load( cfg, "Filter" );
delete cfg;
configChanged();
@@ -253,7 +253,7 @@ void TalkerChooserConf::slotSaveButton_clicked()
m_widget,
"talkerchooser_savefile");
if ( filename.isEmpty() ) return;
- KConfig* cfg = new KConfig( filename, false, false, 0 );
+ TDEConfig* cfg = new TDEConfig( filename, false, false, 0 );
save( cfg, "Filter" );
delete cfg;
}
diff --git a/kttsd/filters/talkerchooser/talkerchooserconf.h b/kttsd/filters/talkerchooser/talkerchooserconf.h
index b92339e..2d59c59 100644
--- a/kttsd/filters/talkerchooser/talkerchooserconf.h
+++ b/kttsd/filters/talkerchooser/talkerchooserconf.h
@@ -67,7 +67,7 @@ class TalkerChooserConf : public KttsFilterConf
* loaded, so it not necessary to call it in your constructor.
* The plugin should read its configuration from the specified group
* in the specified config file.
- * @param config Pointer to a KConfig object.
+ * @param config Pointer to a TDEConfig object.
* @param configGroup Call config->setGroup with this argument before
* loading your configuration.
*
@@ -76,7 +76,7 @@ class TalkerChooserConf : public KttsFilterConf
* any instance-specific parameters to load, but it may still wish
* to load parameters that apply to all instances of the plugin.
*/
- virtual void load(KConfig *config, const TQString &configGroup);
+ virtual void load(TDEConfig *config, const TQString &configGroup);
/**
* This function gets called when the user wants to save the settings in
@@ -84,11 +84,11 @@ class TalkerChooserConf : public KttsFilterConf
* configuration is stored. The method is called when the user clicks "Apply"
* or "Ok". The plugin should save its configuration in the specified
* group of the specified config file.
- * @param config Pointer to a KConfig object.
+ * @param config Pointer to a TDEConfig object.
* @param configGroup Call config->setGroup with this argument before
* saving your configuration.
*/
- virtual void save(KConfig *config, const TQString &configGroup);
+ virtual void save(TDEConfig *config, const TQString &configGroup);
/**
* This function is called to set the settings in the module to sensible
diff --git a/kttsd/filters/talkerchooser/talkerchooserproc.cpp b/kttsd/filters/talkerchooser/talkerchooserproc.cpp
index 2ea8134..4cf2bd9 100644
--- a/kttsd/filters/talkerchooser/talkerchooserproc.cpp
+++ b/kttsd/filters/talkerchooser/talkerchooserproc.cpp
@@ -61,7 +61,7 @@ TalkerChooserProc::~TalkerChooserProc()
* Note: The parameters are for reading from kttsdrc file. Plugins may wish to maintain
* separate configuration files of their own.
*/
-bool TalkerChooserProc::init(KConfig* config, const TQString& configGroup){
+bool TalkerChooserProc::init(TDEConfig* config, const TQString& configGroup){
// kdDebug() << "PlugInProc::init: Running" << endl;
config->setGroup( configGroup );
m_re = config->readEntry( "MatchRegExp" );
diff --git a/kttsd/filters/talkerchooser/talkerchooserproc.h b/kttsd/filters/talkerchooser/talkerchooserproc.h
index e45bb04..9a27820 100644
--- a/kttsd/filters/talkerchooser/talkerchooserproc.h
+++ b/kttsd/filters/talkerchooser/talkerchooserproc.h
@@ -53,7 +53,7 @@ public:
* 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 the plugin supports asynchronous processing,