From 94844816550ad672ccfcdc25659c625546239998 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:32:11 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- 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 f0fda2f0..358f5ab7 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").tqarg(col + 1); + m_colLabels << i18n("Column %1").arg(col + 1); } } // Fill row label. - m_rowLabels << i18n("Row %1").tqarg(row + 1); + m_rowLabels << i18n("Row %1").arg(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." ).tqarg( KoDocument::tagNameToDocumentType( localName ) ) ); + setErrorMessage( i18n( "This document is not a chart, but %1. Please try opening it with the appropriate application." ).arg( KoDocument::tagNameToDocumentType( localName ) ) ); return false; } -- cgit v1.2.1