From 1f9d00360b9018301630ce062d7dda0c6583edfb Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:17 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 252fce5a2a5384702fbcc1c9987284d7bd2e6943. --- libkdchart/KDChartPainter.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'libkdchart/KDChartPainter.cpp') diff --git a/libkdchart/KDChartPainter.cpp b/libkdchart/KDChartPainter.cpp index 849d2b2..156d5d8 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 - // geometry yet since we do not know the size of the painter. + // tqgeometry yet since we do not know the size of the painter. } /** @@ -657,7 +657,7 @@ void KDChartPainter::paintDataValues( TQPainter* painter, } if ( rotation ) { - anchor = painter->worldMatrix().map( anchor ); + anchor = painter->tqworldMatrix().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->worldMatrix().map( anchor ); + //anchor = painter->tqworldMatrix().map( anchor ); if( allowOverlapping ) { drawThisOne = true; @@ -850,7 +850,7 @@ void KDChartPainter::paintDataValues( TQPainter* painter, /* NOTE: The following will be REMOVED again once -the layout policy feature is implemented !!! +the tqlayout 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 alignment is allowed. + // aligned to a 3rd box and so on) but NO CIRCULAR tqalignment 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 alignment flags used here match the rect calculation + // Note: The tqalignment 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 alignment with the X axis, we adjust the Y axis - but not for Area Charts: + // for micro tqalignment 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 - geometry have been changed. It will compute the appropriate + tqgeometry 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 geometry that should be suitable for most chart + standard tqgeometry 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 repaint() being called due to params() changed signals... + // avoid recursion from tqrepaint() being called due to params() changed signals... const bool oldBlockSignalsState = params()->signalsBlocked(); const_cast < KDChartParams* > ( params() )->blockSignals( true ); -- cgit v1.2.1