diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:49 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:49 -0600 |
commit | f8069e2ea048f2657cc417d83820576ec55c181b (patch) | |
tree | cbc5bf540866934a91e0f33b260fc7a25e191fad /kbabel/kbabeldict/modules/tmx | |
parent | e6aaa3624cc6179b82a9bfff1760e742a669064c (diff) | |
download | tdesdk-f8069e2ea048f2657cc417d83820576ec55c181b.tar.gz tdesdk-f8069e2ea048f2657cc417d83820576ec55c181b.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kbabel/kbabeldict/modules/tmx')
-rw-r--r-- | kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp | 4 | ||||
-rw-r--r-- | kbabel/kbabeldict/modules/tmx/tmxcompendium.h | 6 | ||||
-rw-r--r-- | kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp index 7f2bc8b6..913402d8 100644 --- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp +++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp @@ -107,7 +107,7 @@ bool TmxCompendium::isSearching() const } -void TmxCompendium::saveSettings(KConfigBase *config) +void TmxCompendium::saveSettings(TDEConfigBase *config) { if(autoUpdate && prefWidget && prefWidget->settingsChanged()) { @@ -126,7 +126,7 @@ void TmxCompendium::saveSettings(KConfigBase *config) config->writeEntry("Compendium", url); } -void TmxCompendium::readSettings(KConfigBase *config) +void TmxCompendium::readSettings(TDEConfigBase *config) { caseSensitive = config->readBoolEntry("CaseSensitive", false); wholeWords = config->readBoolEntry("WholeWords",true); diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.h b/kbabel/kbabeldict/modules/tmx/tmxcompendium.h index 8f75f5e6..992c5d93 100644 --- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.h +++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.h @@ -44,7 +44,7 @@ #include <tqguardedptr.h> class TmxCompendiumPreferencesWidget; -class KConfigBase; +class TDEConfigBase; class TQTimer; class TmxCompendium : public SearchEngine @@ -63,8 +63,8 @@ public: virtual bool isSearching() const; - virtual void saveSettings(KConfigBase *config); - virtual void readSettings(KConfigBase *config); + virtual void saveSettings(TDEConfigBase *config); + virtual void readSettings(TDEConfigBase *config); virtual PrefWidget *preferencesWidget(TQWidget *parent); diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp index 0c186b57..0f849e9c 100644 --- a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp +++ b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp @@ -83,7 +83,7 @@ bool TmxCompendiumData::load(const KURL& url, const TQString& language) TQString target; - if( KIO::NetAccess::download( url, target ) ) + if( TDEIO::NetAccess::download( url, target ) ) { TQFile f( target ); if ( !f.open( IO_ReadOnly ) ) @@ -96,7 +96,7 @@ bool TmxCompendiumData::load(const KURL& url, const TQString& language) _errorMsg = i18n( "Cannot parse XML data." ); } f.close(); - KIO::NetAccess::removeTempFile(target); + TDEIO::NetAccess::removeTempFile(target); } else { _error = true; _errorMsg = i18n( "Cannot open the file." ); |