diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:56:31 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:56:31 -0600 |
commit | c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch) | |
tree | 1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kchart/kdchart/KDChartPainter.cpp | |
parent | 94844816550ad672ccfcdc25659c625546239998 (diff) | |
download | koffice-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/kdchart/KDChartPainter.cpp')
-rw-r--r-- | kchart/kdchart/KDChartPainter.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kchart/kdchart/KDChartPainter.cpp b/kchart/kdchart/KDChartPainter.cpp index 849d2b29..156d5d82 100644 --- a/kchart/kdchart/KDChartPainter.cpp +++ b/kchart/kdchart/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 ); |