summaryrefslogtreecommitdiffstats
path: root/konqueror/sidebar/trees/dirtree_module
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:30:47 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /konqueror/sidebar/trees/dirtree_module
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'konqueror/sidebar/trees/dirtree_module')
-rw-r--r--konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp2
-rw-r--r--konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp12
2 files changed, 7 insertions, 7 deletions
diff --git a/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp b/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp
index 16520d0e0..9c31acdf5 100644
--- a/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp
+++ b/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp
@@ -203,7 +203,7 @@ void KonqSidebarDirTreeItem::paste()
kdDebug(1201) << "move (from clipboard data) = " << move << endl;
}
- KIO::pasteClipboard( m_fileItem->url(), move );
+ TDEIO::pasteClipboard( m_fileItem->url(), move );
}
void KonqSidebarDirTreeItem::trash()
diff --git a/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp b/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp
index 7d8f7b1fd..40dd324e8 100644
--- a/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp
+++ b/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp
@@ -42,7 +42,7 @@ KonqSidebarDirTreeModule::KonqSidebarDirTreeModule( KonqSidebarTree * parentTree
universalMode = ksi ? ksi->universalMode() : false;
} */
- KConfig * config = new KConfig( universalMode ? "konqsidebartng_kicker.rc" : "konqsidebartng.rc" );
+ TDEConfig * config = new TDEConfig( universalMode ? "konqsidebartng_kicker.rc" : "konqsidebartng.rc" );
config->setGroup("");
m_showArchivesAsFolders = config->readBoolEntry("ShowArchivesAsFolders",true);
delete config;
@@ -90,7 +90,7 @@ void KonqSidebarDirTreeModule::addTopLevelItem( KonqSidebarTreeTopLevelItem * it
TQString configured = cfg.readEntry("X-TDE-ConfiguredURL");
if (!configured.isEmpty()) {
TQStringList list = TQStringList::split(':', configured);
- KConfig config(list[0]);
+ TDEConfig config(list[0]);
if (list[1] != "noGroup") config.setGroup(list[1]);
TQString conf_url = config.readEntry(list[2]);
if (!conf_url.isEmpty()) {
@@ -378,7 +378,7 @@ void KonqSidebarDirTreeModule::listDirectory( KonqSidebarTreeItem *item )
KonqSidebarDirTreeItem *dirTreeItem = new KonqSidebarDirTreeItem( parentItem, m_topLevelItem, fileItem );
dirTreeItem->setPixmap( 0, fileItem->pixmap( size ) );
- dirTreeItem->setText( 0, KIO::decodeFileName( fileItem->name() ) );
+ dirTreeItem->setText( 0, TDEIO::decodeFileName( fileItem->name() ) );
oldItem = static_cast<KonqSidebarDirTreeItem *> (oldItem->nextSibling());
}
@@ -447,7 +447,7 @@ void KonqSidebarDirTreeModule::slotNewItems( const KFileItemList& entries )
KonqSidebarDirTreeItem *dirTreeItem = new KonqSidebarDirTreeItem( parentItem, m_topLevelItem, fileItem );
dirTreeItem->setPixmap( 0, fileItem->pixmap( size ) );
- dirTreeItem->setText( 0, KIO::decodeFileName( fileItem->name() ) );
+ dirTreeItem->setText( 0, TDEIO::decodeFileName( fileItem->name() ) );
}
} while ((parentItem = parentItemList ? parentItemList->take(0) : 0));
@@ -494,7 +494,7 @@ void KonqSidebarDirTreeModule::slotRefreshItems( const KFileItemList &entries )
dirTreeItem->reset(); // Reset id
dirTreeItem->setPixmap( 0, fileItem->pixmap( size ) );
- dirTreeItem->setText( 0, KIO::decodeFileName( fileItem->name() ) );
+ dirTreeItem->setText( 0, TDEIO::decodeFileName( fileItem->name() ) );
// Make sure the item doesn't get inserted twice!
// dirTreeItem->id points to the new name
@@ -504,7 +504,7 @@ void KonqSidebarDirTreeModule::slotRefreshItems( const KFileItemList &entries )
else
{
dirTreeItem->setPixmap( 0, fileItem->pixmap( size ) );
- dirTreeItem->setText( 0, KIO::decodeFileName( fileItem->name() ) );
+ dirTreeItem->setText( 0, TDEIO::decodeFileName( fileItem->name() ) );
}
} while ((item = itemList ? itemList->take(0) : 0));