summaryrefslogtreecommitdiffstats
path: root/juk/filerenamer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/filerenamer.cpp')
-rw-r--r--juk/filerenamer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/juk/filerenamer.cpp b/juk/filerenamer.cpp
index b6777840..e21a484d 100644
--- a/juk/filerenamer.cpp
+++ b/juk/filerenamer.cpp
@@ -101,7 +101,7 @@ public:
ConfigCategoryReader::ConfigCategoryReader() : CategoryReaderInterface(),
m_currentItem(0)
{
- KConfigGroup config(TDEGlobal::config(), "FileRenamer");
+ TDEConfigGroup config(TDEGlobal::config(), "FileRenamer");
TQValueList<int> categoryOrder = config.readIntListEntry("CategoryOrder");
unsigned categoryCount[NumTypes] = { 0 }; // Keep track of each category encountered.
@@ -260,7 +260,7 @@ FileRenamerWidget::FileRenamerWidget(TQWidget *parent) :
void FileRenamerWidget::loadConfig()
{
TQValueList<int> checkedSeparators;
- KConfigGroup config(TDEGlobal::config(), "FileRenamer");
+ TDEConfigGroup config(TDEGlobal::config(), "FileRenamer");
for(unsigned i = 0; i < m_rows.count(); ++i)
m_rows[i].options = TagRenamerOptions(m_rows[i].category);
@@ -282,7 +282,7 @@ void FileRenamerWidget::loadConfig()
void FileRenamerWidget::saveConfig()
{
- KConfigGroup config(TDEGlobal::config(), "FileRenamer");
+ TDEConfigGroup config(TDEGlobal::config(), "FileRenamer");
TQValueList<int> checkedSeparators;
TQValueList<int> categoryOrder;
@@ -470,7 +470,7 @@ void FileRenamerWidget::addFolderSeparatorCheckbox()
void FileRenamerWidget::createTagRows()
{
- KConfigGroup config(TDEGlobal::config(), "FileRenamer");
+ TDEConfigGroup config(TDEGlobal::config(), "FileRenamer");
TQValueList<int> categoryOrder = config.readIntListEntry("CategoryOrder");
if(categoryOrder.isEmpty())
@@ -916,7 +916,7 @@ bool FileRenamer::moveFile(const TQString &src, const TQString &dest)
}
// Move the file.
- return KIO::NetAccess::file_move(srcURL, dstURL);
+ return TDEIO::NetAccess::file_move(srcURL, dstURL);
}
void FileRenamer::setFolderIcon(const KURL &dst, const PlaylistItem *item)