summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/oblique/oblique.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/oblique/oblique.cpp')
-rw-r--r--noatun-plugins/oblique/oblique.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/noatun-plugins/oblique/oblique.cpp b/noatun-plugins/oblique/oblique.cpp
index 4b2b543..f25338a 100644
--- a/noatun-plugins/oblique/oblique.cpp
+++ b/noatun-plugins/oblique/oblique.cpp
@@ -30,7 +30,7 @@ Oblique::Oblique()
mView = 0;
mAdder = 0;
- KConfigGroup g(TDEGlobal::config(), "oblique");
+ TDEConfigGroup g(TDEGlobal::config(), "oblique");
mBase = new Base(::locate("data", "noatun/")+"/oblique-list");
@@ -263,25 +263,25 @@ void DirectoryAdder::addNextPending()
if (!listJob && (pendingIt!= pendingAddDirectories.end()))
{
currentJobURL= *pendingIt;
- listJob = KIO::listDir(currentJobURL, false, false);
+ listJob = TDEIO::listDir(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);
lastAddedSubDirectory = pendingAddDirectories.begin();
}
}
-void DirectoryAdder::slotResult(KIO::Job *job)
+void DirectoryAdder::slotResult(TDEIO::Job *job)
{
listJob= 0;
if (job && job->error())
@@ -291,12 +291,12 @@ void DirectoryAdder::slotResult(KIO::Job *job)
emit done();
}
-void DirectoryAdder::slotEntries(KIO::Job *, const KIO::UDSEntryList &entries)
+void DirectoryAdder::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)
{
@@ -316,7 +316,7 @@ void DirectoryAdder::slotEntries(KIO::Job *, const KIO::UDSEntryList &entries)
}
}
-void DirectoryAdder::slotRedirection(KIO::Job *, const KURL & url)
+void DirectoryAdder::slotRedirection(TDEIO::Job *, const KURL & url)
{
currentJobURL= url;
}