summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/templatestreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/treeviews/templatestreeview.cpp')
-rw-r--r--quanta/treeviews/templatestreeview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/quanta/treeviews/templatestreeview.cpp b/quanta/treeviews/templatestreeview.cpp
index 75218842..5efd8b05 100644
--- a/quanta/treeviews/templatestreeview.cpp
+++ b/quanta/treeviews/templatestreeview.cpp
@@ -465,7 +465,7 @@ void TemplatesTreeView::contentsDropEvent(TQDropEvent *e)
*(tempFile->textStream()) << content;
tempFile->close();
bool proceed = true;
- if (TQExtFileInfo::exists(url, false, this))
+ if (QExtFileInfo::exists(url, false, this))
{
proceed = KMessageBox::warningContinueCancel(this, i18n("<qt>The file <b>%1</b> already exists.<br>Do you want to overwrite it?</qt>").tqarg(url.prettyURL(0, KURL::StripFileProtocol)),i18n("Overwrite"), i18n("Overwrite")) == KMessageBox::Continue;
}
@@ -953,14 +953,14 @@ TQString TemplatesTreeView::createTemplateTarball()
if ( ! currentKFileTreeViewItem()->isDir() )
files.append(url);
else {
- files = TQExtFileInfo::allFiles(dirURL, "*", this) ;
+ files = QExtFileInfo::allFiles(dirURL, "*", this) ;
dirURL = dirURL.upURL();
}
for ( KURL::List::Iterator it_f = files.begin(); it_f != files.end(); ++it_f )
{
if (!(*it_f).fileName(false).isEmpty()) {
- url = TQExtFileInfo::toRelative( (*it_f), dirURL) ;
+ url = QExtFileInfo::toRelative( (*it_f), dirURL) ;
TQFile file((*it_f).path());
file.open(IO_ReadOnly);
@@ -1062,7 +1062,7 @@ void TemplatesTreeView::slotExtractSiteTemplate()
} else
error = true;
KIO::NetAccess::removeTempFile(tempFile);
- if (!m_projectBaseURL.isEmpty() && !TQExtFileInfo::toRelative(targetURL, m_projectBaseURL).url().startsWith("."))
+ if (!m_projectBaseURL.isEmpty() && !QExtFileInfo::toRelative(targetURL, m_projectBaseURL).url().startsWith("."))
{
if (KMessageBox::questionYesNo(this, i18n("You have extracted the site template to a folder which is not under your main project folder.\nDo you want to copy the folder into the main project folder?"), TQString(), i18n("Copy Folder"), i18n("Do Not Copy")) == KMessageBox::Yes)
{