diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:39:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:39:24 -0600 |
commit | f9ced3b3f13f3136ef63c33ef163042010d6e80b (patch) | |
tree | 293ce93dfb0dcfd79f83674116d7b3bc56f29af2 /quanta/project/rescanprj.cpp | |
parent | 29df04c24350cc76a41e2410d1c92445f9338b98 (diff) | |
download | tdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.tar.gz tdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'quanta/project/rescanprj.cpp')
-rw-r--r-- | quanta/project/rescanprj.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/quanta/project/rescanprj.cpp b/quanta/project/rescanprj.cpp index daa628a5..5f5ebc71 100644 --- a/quanta/project/rescanprj.cpp +++ b/quanta/project/rescanprj.cpp @@ -53,13 +53,13 @@ RescanPrj::RescanPrj(const ProjectList &p_prjFileList, const KURL& p_baseURL, co excludeRx = p_excludeRx; progressText->setText(i18n("Reading folder:")); - KIO::ListJob *job = KIO::listRecursive( baseURL, false ); + TDEIO::ListJob *job = TDEIO::listRecursive( baseURL, false ); m_listJobCount = 1; - connect( job, TQT_SIGNAL(entries(KIO::Job *,const KIO::UDSEntryList &)), - this,TQT_SLOT (addEntries(KIO::Job *,const KIO::UDSEntryList &))); - connect( job, TQT_SIGNAL(result(KIO::Job *)), - this,TQT_SLOT (slotListDone(KIO::Job *))); + connect( job, TQT_SIGNAL(entries(TDEIO::Job *,const TDEIO::UDSEntryList &)), + this,TQT_SLOT (addEntries(TDEIO::Job *,const TDEIO::UDSEntryList &))); + connect( job, TQT_SIGNAL(result(TDEIO::Job *)), + this,TQT_SLOT (slotListDone(TDEIO::Job *))); connect( buttonSelect, TQT_SIGNAL(clicked()), @@ -83,16 +83,16 @@ RescanPrj::~RescanPrj() urlList.clear(); } -void RescanPrj::addEntries(KIO::Job *job,const KIO::UDSEntryList &list) +void RescanPrj::addEntries(TDEIO::Job *job,const TDEIO::UDSEntryList &list) { - KURL url = static_cast<KIO::ListJob *>(job)->url(); + KURL url = static_cast<TDEIO::ListJob *>(job)->url(); url.adjustPath(-1); // avoid creating these TQStrings again and again static const TQString& dot = TDEGlobal::staticQString("."); static const TQString& dotdot = TDEGlobal::staticQString(".."); - KIO::UDSEntryListConstIterator it = list.begin(); - KIO::UDSEntryListConstIterator end = list.end(); + TDEIO::UDSEntryListConstIterator it = list.begin(); + TDEIO::UDSEntryListConstIterator end = list.end(); KURL itemURL; URLListEntry urlEntry; TQString name; @@ -148,13 +148,13 @@ void RescanPrj::addEntries(KIO::Job *job,const KIO::UDSEntryList &list) } for (TQPtrList<KFileItem>::ConstIterator it = linkItems.constBegin(); it != linkItems.constEnd(); ++it) { - KIO::ListJob *ljob = KIO::listRecursive( (*it)->url(), false ); + TDEIO::ListJob *ljob = TDEIO::listRecursive( (*it)->url(), false ); m_listJobCount++; - connect( ljob, TQT_SIGNAL(entries(KIO::Job *,const KIO::UDSEntryList &)), - this,TQT_SLOT (addEntries(KIO::Job *,const KIO::UDSEntryList &))); - connect( ljob, TQT_SIGNAL(result(KIO::Job *)), - this,TQT_SLOT (slotListDone(KIO::Job *))); + connect( ljob, TQT_SIGNAL(entries(TDEIO::Job *,const TDEIO::UDSEntryList &)), + this,TQT_SLOT (addEntries(TDEIO::Job *,const TDEIO::UDSEntryList &))); + connect( ljob, TQT_SIGNAL(result(TDEIO::Job *)), + this,TQT_SLOT (slotListDone(TDEIO::Job *))); } } @@ -220,7 +220,7 @@ KURL::List RescanPrj::files() return r; } /** No descriptions */ -void RescanPrj::slotListDone(KIO::Job *) +void RescanPrj::slotListDone(TDEIO::Job *) { m_listJobCount--; // kdDebug(24000) << "slotListDone " << m_listJobCount << endl; |