From 6379d18e0ec321e0e08a1389ee4a12f0eaa5992e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:28:14 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kttsd/filters/stringreplacer/stringreplacerconf.cpp | 8 ++++---- kttsd/filters/stringreplacer/stringreplacerconf.h | 8 ++++---- kttsd/filters/stringreplacer/stringreplacerproc.cpp | 2 +- kttsd/filters/stringreplacer/stringreplacerproc.h | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'kttsd/filters/stringreplacer') diff --git a/kttsd/filters/stringreplacer/stringreplacerconf.cpp b/kttsd/filters/stringreplacer/stringreplacerconf.cpp index 21a4c51..6a96307 100644 --- a/kttsd/filters/stringreplacer/stringreplacerconf.cpp +++ b/kttsd/filters/stringreplacer/stringreplacerconf.cpp @@ -122,11 +122,11 @@ StringReplacerConf::~StringReplacerConf(){ * 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 StringReplacerConf::load(KConfig* config, const TQString& configGroup){ +void StringReplacerConf::load(TDEConfig* config, const TQString& configGroup){ // kdDebug() << "StringReplacerConf::load: Running" << endl; // See if this filter previously save its word list. config->setGroup( configGroup ); @@ -253,11 +253,11 @@ TQString StringReplacerConf::loadFromFile( const TQString& filename, bool clear) * 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 StringReplacerConf::save(KConfig* config, const TQString& configGroup){ +void StringReplacerConf::save(TDEConfig* config, const TQString& configGroup){ // kdDebug() << "StringReplacerConf::save: Running" << endl; TQString wordsFilename = TDEGlobal::dirs()->saveLocation( "data" ,"kttsd/stringreplacer/", true ); diff --git a/kttsd/filters/stringreplacer/stringreplacerconf.h b/kttsd/filters/stringreplacer/stringreplacerconf.h index bd63de2..ba66d0b 100644 --- a/kttsd/filters/stringreplacer/stringreplacerconf.h +++ b/kttsd/filters/stringreplacer/stringreplacerconf.h @@ -70,7 +70,7 @@ class StringReplacerConf : 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. * @@ -79,7 +79,7 @@ class StringReplacerConf : 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 @@ -87,11 +87,11 @@ class StringReplacerConf : 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/stringreplacer/stringreplacerproc.cpp b/kttsd/filters/stringreplacer/stringreplacerproc.cpp index 5d4d818..a00b66f 100644 --- a/kttsd/filters/stringreplacer/stringreplacerproc.cpp +++ b/kttsd/filters/stringreplacer/stringreplacerproc.cpp @@ -68,7 +68,7 @@ StringReplacerProc::StringReplacerProc( TQObject *parent, const char *name, cons * Note: The parameters are for reading from kttsdrc file. Plugins may wish to maintain * separate configuration files of their own. */ -bool StringReplacerProc::init(KConfig* config, const TQString& configGroup){ +bool StringReplacerProc::init(TDEConfig* config, const TQString& configGroup){ // kdDebug() << "StringReplacerProc::init: Running" << endl; TQString wordsFilename = TDEGlobal::dirs()->saveLocation( "data" ,"kttsd/stringreplacer/", false ); diff --git a/kttsd/filters/stringreplacer/stringreplacerproc.h b/kttsd/filters/stringreplacer/stringreplacerproc.h index f6f73c6..38a12e4 100644 --- a/kttsd/filters/stringreplacer/stringreplacerproc.h +++ b/kttsd/filters/stringreplacer/stringreplacerproc.h @@ -60,7 +60,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); /** * Convert input, returning output. -- cgit v1.2.1