summaryrefslogtreecommitdiffstats
path: root/src/kile/managetemplatesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kile/managetemplatesdialog.cpp')
-rw-r--r--src/kile/managetemplatesdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kile/managetemplatesdialog.cpp b/src/kile/managetemplatesdialog.cpp
index 5c2c8bf..0ee55f7 100644
--- a/src/kile/managetemplatesdialog.cpp
+++ b/src/kile/managetemplatesdialog.cpp
@@ -209,12 +209,12 @@ void ManageTemplatesDialog::addTemplate() {
return;
}
- if (!KIO::NetAccess::exists(iconURL, true, kapp->mainWidget())) {
+ if (!TDEIO::NetAccess::exists(iconURL, true, kapp->mainWidget())) {
KMessageBox::error(this, i18n("Sorry, but the icon file: %1\ndoes not seem to exist. Please choose a new icon.").arg(icon));
return;
}
- if (!KIO::NetAccess::exists(m_sourceURL, true, kapp->mainWidget())) {
+ if (!TDEIO::NetAccess::exists(m_sourceURL, true, kapp->mainWidget())) {
KMessageBox::error(this, i18n("Sorry, but the file: %1\ndoes not seem to exist. Maybe you forgot to save the file?").arg(m_sourceURL.prettyURL()));
return;
}
@@ -261,7 +261,7 @@ bool ManageTemplatesDialog::removeTemplate()
KileTemplate::Info templateInfo = templateItem->getTemplateInfo();
- if (!(KIO::NetAccess::exists(KURL::fromPathOrURL(templateInfo.path), false, kapp->mainWidget()) && (KIO::NetAccess::exists(KURL::fromPathOrURL(templateInfo.icon), false, kapp->mainWidget()) || !TQFileInfo(templateInfo.icon).exists()))) {
+ if (!(TDEIO::NetAccess::exists(KURL::fromPathOrURL(templateInfo.path), false, kapp->mainWidget()) && (TDEIO::NetAccess::exists(KURL::fromPathOrURL(templateInfo.icon), false, kapp->mainWidget()) || !TQFileInfo(templateInfo.icon).exists()))) {
KMessageBox::error(this, i18n("Sorry, but you do not have the necessary permissions to remove the selected template."));
return false;
}