summaryrefslogtreecommitdiffstats
path: root/src/kile/managetemplatesdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:36:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:36:40 -0600
commitc4c0cb5e7986051628a5e91f5d093c71ec98a33e (patch)
tree2fc77cf2bad43889440723231f096da665bd016b /src/kile/managetemplatesdialog.cpp
parentd2b1a22452871a84b2fdf2b3dbf7df5db8548068 (diff)
downloadkile-c4c0cb5e7986051628a5e91f5d093c71ec98a33e.tar.gz
kile-c4c0cb5e7986051628a5e91f5d093c71ec98a33e.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/kile/managetemplatesdialog.cpp')
-rw-r--r--src/kile/managetemplatesdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kile/managetemplatesdialog.cpp b/src/kile/managetemplatesdialog.cpp
index c049b59..c20d6d6 100644
--- a/src/kile/managetemplatesdialog.cpp
+++ b/src/kile/managetemplatesdialog.cpp
@@ -71,7 +71,7 @@ ManageTemplatesDialog::ManageTemplatesDialog(KileTemplate::Manager *templateMana
m_nameEdit = new KLineEdit(fileName, page);
nameLayout->addWidget(m_nameEdit);
- nameLayout->addWidget(new TQLabel(i18n("Type: %1").tqarg(KileInfo::documentTypeToString(m_templateType)), page));
+ nameLayout->addWidget(new TQLabel(i18n("Type: %1").arg(KileInfo::documentTypeToString(m_templateType)), page));
TQHBoxLayout *iconLayout = new TQHBoxLayout(topLayout, spacingHint());
iconLayout->addWidget(new TQLabel(i18n("Icon:"), page));
@@ -210,19 +210,19 @@ void ManageTemplatesDialog::addTemplate() {
}
if (!KIO::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.").tqarg(icon));
+ 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())) {
- KMessageBox::error(this, i18n("Sorry, but the file: %1\ndoes not seem to exist. Maybe you forgot to save the file?").tqarg(m_sourceURL.prettyURL()));
+ 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;
}
TQListViewItem* item = m_templateList->selectedItem();
if(!item && m_templateManager->searchForTemplate(templateName, m_templateType)) {
- KMessageBox::error(this, i18n("Sorry, but a template named \"%1\" already exists.\nPlease remove it first.").tqarg(templateName));
+ KMessageBox::error(this, i18n("Sorry, but a template named \"%1\" already exists.\nPlease remove it first.").arg(templateName));
return;
}
@@ -231,7 +231,7 @@ void ManageTemplatesDialog::addTemplate() {
TemplateListViewItem *templateItem = dynamic_cast<TemplateListViewItem*>(item);
Q_ASSERT(templateItem);
KileTemplate::Info templateInfo = templateItem->getTemplateInfo();
- if (KMessageBox::warningYesNo(this, i18n("You are about to replace the template \"%1\"; are you sure?").tqarg(templateInfo.name)) == KMessageBox::No) {
+ if (KMessageBox::warningYesNo(this, i18n("You are about to replace the template \"%1\"; are you sure?").arg(templateInfo.name)) == KMessageBox::No) {
reject();
return;
}
@@ -266,7 +266,7 @@ bool ManageTemplatesDialog::removeTemplate()
return false;
}
- if (KMessageBox::warningYesNo(this, i18n("You are about to remove the template \"%1\"; are you sure?").tqarg(templateInfo.name)) == KMessageBox::No) {
+ if (KMessageBox::warningYesNo(this, i18n("You are about to remove the template \"%1\"; are you sure?").arg(templateInfo.name)) == KMessageBox::No) {
return false;
}