diff options
Diffstat (limited to 'src/urlnavigatorbutton.cpp')
-rw-r--r-- | src/urlnavigatorbutton.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/urlnavigatorbutton.cpp b/src/urlnavigatorbutton.cpp index ae97d46..ea53e30 100644 --- a/src/urlnavigatorbutton.cpp +++ b/src/urlnavigatorbutton.cpp @@ -260,35 +260,35 @@ void URLNavigatorButton::startListJob() } KURL url = urlNavigator()->url(m_index); - m_listJob = KIO::listDir(url, false, false); + m_listJob = TDEIO::listDir(url, false, false); m_subdirs.clear(); // just to be ++safe - connect(m_listJob, TQT_SIGNAL(entries(KIO::Job*, const KIO::UDSEntryList &)), - this, TQT_SLOT(entriesList(KIO::Job*, const KIO::UDSEntryList&))); - connect(m_listJob, TQT_SIGNAL(result(KIO::Job*)), this, TQT_SLOT(listJobFinished(KIO::Job*))); + connect(m_listJob, TQT_SIGNAL(entries(TDEIO::Job*, const TDEIO::UDSEntryList &)), + this, TQT_SLOT(entriesList(TDEIO::Job*, const TDEIO::UDSEntryList&))); + connect(m_listJob, TQT_SIGNAL(result(TDEIO::Job*)), this, TQT_SLOT(listJobFinished(TDEIO::Job*))); } -void URLNavigatorButton::entriesList(KIO::Job* job, const KIO::UDSEntryList& entries) +void URLNavigatorButton::entriesList(TDEIO::Job* job, const TDEIO::UDSEntryList& entries) { if (job != m_listJob) { return; } - KIO::UDSEntryList::const_iterator it = entries.constBegin(); - KIO::UDSEntryList::const_iterator itEnd = entries.constEnd(); + TDEIO::UDSEntryList::const_iterator it = entries.constBegin(); + TDEIO::UDSEntryList::const_iterator itEnd = entries.constEnd(); while (it != itEnd) { TQString name; bool isDir = false; - KIO::UDSEntry entry = *it; - KIO::UDSEntry::const_iterator atomIt = entry.constBegin(); - KIO::UDSEntry::const_iterator atomEndIt = entry.constEnd(); + TDEIO::UDSEntry entry = *it; + TDEIO::UDSEntry::const_iterator atomIt = entry.constBegin(); + TDEIO::UDSEntry::const_iterator atomEndIt = entry.constEnd(); while (atomIt != atomEndIt) { switch ((*atomIt).m_uds) { - case KIO::UDS_NAME: + case TDEIO::UDS_NAME: name = (*atomIt).m_str; break; - case KIO::UDS_FILE_TYPE: + case TDEIO::UDS_FILE_TYPE: isDir = S_ISDIR((*atomIt).m_long); break; default: @@ -307,7 +307,7 @@ void URLNavigatorButton::entriesList(KIO::Job* job, const KIO::UDSEntryList& ent m_subdirs.sort(); } -void URLNavigatorButton::listJobFinished(KIO::Job* job) +void URLNavigatorButton::listJobFinished(TDEIO::Job* job) { if (job != m_listJob) { return; |