diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 03:03:11 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 03:03:11 +0000 |
commit | a2bae01d006ea8053e85bc16d09a8cf40a4b0b75 (patch) | |
tree | 7f2b2a1d90d0d5fbcbf23e06962192923058e0ad /quanta/project/projectnewlocal.cpp | |
parent | 4e0c064056c23aabc053dc4a54d82ff1dceaf6a9 (diff) | |
download | tdewebdev-a2bae01d006ea8053e85bc16d09a8cf40a4b0b75.tar.gz tdewebdev-a2bae01d006ea8053e85bc16d09a8cf40a4b0b75.zip |
Fix kdewebdev FTBFS under Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/project/projectnewlocal.cpp')
-rw-r--r-- | quanta/project/projectnewlocal.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/quanta/project/projectnewlocal.cpp b/quanta/project/projectnewlocal.cpp index 1de12e9e..5a47a3db 100644 --- a/quanta/project/projectnewlocal.cpp +++ b/quanta/project/projectnewlocal.cpp @@ -112,7 +112,7 @@ KURL::List ProjectNewLocal::projectFiles() { KURL::List list; - if (!TQExtFileInfo::exists(baseURL, false, this) || + if (!QExtFileInfo::exists(baseURL, false, this) || !baseURL.path().endsWith("/") || !checkInsert->isChecked() ) return list; @@ -142,7 +142,7 @@ KURL::List ProjectNewLocal::projectFiles() ftqmask = tqmask->text(); } - list = TQExtFileInfo::allFilesRelative(baseURL, ftqmask, this, false); + list = QExtFileInfo::allFilesRelative(baseURL, ftqmask, this, false); return list; } @@ -180,7 +180,7 @@ void ProjectNewLocal::resizeEvent ( TQResizeEvent *t ) /** No descriptions */ void ProjectNewLocal::slotAddFiles() { - TQExtFileInfo::createDir(baseURL, this); + QExtFileInfo::createDir(baseURL, this); KURL::List list = KFileDialog::getOpenURLs( baseURL.url(), i18n("*"), this, i18n("Insert Files in Project")); @@ -188,7 +188,7 @@ void ProjectNewLocal::slotAddFiles() { KURL u = list.first(); - u = TQExtFileInfo::toRelative( u, baseURL, false ); + u = QExtFileInfo::toRelative( u, baseURL, false ); if ( u.path().startsWith("..") || u.path().startsWith("/")) { @@ -218,7 +218,7 @@ void ProjectNewLocal::slotAddFiles() progressBar->setTextEnabled(true); for (uint i = 0; i < list.count(); i++) { - list[i] = TQExtFileInfo::toRelative(list[i], baseURL, false); + list[i] = QExtFileInfo::toRelative(list[i], baseURL, false); if (!fileList.tqcontains(list[i])) { fileList.append(list[i]); @@ -238,7 +238,7 @@ void ProjectNewLocal::slotAddFolder() { //TODO/FIXME: This returns null if the selected directory is not on the local disk. //I think this is a KDE bug - TQExtFileInfo::createDir(baseURL, this); + QExtFileInfo::createDir(baseURL, this); KURL dirURL ; dirURL = KFileDialog::getExistingURL( baseURL.url(), this, i18n("Insert Folder in Project")); @@ -248,7 +248,7 @@ void ProjectNewLocal::slotAddFolder() dirURL.adjustPath(1); KURL sdir = dirURL; - sdir = TQExtFileInfo::toRelative( sdir, baseURL, false); + sdir = QExtFileInfo::toRelative( sdir, baseURL, false); if ( sdir.path().startsWith("..") || sdir.path().startsWith("/") ) { @@ -293,7 +293,7 @@ void ProjectNewLocal::slotInsertFolderAfterCopying(const KURL::List& a_urlList) { dirURL = *it; // dirURL.adjustPath(1); - KURL::List files = TQExtFileInfo::allFilesRelative(dirURL, "*", this, false); + KURL::List files = QExtFileInfo::allFilesRelative(dirURL, "*", this, false); progressBar->setTotalSteps(files.count() - 1); progressBar->setTextEnabled(true); KURL u; @@ -328,7 +328,7 @@ void ProjectNewLocal::slotInsertFilesAfterCopying(const KURL::List& a_urlList) progressBar->setTextEnabled(true); for (it = a_urlList.begin(); it != a_urlList.end(); ++it) { - u = TQExtFileInfo::toRelative(*it, baseURL, false); + u = QExtFileInfo::toRelative(*it, baseURL, false); if ( !fileList.tqcontains(u)) { fileList.append(u); |