summaryrefslogtreecommitdiffstats
path: root/kchart/kchart_part.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kchart/kchart_part.cc
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kchart/kchart_part.cc')
-rw-r--r--kchart/kchart_part.cc8
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;
}