summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartPainter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:01 -0600
commit252fce5a2a5384702fbcc1c9987284d7bd2e6943 (patch)
treed5768ff1e9065f29bec60c94d31880b38b4e82f2 /libkdchart/KDChartPainter.cpp
parent69ef6c4beaa37474a2170d0bfe842de647f53102 (diff)
downloadkmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.tar.gz
kmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'libkdchart/KDChartPainter.cpp')
-rw-r--r--libkdchart/KDChartPainter.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkdchart/KDChartPainter.cpp b/libkdchart/KDChartPainter.cpp
index 156d5d8..849d2b2 100644
--- a/libkdchart/KDChartPainter.cpp
+++ b/libkdchart/KDChartPainter.cpp
@@ -103,7 +103,7 @@ _legendTitleWidth( 0 ),
_legendTitleMetricsHeight( 0 )
{
// This constructor intentionally left blank so far; we cannot setup the
- // tqgeometry yet since we do not know the size of the painter.
+ // geometry yet since we do not know the size of the painter.
}
/**
@@ -657,7 +657,7 @@ void KDChartPainter::paintDataValues( TQPainter* painter,
}
if ( rotation ) {
- anchor = painter->tqworldMatrix().map( anchor );
+ anchor = painter->worldMatrix().map( anchor );
// Temporary solution for fixing the data labels size
// bug when in TQPrinter::HighResolution mode:
@@ -707,7 +707,7 @@ void KDChartPainter::paintDataValues( TQPainter* painter,
true,
true,
5 );
- //anchor = painter->tqworldMatrix().map( anchor );
+ //anchor = painter->worldMatrix().map( anchor );
if( allowOverlapping ) {
drawThisOne = true;
@@ -850,7 +850,7 @@ void KDChartPainter::paintDataValues( TQPainter* painter,
/*
NOTE: The following will be REMOVED again once
-the tqlayout policy feature is implemented !!!
+the layout policy feature is implemented !!!
*/
TQRect textRect( region->pTextRegion->boundingRect() );
@@ -979,7 +979,7 @@ TQPoint KDChartPainter::calculateAnchor( const KDChartCustomBox & box,
// Rule:
//
// A box may be aligned to another box (and the 2nd box may again be
- // aligned to a 3rd box and so on) but NO CIRCULAR tqalignment is allowed.
+ // aligned to a 3rd box and so on) but NO CIRCULAR alignment is allowed.
//
if( !box.anchorBeingCalculated() ) {
@@ -1650,7 +1650,7 @@ void KDChartPainter::paintHeaderFooter( TQPainter* painter,
params()->headerFooterFontRelSize( iHdFt ) * averageValueP1000 ) );
painter->setPen( params()->headerFooterColor( iHdFt ) );
painter->setFont( actFont );
- // Note: The tqalignment flags used here match the rect calculation
+ // Note: The alignment flags used here match the rect calculation
// done in KDChartPainter::setupGeometry().
// AlignTop is done to ensure that the hd/ft texts of the same
// group (e.g. Hd2L and Hd2 and Hd2R) have the same baselines.
@@ -2063,7 +2063,7 @@ void KDChartPainter::calculateAllAxesRects(
int nAxesBottom = TQMAX( nAxesBottom0 + nAxesBottomADD, nMinDistance );
- // for micro tqalignment with the X axis, we adjust the Y axis - but not for Area Charts:
+ // for micro alignment with the X axis, we adjust the Y axis - but not for Area Charts:
// otherwise the areas drawn would overwrite the Y axis line.
int nAxesLeft = TQMAX( nAxesLeft0 + nAxesLeftADD, nMinDistance )
- (bIsAreaChart ? 0 : 1);
@@ -2143,10 +2143,10 @@ void KDChartPainter::calculateAllAxesRects(
/**
This method will be called whenever any parameters that affect
- tqgeometry have been changed. It will compute the appropriate
+ geometry have been changed. It will compute the appropriate
positions for the various parts of the chart (legend, axes, data
area etc.). The implementation in KDChartPainter computes a
- standard tqgeometry that should be suitable for most chart
+ standard geometry that should be suitable for most chart
types. Subclasses can provide their own implementations.
\param data the data that will be displayed as a chart
@@ -2158,7 +2158,7 @@ void KDChartPainter::setupGeometry( TQPainter* painter,
const TQRect& drawRect )
{
//qDebug("INVOKING: KDChartPainter::setupGeometry()");
- // avoid recursion from tqrepaint() being called due to params() changed signals...
+ // avoid recursion from repaint() being called due to params() changed signals...
const bool oldBlockSignalsState = params()->signalsBlocked();
const_cast < KDChartParams* > ( params() )->blockSignals( true );