summaryrefslogtreecommitdiffstats
path: root/src/kile/kiledocmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kile/kiledocmanager.cpp')
-rw-r--r--src/kile/kiledocmanager.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kile/kiledocmanager.cpp b/src/kile/kiledocmanager.cpp
index 642e8e9..6fe3e38 100644
--- a/src/kile/kiledocmanager.cpp
+++ b/src/kile/kiledocmanager.cpp
@@ -569,7 +569,7 @@ Kate::View* Manager::loadTemplate(TemplateItem *sel)
if (!tempdoc->openURL(KURL(sel->path())))
{
- KMessageBox::error(m_ki->parentWidget(), i18n("Could not find template: %1").tqarg(sel->name()),i18n("File Not Found"));
+ KMessageBox::error(m_ki->parentWidget(), i18n("Could not find template: %1").arg(sel->name()),i18n("File Not Found"));
}
else
{
@@ -818,7 +818,7 @@ void Manager::fileSaveAll(bool amAutoSaving, bool disUntitled )
else
{
KILE_DEBUG()<<"backing up failed ("<<url.prettyURL()<<" -> "<<backupUrl.prettyURL()<<")"<<endl;
- emit printMsg(KileTool::Error,i18n("The file %1 could not be saved, check the permissions and the free disk space!").tqarg(backupUrl.prettyURL()),i18n("Autosave"));
+ emit printMsg(KileTool::Error,i18n("The file %1 could not be saved, check the permissions and the free disk space!").arg(backupUrl.prettyURL()),i18n("Autosave"));
}
}
@@ -827,7 +827,7 @@ void Manager::fileSaveAll(bool amAutoSaving, bool disUntitled )
fi.refresh();
if(saveResult == Kate::View::SAVE_ERROR && fi.size() == 0 && !url.isEmpty()) // we probably hit bug #125809, inform the user of the possible consequences
- emit printMsg(KileTool::Error,i18n("Kile encountered problems while saving the file %1. Do you have enough free disk space left?").tqarg(url.url()),i18n("Saving"));
+ emit printMsg(KileTool::Error,i18n("Kile encountered problems while saving the file %1. Do you have enough free disk space left?").arg(url.url()),i18n("Saving"));
}
}
}
@@ -934,7 +934,7 @@ void Manager::fileSaveAs(Kate::View* view)
}
if(KIO::NetAccess::exists(saveURL, true, kapp->mainWidget())) // check for writing possibility
{
- int r = KMessageBox::warningContinueCancel(m_ki->parentWidget(), i18n("A file with the name \"%1\" exists already. Do you want to overwrite it ?").tqarg(saveURL.fileName()), i18n("Overwrite File ?"), KGuiItem(i18n("&Overwrite")), TQString());
+ int r = KMessageBox::warningContinueCancel(m_ki->parentWidget(), i18n("A file with the name \"%1\" exists already. Do you want to overwrite it ?").arg(saveURL.fileName()), i18n("Overwrite File ?"), KGuiItem(i18n("&Overwrite")), TQString());
if(r != KMessageBox::Continue)
{
continue;
@@ -1224,12 +1224,12 @@ void Manager::addToProject(KileProject* project, const KURL & url)
if (project->contains(realurl))
{
- emit printMsg(KileTool::Info,i18n("The file %1 is already member of the project %2").tqarg(realurl.filename()).tqarg(project->name()),i18n("Add to Project"));
+ emit printMsg(KileTool::Info,i18n("The file %1 is already member of the project %2").arg(realurl.filename()).arg(project->name()),i18n("Add to Project"));
return;
}
else if(!fi.exists() || !fi.isReadable())
{
- emit printMsg( KileTool::Info,i18n("The file %1 can not be added because it does not exist or is not readable").tqarg(realurl.filename()),i18n("Add to Project"));
+ emit printMsg( KileTool::Info,i18n("The file %1 can not be added because it does not exist or is not readable").arg(realurl.filename()),i18n("Add to Project"));
return;
}
@@ -1713,7 +1713,7 @@ void Manager::cleanUpTempFiles(const KURL &url, bool silent)
}
if ( extlist.count() == 0 )
- emit printMsg(KileTool::Warning, i18n("Nothing to clean for %1").tqarg(fileName), i18n("Clean"));
+ emit printMsg(KileTool::Warning, i18n("Nothing to clean for %1").arg(fileName), i18n("Clean"));
else
{
for ( uint i = 0 ; i < extlist.count() ; ++i )
@@ -1722,7 +1722,7 @@ void Manager::cleanUpTempFiles(const KURL &url, bool silent)
KILE_DEBUG() << "About to remove file = " << file.name() << endl;
file.remove();
}
- emit printMsg(KileTool::Info, i18n("Cleaning %1 : %2").tqarg(fileName).tqarg(extlist.join(" ")), i18n("Clean"));
+ emit printMsg(KileTool::Info, i18n("Cleaning %1 : %2").arg(fileName).arg(extlist.join(" ")), i18n("Clean"));
}
}
@@ -1895,7 +1895,7 @@ TQStringList Manager::getProjectFiles()
void Manager::dontOpenWarning(KileProjectItem *item, const TQString &action, const TQString &filetype)
{
- emit printMsg(KileTool::Info, i18n("not opened: %1 (%2)").tqarg(item->url().path()).tqarg(filetype), action);
+ emit printMsg(KileTool::Info, i18n("not opened: %1 (%2)").arg(item->url().path()).arg(filetype), action);
}
KileProjectItem* Manager::selectProjectFileItem(const TQString &label)