diff options
Diffstat (limited to 'kchart/kchart_part.cc')
-rw-r--r-- | kchart/kchart_part.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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 <kdebug.h> #include <tqdom.h> -#include <textstream.h> +#include <tqtextstream.h> #include <tqbuffer.h> #include <tqpainter.h> @@ -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; } |