diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:35:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:35:07 -0600 |
commit | 703fb0c89c2eee56a1e613e67a446db9d4287929 (patch) | |
tree | dd8c5ca66075cd89c2638a2b48cf78386a9870a7 /kio/kfile/kurlbar.cpp | |
parent | 818e7abec3d5d3809b6b77293558678371c16b71 (diff) | |
download | tdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.tar.gz tdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kio/kfile/kurlbar.cpp')
-rw-r--r-- | kio/kfile/kurlbar.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kio/kfile/kurlbar.cpp b/kio/kfile/kurlbar.cpp index 1d2cf1547..95f30ee24 100644 --- a/kio/kfile/kurlbar.cpp +++ b/kio/kfile/kurlbar.cpp @@ -577,16 +577,16 @@ KURL KURLBar::currentURL() const return item ? item->url() : KURL(); } -void KURLBar::readConfig( KConfig *appConfig, const TQString& itemGroup ) +void KURLBar::readConfig( TDEConfig *appConfig, const TQString& itemGroup ) { m_isImmutable = appConfig->groupIsImmutable( itemGroup ); - KConfigGroupSaver cs( appConfig, itemGroup ); + TDEConfigGroupSaver cs( appConfig, itemGroup ); d->defaultIconSize = m_iconSize; m_iconSize = appConfig->readNumEntry( "Speedbar IconSize", m_iconSize ); if ( m_useGlobal ) { // read global items - KConfig *globalConfig = TDEGlobal::config(); - KConfigGroupSaver cs( globalConfig, (TQString)(itemGroup +" (Global)")); + TDEConfig *globalConfig = TDEGlobal::config(); + TDEConfigGroupSaver cs( globalConfig, (TQString)(itemGroup +" (Global)")); int num = globalConfig->readNumEntry( "Number of Entries" ); for ( int i = 0; i < num; i++ ) { readItem( i, globalConfig, false ); @@ -600,7 +600,7 @@ void KURLBar::readConfig( KConfig *appConfig, const TQString& itemGroup ) } } -void KURLBar::readItem( int i, KConfig *config, bool applicationLocal ) +void KURLBar::readItem( int i, TDEConfig *config, bool applicationLocal ) { TQString number = TQString::number( i ); KURL url = KURL::fromPathOrURL( config->readPathEntry( TQString("URL_") + number )); @@ -610,9 +610,9 @@ void KURLBar::readItem( int i, KConfig *config, bool applicationLocal ) TQString description = config->readEntry( TQString("Description_") + number ); if (description.isEmpty() && url.protocol()=="beagle") { - KIO::UDSEntry uds; + TDEIO::UDSEntry uds; const KURL kurl("beagle:?beagled-status"); - if (!KIO::NetAccess::stat(kurl, uds)) + if (!TDEIO::NetAccess::stat(kurl, uds)) return; description = i18n("Desktop Search"); @@ -626,9 +626,9 @@ void KURLBar::readItem( int i, KConfig *config, bool applicationLocal ) config->readNumEntry( TQString("IconGroup_") + number )) ); } -void KURLBar::writeConfig( KConfig *config, const TQString& itemGroup ) +void KURLBar::writeConfig( TDEConfig *config, const TQString& itemGroup ) { - KConfigGroupSaver cs1( config, itemGroup ); + TDEConfigGroupSaver cs1( config, itemGroup ); if(!config->hasDefault("Speedbar IconSize") && m_iconSize == d->defaultIconSize ) config->revertToDefault("Speedbar IconSize"); else @@ -685,7 +685,7 @@ void KURLBar::writeConfig( KConfig *config, const TQString& itemGroup ) m_isModified = false; } -void KURLBar::writeItem( KURLBarItem *item, int i, KConfig *config, +void KURLBar::writeItem( KURLBarItem *item, int i, TDEConfig *config, bool global ) { if ( !item->isPersistent() ) |