diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
tree | e35fc60fd736c645d59f6408af032774ad8023d3 /kchart/kchart_part.cc | |
parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip |
Rename a number of old tq methods that are no longer tq specific
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 f0fda2f0..358f5ab7 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 <tqtextstream.h> +#include <textstream.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").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; } |