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/kdchart/KDChartPainter.cpp | |
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/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 156d5d82..849d2b29 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 - // 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 ); |