diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 18:11:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-03 19:23:45 +0900 |
commit | 0bd9d5459891e6fb17ee6802878f85e217cb9f54 (patch) | |
tree | 962f6ea26d1fab041fe3476fbbd64132ab8ada1b /kchart/kdchart | |
parent | cb258b7e39ffa5662b57e7d9006e69172a378d7e (diff) | |
download | koffice-r14.1.4.tar.gz koffice-r14.1.4.zip |
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cf85b9c285a2b9baa87c9d0cb9d683b48e82a475)
Diffstat (limited to 'kchart/kdchart')
-rw-r--r-- | kchart/kdchart/KDChart.cpp | 4 | ||||
-rw-r--r-- | kchart/kdchart/KDChartAxesPainter.cpp | 14 | ||||
-rw-r--r-- | kchart/kdchart/KDChartAxisParams.cpp | 4 | ||||
-rw-r--r-- | kchart/kdchart/KDChartCustomBox.h | 14 | ||||
-rw-r--r-- | kchart/kdchart/KDChartPainter.h | 2 | ||||
-rw-r--r-- | kchart/kdchart/KDChartParams.cpp | 30 | ||||
-rw-r--r-- | kchart/kdchart/KDChartParams.h | 6 | ||||
-rw-r--r-- | kchart/kdchart/KDChartPolarPainter.cpp | 2 | ||||
-rw-r--r-- | kchart/kdchart/KDChartPropertySet.h | 84 | ||||
-rw-r--r-- | kchart/kdchart/KDChartTableBase.h | 12 |
10 files changed, 86 insertions, 86 deletions
diff --git a/kchart/kdchart/KDChart.cpp b/kchart/kdchart/KDChart.cpp index eb85bf2ea..7c2690cb5 100644 --- a/kchart/kdchart/KDChart.cpp +++ b/kchart/kdchart/KDChart.cpp @@ -260,7 +260,7 @@ void KDChart::paint( TQPainter* painter, const TQRect* rect, bool mustCalculateGeometry ) { -//tqDebug("KDChart::paint() mustCalculateGeometry: "+TQString(mustCalculateGeometry?"TRUE":"FALSE") ); +//tqDebug("KDChart::paint() mustCalculateGeometry: "+TQString(mustCalculateGeometry?"true":"false") ); #if defined KDAB_EVAL EvalDialog::checkEvalLicense( "KD Chart" ); #endif @@ -346,7 +346,7 @@ void KDChart::paint( TQPainter* painter, like the paint() method described above but additionally it takes care for the output mode flag: Before painting is started the internal optimizeOutputForScreen flag is set - to FALSE and after painting is done it is restored to + to false and after painting is done it is restored to it's previous value. \sa paint diff --git a/kchart/kdchart/KDChartAxesPainter.cpp b/kchart/kdchart/KDChartAxesPainter.cpp index e3fc93840..2058e51a0 100644 --- a/kchart/kdchart/KDChartAxesPainter.cpp +++ b/kchart/kdchart/KDChartAxesPainter.cpp @@ -692,7 +692,7 @@ void KDChartAxesPainter::paintAxes( TQPainter* painter, if(!iAxis){ tqDebug("nTxtHeight: "+TQString::number(cv.nTxtHeight)+" nRotation: "+TQString::number(nRotation)+ - " matching: "+TQString(textsMatching ? "TRUE":"FALSE")); + " matching: "+TQString(textsMatching ? "true":"false")); tqDebug("nUsableAxisHeight: %f, unitedRegions.boundingRect().height(): %i ", nUsableAxisHeight, unitedRegions.boundingRect().height()); } @@ -704,7 +704,7 @@ void KDChartAxesPainter::paintAxes( TQPainter* painter, } } else { if( nUsableAxisWidth < unitedRegions.boundingRect().width() ){ - //tqDebug("textsMatching: %s",textsMatching ? "TRUE" : "FALSE"); + //tqDebug("textsMatching: %s",textsMatching ? "true" : "false"); textsMatching = false; textsDontFitIntoArea = true; //tqDebug("too wide"); @@ -2022,7 +2022,7 @@ void KDChartAxesPainter::calculateLabelTexts( pYDelimDeltaFaktor = 1.0; pXDeltaFactor = bDecreasing ? -1.0 : 1.0; //tqDebug("\nsetting pXDeltaFactor for axis %x", axisNumber); - //tqDebug(bDecreasing ? "bDecreasing = TRUE" : "bDecreasing = FALSE"); + //tqDebug(bDecreasing ? "bDecreasing = true" : "bDecreasing = false"); //tqDebug("pXDeltaFactor = %f\n",pXDeltaFactor); } break; @@ -4105,8 +4105,8 @@ void KDChartAxesPainter::calculateAbscissaInfos( const KDChartParams& params, ? ( infos.abscissaSpan / infos.numLabels ) : infos.abscissaSpan ); - //tqDebug( bAbscissaDecreasing ? "bAbscissaDecreasing = TRUE" : "bAbscissaDecreasing = FALSE"); - //tqDebug( abscissaHasTrueAxisValues ? "abscissaHasTrueAxisValues = TRUE" : "abscissaHasTrueAxisValues = FALSE"); + //tqDebug( bAbscissaDecreasing ? "bAbscissaDecreasing = true" : "bAbscissaDecreasing = false"); + //tqDebug( abscissaHasTrueAxisValues ? "abscissaHasTrueAxisValues = true" : "abscissaHasTrueAxisValues = false"); //tqDebug( "abscissaDelta = %f", abscissaDelta); infos.bAbscissaHasTrueAxisDtValues = @@ -4217,8 +4217,8 @@ void KDChartAxesPainter::calculateAbscissaInfos( const KDChartParams& params, "\nabscissaPara: OK" : "\nabscissaPara: leer"); tqDebug(abscissaHasTrueAxisValues ? - "abscissaHasTrueAxisValues: TRUE" : - "abscissaHasTrueAxisValues: FALSE"); + "abscissaHasTrueAxisValues: true" : + "abscissaHasTrueAxisValues: false"); tqDebug("abscissaStart: %f", abscissaStart); tqDebug("abscissaEnd : %f", abscissaEnd); tqDebug("abscissaPara->trueAxisDelta(): %f", abscissaPara->trueAxisDelta()); diff --git a/kchart/kdchart/KDChartAxisParams.cpp b/kchart/kdchart/KDChartAxisParams.cpp index 559037c6c..15fbd2c33 100644 --- a/kchart/kdchart/KDChartAxisParams.cpp +++ b/kchart/kdchart/KDChartAxisParams.cpp @@ -1928,12 +1928,12 @@ void KDChartAxisParams::setAxisValues( bool axisSteadyValueCalc, the default, KD Chart just takes the value specified by you, e.g. if you specify 75003.00 as start value you will get exactly this. - By setting this flag to FALSE you let KD Chart find a better + By setting this flag to false you let KD Chart find a better value for you: if your value is not Zero the axis will start with the next value lower than your start value that can be divided by the delta factor. - \param isExactValue set this to FALSE if KD Chart shall find + \param isExactValue set this to false if KD Chart shall find a better value than the one you have specified by setAxisValueStart() \sa setAxisValues, setAxisValueEnd, setAxisValueDelta \sa axisValueStartIsExact, axisValueStart diff --git a/kchart/kdchart/KDChartCustomBox.h b/kchart/kdchart/KDChartCustomBox.h index 26e3bc981..a26bed168 100644 --- a/kchart/kdchart/KDChartCustomBox.h +++ b/kchart/kdchart/KDChartCustomBox.h @@ -159,7 +159,7 @@ public: <b>Note: </b> If greater 0, the value is taken as exact offset, if less than 0, it is interpreted as being a per-mille value of the size of the drawing area (or as percent value of the actual font size - (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is FALSE, resp.). + (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is false, resp.). Actual drawing position/size is calculated dynamically in methode trueRect. \param deltaY The Y distance between the box and its anchor. \param width The width of the box. @@ -270,13 +270,13 @@ public: <b>Note: </b> If greater 0, the value is taken as exact offset, if less than 0, it is interpreted as being a per-mille value of the width of the drawing area (or as percent value of the actual font size - (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is FALSE, resp.). + (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is false, resp.). Actual drawing position/size is calculated dynamically in method trueRect. \param deltaY The Y distance between the box and its anchor. <b>Note: </b> If greater 0, the value is taken as exact offset, if less than 0, it is interpreted as being a per-mille value of the height of the drawing area (or as percent value of the actual font size - (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is FALSE, resp.). + (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is false, resp.). Actual drawing position/size is calculated dynamically in method trueRect. \param width The width of the box. \param height The height of the box. @@ -571,7 +571,7 @@ public slots: // PENDING(blackie) merge slots sections. <b>Note: </b> If greater 0, the value is taken as exact offset, if less than 0, it is interpreted as being a per-mille value of the size of the drawing area (or as percent value of the actual font size - (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is FALSE, resp.). + (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is false, resp.). Actual drawing position/size is calculated dynamically in methode trueRect. \param deltaY The Y distance between the box and its anchor. \param width The width of the drawing region. @@ -614,7 +614,7 @@ public slots: // PENDING(blackie) merge slots sections. <b>Note: </b> If greater 0, the value is taken as exact offset, if less than 0, it is interpreted as being a per-mille value of the size of the drawing area (or as percent value of the actual font size - (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is FALSE, resp.). + (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is false, resp.). Actual drawing position/size is calculated dynamically in methode trueRect. \param deltaY The Y distance between the box and its anchor. \param align the way how the values specified for deltaX and/or deltaY @@ -838,7 +838,7 @@ public slots: // PENDING(blackie) merge slots sections. <b>Note: </b> If greater 0, the value is taken as exact offset, if less than 0, it is interpreted as being a per-mille value of the size of the drawing area (or as percent value of the actual font size - (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is FALSE, resp.). + (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is false, resp.). Actual drawing position/size is calculated dynamically in methode trueRect. \sa deltaY, deltaAlign, deltaScaleGlobal @@ -853,7 +853,7 @@ public slots: // PENDING(blackie) merge slots sections. <b>Note: </b> If greater 0, the value is taken as exact offset, if less than 0, it is interpreted as being a per-mille value of the size of the drawing area (or as percent value of the actual font size - (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is FALSE, resp.). + (as returned by TQFontMetrics::lineSpacing() ) if deltaScaleGlobal is false, resp.). Actual drawing position/size is calculated dynamically in methode trueRect. \sa deltaX, deltaAlign, deltaScaleGlobal diff --git a/kchart/kdchart/KDChartPainter.h b/kchart/kdchart/KDChartPainter.h index cb4530797..642569b5f 100644 --- a/kchart/kdchart/KDChartPainter.h +++ b/kchart/kdchart/KDChartPainter.h @@ -241,7 +241,7 @@ class KDCHART_EXPORT KDChartPainter const KDChartAxisParams* ordinatePara, const double areaWidthP1000, const double areaHeightP1000, - bool bDrawInFront = FALSE ); + bool bDrawInFront = false ); static KDChartDataRegion* drawMarker( TQPainter* painter, const KDChartParams* params, diff --git a/kchart/kdchart/KDChartParams.cpp b/kchart/kdchart/KDChartParams.cpp index aa2090e29..6182522b8 100644 --- a/kchart/kdchart/KDChartParams.cpp +++ b/kchart/kdchart/KDChartParams.cpp @@ -500,8 +500,8 @@ int KDChartParams::registerProperties( KDChartPropertySet& rSet ) in general it is better to use the registerProperties function to initially obtain a unique ID number for your new property set. - \returns TRUE if the property set had been stored before, - or FALSE if the set was now stored initially. + \returns true if the property set had been stored before, + or false if the set was now stored initially. \sa KDCHART_PROPSET_TRANSPARENT_DATA \sa KDCHART_PROPSET_HORI_LINE, KDCHART_PROPSET_VERT_LINE @@ -523,7 +523,7 @@ void KDChartParams::setProperties( int id, KDChartPropertySet& rSet ) function calls using KDCHART_PROPSET_NORMAL_DATA as ID will be ignored. - \returns TRUE if the property set was found and removed, or FALSE + \returns true if the property set was found and removed, or false if the set was not found or KDCHART_PROPSET_NORMAL_DATA was specified as ID value. @@ -555,7 +555,7 @@ bool KDChartParams::removeProperties( int id ) stored therein. To change a stored property set you may use the setProperties() function. - \returns TRUE if the property set was found, FALSE + \returns true if the property set was found, false if it no property set was registred with this ID. \sa registerProperties, KDChartData::setPropertySet @@ -610,7 +610,7 @@ KDChartPropertySet* KDChartParams::properties( int id ) Don't use this function to retrieve the exact specification of a property set but use KDChartParams::properties() instead. - \returns TRUE if the property set was found, FALSE + \returns true if the property set was found, false if it no property set was registred with this ID. \sa registerProperties, KDChartData::setPropertySet @@ -2255,7 +2255,7 @@ void KDChartParams::activateDefaultAxes() screen output or whether other routines should be used to obtain best quality when using a printer. - \note The default of this flag is TRUE, so make sure to deactivate + \note The default of this flag is true, so make sure to deactivate it before painting your KDChart onto a TQPrinter device! \note This setting is NOT stored together with the other parameters, @@ -2553,9 +2553,9 @@ void KDChartParams::setGlobalLeading( int left, int top, int right, int bottom ) \param newData3rd The third table coordinate of the new cell (parameter not used, its value will be ignored, set to 0, reserved for future use). \note Using KDCHART_NO_DATASET for the newDataRow parameter will not - result in returning FALSE because it is an allowed action: the frame is just removed then. + result in returning false because it is an allowed action: the frame is just removed then. - \return TRUE if the frame could be moved or was removed; FALSE if either there was no frame around the old cell or the target cell does not exist. + \return true if the frame could be moved or was removed; false if either there was no frame around the old cell or the target cell does not exist. */ bool KDChartParams::moveDataRegionFrame( uint oldDataRow, uint oldDataCol, @@ -2575,7 +2575,7 @@ bool KDChartParams::moveDataRegionFrame( uint oldDataRow, frame->setDataRow( newDataRow ); frame->setDataCol( newDataCol ); frame->setData3rd( 0 ); // newData3rd ); - _areaDict.setAutoDelete( TRUE ); + _areaDict.setAutoDelete( true ); _areaDict.replace( dataRegionFrameAreaName( newDataRow, newDataCol, 0 ), //data3rd 5 ), frame ); @@ -3226,7 +3226,7 @@ void KDChartParams::setAdditionalChartType( ChartType chartType ) Specifies whether a data value text may be drawn even if it's region intersects with another data value text's region. - By default this is FALSE to prevent ugly mutual overwriting of + By default this is false to prevent ugly mutual overwriting of data value texts and to speed up drawing of cahrts containing thousands of data points. */ @@ -3238,7 +3238,7 @@ void KDChartParams::setAdditionalChartType( ChartType chartType ) Returns whether a data value text may be drawn even if it's region intersects with another data value text's region. - By default this is FALSE to prevent ugly mutual overwriting of data + By default this is false to prevent ugly mutual overwriting of data value texts and to speed up drawing of cahrts containing thousands of data points. */ @@ -8509,7 +8509,7 @@ int KDChartParams::headerFooterFontRelSize( uint pos ) const Stores whether a data value may be drawn near it's respective entry even if it's region intersects with another data value text's region. - By default this is FALSE to prevent ugly mutual overwriting of data + By default this is false to prevent ugly mutual overwriting of data value texts and to speed up drawing of cahrts containing thousands of data points. */ @@ -9153,9 +9153,9 @@ int KDChartParams::headerFooterFontRelSize( uint pos ) const your custom box will become the default axis title text box: you then can access/modify its properties using these convenience functions. - \return TRUE if a KDChartCustomBox was found that is anchored to axis \c n. + \return true if a KDChartCustomBox was found that is anchored to axis \c n. \param n the axis number, this could be KDChartAxisParams::AxisPosLeft or KDChartAxisParams::AxisPosBottom... - \param boxID will obtain the respective KDChartCustomBox's ID if return value is TRUE, otherwise the parameter's value remains unchanged. + \param boxID will obtain the respective KDChartCustomBox's ID if return value is true, otherwise the parameter's value remains unchanged. \sa setAxisTitle, setAxisTitleColor, setAxisTitleFont, setAxisTitleFontUseRelSize, setAxisTitleFontRelSize */ bool KDChartParams::findFirstAxisCustomBoxID( uint n, uint& boxID ) const @@ -9510,7 +9510,7 @@ bool KDChartParams::axisTitleFontUseRelSize( uint n ) const /** Specifies whether a relative size to be used for the default axis title text instead of the fixed size of the font. - Calling this function implicitely sets this axis's \c axisTitleFontUseRelSize flag to TRUE. + Calling this function implicitely sets this axis's \c axisTitleFontUseRelSize flag to true. \param axisTitleFontRelSize the size to be used, this is interpreted as per mil value of the printable area size. \sa setAxisTitle, setAxisTitleColor,setAxisTitleFont, setAxisTitleFontUseRelSize diff --git a/kchart/kdchart/KDChartParams.h b/kchart/kdchart/KDChartParams.h index f44c887df..8d8b094ad 100644 --- a/kchart/kdchart/KDChartParams.h +++ b/kchart/kdchart/KDChartParams.h @@ -388,7 +388,7 @@ public slots: bool addFrameWidthToLayout = true, bool addFrameHeightToLayout = true ) { - _areaDict.setAutoDelete( TRUE ); + _areaDict.setAutoDelete( true ); _areaDict.replace( TQString( "%1/-----/-----/-----" ).arg( area, 5 ), new KDChartFrameSettings(0,0,0, frame, @@ -420,7 +420,7 @@ public slots: int shadowWidth = 0, KDFrame::CornerName sunPos = KDFrame::CornerTopLeft ) { - _areaDict.setAutoDelete( TRUE ); + _areaDict.setAutoDelete( true ); KDFrame frame( TQRect(0,0,0,0), simpleFrame, lineWidth, @@ -461,7 +461,7 @@ public slots: int shadowWidth = 0, KDFrame::CornerName sunPos = KDFrame::CornerTopLeft ) { - _areaDict.setAutoDelete( TRUE ); + _areaDict.setAutoDelete( true ); KDFrame frame( TQRect(0,0,0,0), simpleFrame, lineWidth, diff --git a/kchart/kdchart/KDChartPolarPainter.cpp b/kchart/kdchart/KDChartPolarPainter.cpp index 5bcd621f3..0c7cfc84e 100644 --- a/kchart/kdchart/KDChartPolarPainter.cpp +++ b/kchart/kdchart/KDChartPolarPainter.cpp @@ -254,7 +254,7 @@ void KDChartPolarPainter::paintData( TQPainter* painter, // calculate font size actFont = paraCircular.axisLabelsFont(); if ( paraCircular.axisLabelsFontUseRelSize() ) { -//tqDebug("paraCircular.axisLabelsFontUseRelSize() is TRUE"); +//tqDebug("paraCircular.axisLabelsFontUseRelSize() is true"); actFont.setPointSizeFloat( nTxtHeight ); } TQFontMetrics fm( actFont ); diff --git a/kchart/kdchart/KDChartPropertySet.h b/kchart/kdchart/KDChartPropertySet.h index 63c9d7f09..1f3921f02 100644 --- a/kchart/kdchart/KDChartPropertySet.h +++ b/kchart/kdchart/KDChartPropertySet.h @@ -187,7 +187,7 @@ class KDCHART_EXPORT KDChartPropertySet :public TQObject after calling \c load() if you want to use the loaded property set in the context of KDChartParam settings. - \returns TRUE if the property set could be read. + \returns true if the property set could be read. \sa id, saveXLM */ @@ -252,13 +252,13 @@ public slots: \note This function should be used for Bar Charts only, otherwise the settings specified here will be ignored. - \returns TRUE if this property set is specifying it's own showBar flag, - FALSE if the settings of another property set are to be used instead. + \returns true if this property set is specifying it's own showBar flag, + false if the settings of another property set are to be used instead. - \note The return value will also be FALSE if the 'default' properties + \note The return value will also be false if the 'default' properties are to be used: in this case idShowBar will be KDChartParams::NormalData - \param idShowBar to be ignored if return value is TRUE. + \param idShowBar to be ignored if return value is true. If idShowBar is KDChartPropertySet::UndefinedID then neither a property set ID nor an own flag were specified (so no special @@ -266,10 +266,10 @@ public slots: respective data cell), else idShowBar contains the ID of another property set that is specifying the flag to be used. - \param showBar this parameter's value is not modified if return value is FALSE. + \param showBar this parameter's value is not modified if return value is false. Parameter showBar contains the showBar flag associated with the respective data cell. - If return value is FALSE the showBar + If return value is false the showBar flag is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated @@ -324,23 +324,23 @@ public slots: \note This function should be used for Bar Charts only, otherwise the settings specified here will be ignored. - \returns TRUE if this property set is specifying it's own bar color settings, - FALSE if the settings of another property set are to be used instead. + \returns true if this property set is specifying it's own bar color settings, + false if the settings of another property set are to be used instead. - \note The return value will also be FALSE if the 'default' properties + \note The return value will also be false if the 'default' properties are to be used: in this case idBarColor will be KDChartParams::NormalData - \param idBarColor to be ignored if return value is TRUE. + \param idBarColor to be ignored if return value is true. If idBarColor is KDChartPropertySet::UndefinedID then neither a property set ID nor an own bar color were specified (so no special Bar color is associated to the respective data cell), else idBarColor contains the ID of another property set that is specifying the Bar color to be used. - \param barColor this parameter's value is not modified if return value is FALSE. + \param barColor this parameter's value is not modified if return value is false. Parameter barColor contains the bar color value associated with the respective data cell. - If return value is FALSE the barColor + If return value is false the barColor value is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated @@ -394,20 +394,20 @@ public slots: \note This function should be used for Line Charts only. - \returns TRUE if this property set is specifying it's own line width settings, - FALSE if the settings of another property set are to be used instead. + \returns true if this property set is specifying it's own line width settings, + false if the settings of another property set are to be used instead. - \param idLineWidth to be ignored if return value is TRUE. + \param idLineWidth to be ignored if return value is true. If idLineWidth is KDChartPropertySet::UndefinedID then neither a property set ID nor an own line width were specified (so no special line width is associated to the respective data cell), else idLineWidth contains the ID of another property set that is specifying the line width to be used. - \param lineWidth this parameter's value is not modified if return value is FALSE. + \param lineWidth this parameter's value is not modified if return value is false. Parameter lineWidth contains the line width value associated with the respective data cell. - If return value is FALSE the lineWidth + If return value is false the lineWidth value is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated @@ -462,23 +462,23 @@ public slots: \note This function should be used for Line Charts only, otherwise the settings specified here will be ignored. - \returns TRUE if this property set is specifying it's own line color settings, - FALSE if the settings of another property set are to be used instead. + \returns true if this property set is specifying it's own line color settings, + false if the settings of another property set are to be used instead. - \note The return value will also be FALSE if the 'default' properties + \note The return value will also be false if the 'default' properties are to be used: in this case idLineColor will be KDChartParams::NormalData - \param idLineColor to be ignored if return value is TRUE. + \param idLineColor to be ignored if return value is true. If idLineColor is KDChartPropertySet::UndefinedID then neither a property set ID nor an own line color were specified (so no special line color is associated to the respective data cell), else idLineColor contains the ID of another property set that is specifying the line color to be used. - \param lineColor this parameter's value is not modified if return value is FALSE. + \param lineColor this parameter's value is not modified if return value is false. Parameter lineColor contains the line color value associated with the respective data cell. - If return value is FALSE the lineColor + If return value is false the lineColor value is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated @@ -533,23 +533,23 @@ public slots: \note This function should be used for Line Charts only, otherwise the settings specified here will be ignored. - \returns TRUE if this property set is specifying it's own line style settings, - FALSE if the settings of another property set are to be used instead. + \returns true if this property set is specifying it's own line style settings, + false if the settings of another property set are to be used instead. - \note The return value will also be FALSE if the 'default' properties + \note The return value will also be false if the 'default' properties are to be used: in this case idLineStyle will be KDChartParams::NormalData - \param idLineStyle to be ignored if return value is TRUE. + \param idLineStyle to be ignored if return value is true. If idLineStyle is KDChartPropertySet::UndefinedID then neither a property set ID nor an own line style were specified (so no special line style is associated to the respective data cell), else idLineStyle contains the ID of another property set that is specifying the line style to be used. - \param lineStyle this parameter's value is not modified if return value is FALSE. + \param lineStyle this parameter's value is not modified if return value is false. Parameter lineStyle contains the line style value associated with the respective data cell. - If return value is FALSE the lineStyle + If return value is false the lineStyle value is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated @@ -605,23 +605,23 @@ public slots: \note This function should be used for Area Charts in <b>Normal</b> mode only, otherwise the settings specified here will be ignored. - \returns TRUE if this property set is specifying it's own area brush settings, - FALSE if the settings of another property set are to be used instead. + \returns true if this property set is specifying it's own area brush settings, + false if the settings of another property set are to be used instead. - \note The return value will also be FALSE if the 'default' properties + \note The return value will also be false if the 'default' properties are to be used: in this case idAreaBrush will be KDChartParams::NormalData - \param idAreaBrush to be ignored if return value is TRUE. + \param idAreaBrush to be ignored if return value is true. If idAreaBrush is KDChartPropertySet::UndefinedID then neither a property set ID nor an own area brush were specified (so no special area brush is associated to the respective data cell), else idAreaBrush contains the ID of another property set that is specifying the area brush to be used. - \param areaBrush this parameter's value is not modified if return value is FALSE. + \param areaBrush this parameter's value is not modified if return value is false. Parameter areaBrush contains the area brush value associated with the respective data cell. - If return value is FALSE the areaBrush + If return value is false the areaBrush value is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated @@ -682,13 +682,13 @@ public slots: \note This function should be used for Line Charts only, otherwise the settings specified here will be ignored. - \returns TRUE if this property set is specifying it's own showMarker flag, - FALSE if the settings of another property set are to be used instead. + \returns true if this property set is specifying it's own showMarker flag, + false if the settings of another property set are to be used instead. - \note The return value will also be FALSE if the 'default' properties + \note The return value will also be false if the 'default' properties are to be used: in this case idShowMarker will be KDChartParams::NormalData - \param idShowMarker to be ignored if return value is TRUE. + \param idShowMarker to be ignored if return value is true. If idShowMarker is KDChartPropertySet::UndefinedID then neither a property set ID nor an own flag were specified (so no special @@ -696,10 +696,10 @@ public slots: respective data cell), else idShowMarker contains the ID of another property set that is specifying the flag to be used. - \param showMarker this parameter's value is not modified if return value is FALSE. + \param showMarker this parameter's value is not modified if return value is false. Parameter showMarker contains the showMarker flag associated with the respective data cell. - If return value is FALSE the showMarker + If return value is false the showMarker flag is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated diff --git a/kchart/kdchart/KDChartTableBase.h b/kchart/kdchart/KDChartTableBase.h index fd3c41de9..e0b16b896 100644 --- a/kchart/kdchart/KDChartTableBase.h +++ b/kchart/kdchart/KDChartTableBase.h @@ -187,7 +187,7 @@ public slots: \param coordinate the number of the coordinate to be retrieved, normally 1 is the Y value and 2 is the X value. - \returns TRUE if the row and col are addressing a cell in the table. + \returns true if the row and col are addressing a cell in the table. \sa cellCoords, cellProp, cellContent, cellVal, setCell, setProp */ @@ -232,7 +232,7 @@ const double xVal = data.cellVal( r, c, 2 ).toDouble(); \endverbatim \param _prop the property set ID of the cell to be retrieved. - \returns TRUE if the row and col are addressing a cell in the table. + \returns true if the row and col are addressing a cell in the table. \sa cellCoord, cellCoords, cellContent, setCell, setProp */ @@ -373,7 +373,7 @@ const double xVal = data.cellVal( r, c, 2 ).toDouble(); \endverbatim special value KDCHART_POS_INFINITE to indicate positive infinite values - \returns TRUE if the value given is a positive infinite value. + \returns true if the value given is a positive infinite value. */ virtual bool isPosInfinite( double value ) const { @@ -389,7 +389,7 @@ const double xVal = data.cellVal( r, c, 2 ).toDouble(); \endverbatim special value KDCHART_NEG_INFINITE to indicate negative infinite values - \returns TRUE if the value given is a negative infinite value. + \returns true if the value given is a negative infinite value. */ virtual bool isNegInfinite( double value ) const { @@ -406,7 +406,7 @@ const double xVal = data.cellVal( r, c, 2 ).toDouble(); \endverbatim \note To improve runtime speed this virtual function may be reimplemented by classes derived from KDChartTableDataBase. - \returns TRUE if the value given is neither positive infinite nor negativr infinite. + \returns true if the value given is neither positive infinite nor negativr infinite. */ virtual bool isNormalDouble( double value ) const { @@ -423,7 +423,7 @@ const double xVal = data.cellVal( r, c, 2 ).toDouble(); \endverbatim \param value The TQVariant value to be tested and converted. \param dVal Points to the double variable to be filled with the converted value. - \returns TRUE if the value given is neither positive infinite nor negative + \returns true if the value given is neither positive infinite nor negative infinite, \c value is set to the converted value if the type of \c value is TQVariant::Double, otherwise it is not modified. */ |