From c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:31 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 94844816550ad672ccfcdc25659c625546239998. --- kchart/kchart_part.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kchart/kchart_part.cc') diff --git a/kchart/kchart_part.cc b/kchart/kchart_part.cc index 358f5ab7..f0fda2f0 100644 --- a/kchart/kchart_part.cc +++ b/kchart/kchart_part.cc @@ -30,7 +30,7 @@ using std::cerr; #include #include -#include +#include #include #include @@ -225,12 +225,12 @@ void KChartPart::generateBarChartTemplate() // Fill column label, but only on the first iteration. if (row == 0) { - m_colLabels << i18n("Column %1").arg(col + 1); + m_colLabels << i18n("Column %1").tqarg(col + 1); } } // Fill row label. - m_rowLabels << i18n("Row %1").arg(row + 1); + m_rowLabels << i18n("Row %1").tqarg(row + 1); } } @@ -994,7 +994,7 @@ bool KChartPart::loadOasis( const TQDomDocument& doc, if ( localName.isEmpty() ) setErrorMessage( i18n( "Invalid OASIS OpenDocument file. No tag found inside office:body." ) ); else - setErrorMessage( i18n( "This document is not a chart, but %1. Please try opening it with the appropriate application." ).arg( KoDocument::tagNameToDocumentType( localName ) ) ); + setErrorMessage( i18n( "This document is not a chart, but %1. Please try opening it with the appropriate application." ).tqarg( KoDocument::tagNameToDocumentType( localName ) ) ); return false; } -- cgit v1.2.1