summaryrefslogtreecommitdiffstats
path: root/kate/filetemplates/plugin
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:52:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:52:34 -0600
commit75112ed8e227f656f98523b7ffdad5422d9a6f11 (patch)
tree23041ac1bbe364dcc39dbbd0e86ff6930494e036 /kate/filetemplates/plugin
parentb88830e9111dc4375bc1461c3f7b3e7b3e73f733 (diff)
downloadtdeaddons-75112ed8e227f656f98523b7ffdad5422d9a6f11.tar.gz
tdeaddons-75112ed8e227f656f98523b7ffdad5422d9a6f11.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kate/filetemplates/plugin')
-rw-r--r--kate/filetemplates/plugin/filetemplates.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kate/filetemplates/plugin/filetemplates.cpp b/kate/filetemplates/plugin/filetemplates.cpp
index 6f51e9b..56a0dc8 100644
--- a/kate/filetemplates/plugin/filetemplates.cpp
+++ b/kate/filetemplates/plugin/filetemplates.cpp
@@ -381,7 +381,7 @@ void KateFileTemplates::slotOpenTemplate( const KURL &url )
if ( ! file.open( IO_ReadOnly ) )
{
KMessageBox::sorry( application()->activeMainWindow()->viewManager()->activeView(),
- i18n("<qt>Error opening the file<br><strong>%1</strong><br>for reading. The document will not be created.</qt>").tqarg(filename),
+ i18n("<qt>Error opening the file<br><strong>%1</strong><br>for reading. The document will not be created.</qt>").arg(filename),
i18n("Template Plugin"), 0 );
KIO::NetAccess::removeTempFile( tmpfile );
return;
@@ -479,7 +479,7 @@ void KateFileTemplates::slotOpenTemplate( const KURL &url )
count++;
if ( docname.contains( "%1" ) )
- docname = docname.tqarg( count );
+ docname = docname.arg( count );
doc->setDocName( docname );
@@ -795,12 +795,12 @@ KateTemplateWizard::KateTemplateWizard( TQWidget *parent, KateFileTemplates *kft
"edit the data in the KDE email information."), page ) );
cbRRealname = new TQCheckBox( i18n("Replace full name '%1' with the "
- "'%{fullname}' macro").tqarg( sFullname ), page );
+ "'%{fullname}' macro").arg( sFullname ), page );
cbRRealname->setEnabled( ! sFullname.isEmpty() );
lo->addWidget( cbRRealname );
cbREmail = new TQCheckBox( i18n("Replace email address '%1' with the "
- "'%email' macro").tqarg( sEmail ), page);
+ "'%email' macro").arg( sEmail ), page);
cbREmail->setEnabled( ! sEmail.isEmpty() );
lo->addWidget( cbREmail );
@@ -922,7 +922,7 @@ void KateTemplateWizard::accept()
if ( KMessageBox::warningContinueCancel( this, i18n(
"<p>The file <br><strong>'%1'</strong><br> already exists; if you "
"do not want to overwrite it, change the template file name to "
- "something else.").tqarg( templateUrl.prettyURL() ),
+ "something else.").arg( templateUrl.prettyURL() ),
i18n("File Exists"), i18n("Overwrite") )
== KMessageBox::Cancel )
return;
@@ -976,7 +976,7 @@ void KateTemplateWizard::accept()
{
KMessageBox::sorry( this, i18n(
"<qt>Error opening the file<br><strong>%1</strong><br>for reading. "
- "The document will not be created</qt>").tqarg(u.prettyURL()),
+ "The document will not be created</qt>").arg(u.prettyURL()),
i18n("Template Plugin"), 0 );
KIO::NetAccess::removeTempFile( tmpfile );
@@ -1055,7 +1055,7 @@ void KateTemplateWizard::accept()
{
KMessageBox::sorry( this, i18n(
"Unable to save the template to '%1'.\n\nThe template will be opened, "
- "so you can save it from the editor.").tqarg( templateUrl.prettyURL() ),
+ "so you can save it from the editor.").arg( templateUrl.prettyURL() ),
i18n("Save Failed") );
kft->application()->activeMainWindow()->viewManager()->openURL( KURL() );