summaryrefslogtreecommitdiffstats
path: root/noatun/modules/splitplaylist
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/splitplaylist')
-rw-r--r--noatun/modules/splitplaylist/view.cpp30
-rw-r--r--noatun/modules/splitplaylist/view.h12
2 files changed, 21 insertions, 21 deletions
diff --git a/noatun/modules/splitplaylist/view.cpp b/noatun/modules/splitplaylist/view.cpp
index 764cbc7e..50245140 100644
--- a/noatun/modules/splitplaylist/view.cpp
+++ b/noatun/modules/splitplaylist/view.cpp
@@ -490,7 +490,7 @@ void View::exportTo(const KURL &url)
}
saver.close();
- KIO::NetAccess::upload(local, url, this);
+ TDEIO::NetAccess::upload(local, url, this);
saver.remove();
}
@@ -567,18 +567,18 @@ void List::addNextPendingDirectory()
if (!listJob && (pendingIt!= pendingAddDirectories.end()))
{
currentJobURL= *pendingIt;
- listJob= KIO::listRecursive(currentJobURL, false,false);
+ listJob= TDEIO::listRecursive(currentJobURL, false,false);
connect(
- listJob, TQT_SIGNAL(entries(KIO::Job*, const KIO::UDSEntryList&)),
- TQT_SLOT(slotEntries(KIO::Job*, const KIO::UDSEntryList&))
+ listJob, TQT_SIGNAL(entries(TDEIO::Job*, const TDEIO::UDSEntryList&)),
+ TQT_SLOT(slotEntries(TDEIO::Job*, const TDEIO::UDSEntryList&))
);
connect(
- listJob, TQT_SIGNAL(result(KIO::Job *)),
- TQT_SLOT(slotResult(KIO::Job *))
+ listJob, TQT_SIGNAL(result(TDEIO::Job *)),
+ TQT_SLOT(slotResult(TDEIO::Job *))
);
connect(
- listJob, TQT_SIGNAL(redirection(KIO::Job *, const KURL &)),
- TQT_SLOT(slotRedirection(KIO::Job *, const KURL &))
+ listJob, TQT_SIGNAL(redirection(TDEIO::Job *, const KURL &)),
+ TQT_SLOT(slotRedirection(TDEIO::Job *, const KURL &))
);
pendingAddDirectories.remove(pendingIt);
}
@@ -592,7 +592,7 @@ void List::addDirectoryRecursive(const KURL &dir, TQListViewItem *after)
addNextPendingDirectory();
}
-void List::slotResult(KIO::Job *job)
+void List::slotResult(TDEIO::Job *job)
{
listJob= 0;
if (job && job->error())
@@ -600,12 +600,12 @@ void List::slotResult(KIO::Job *job)
addNextPendingDirectory();
}
-void List::slotEntries(KIO::Job *, const KIO::UDSEntryList &entries)
+void List::slotEntries(TDEIO::Job *, const TDEIO::UDSEntryList &entries)
{
TQMap<TQString,KURL> __list; // temp list to sort entries
- KIO::UDSEntryListConstIterator it = entries.begin();
- KIO::UDSEntryListConstIterator end = entries.end();
+ TDEIO::UDSEntryListConstIterator it = entries.begin();
+ TDEIO::UDSEntryListConstIterator end = entries.end();
for (; it != end; ++it)
{
@@ -626,7 +626,7 @@ void List::slotEntries(KIO::Job *, const KIO::UDSEntryList &entries)
}
}
-void List::slotRedirection(KIO::Job *, const KURL & url)
+void List::slotRedirection(TDEIO::Job *, const KURL & url)
{
currentJobURL= url;
}
@@ -797,7 +797,7 @@ void View::init()
list->openGlobal(internalURL);
}
- KConfig &config = *TDEGlobal::config();
+ TDEConfig &config = *TDEGlobal::config();
config.setGroup("splitplaylist");
// this has to come after openGlobal, since openGlobal emits modified()
@@ -942,7 +942,7 @@ void View::setModified(void)
void View::saveState(void)
{
- KConfig &config = *TDEGlobal::config();
+ TDEConfig &config = *TDEGlobal::config();
config.setGroup("splitplaylist");
config.writeEntry("modified", modified);
diff --git a/noatun/modules/splitplaylist/view.h b/noatun/modules/splitplaylist/view.h
index caad3a66..48a30df5 100644
--- a/noatun/modules/splitplaylist/view.h
+++ b/noatun/modules/splitplaylist/view.h
@@ -12,7 +12,7 @@
class Finder;
class View;
-namespace KIO { class ListJob; }
+namespace TDEIO { class ListJob; }
class SafeListViewItem
@@ -87,15 +87,15 @@ protected:
TQListViewItem *recursiveAddAfter;
protected slots:
- // used when adding directories via KIO::listRecursive
- void slotResult(KIO::Job *job);
- void slotEntries(KIO::Job *job, const KIO::UDSEntryList &entries);
- void slotRedirection(KIO::Job *, const KURL & url);
+ // used when adding directories via TDEIO::listRecursive
+ void slotResult(TDEIO::Job *job);
+ void slotEntries(TDEIO::Job *job, const TDEIO::UDSEntryList &entries);
+ void slotRedirection(TDEIO::Job *, const KURL & url);
protected:
void addNextPendingDirectory();
KURL::List pendingAddDirectories;
- KIO::ListJob *listJob;
+ TDEIO::ListJob *listJob;
KURL currentJobURL;
};