summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDChartParams.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kdchart/KDChartParams.cpp')
-rw-r--r--kchart/kdchart/KDChartParams.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/kchart/kdchart/KDChartParams.cpp b/kchart/kdchart/KDChartParams.cpp
index 7306cfe0..aac8928f 100644
--- a/kchart/kdchart/KDChartParams.cpp
+++ b/kchart/kdchart/KDChartParams.cpp
@@ -518,7 +518,7 @@ void KDChartParams::setProperties( int id, KDChartPropertySet& rSet )
{
_propertySetList.setAutoDelete( true );
rSet.mOwnID = id;
- _propertySetList.tqreplace( rSet.mOwnID, rSet.clone() );
+ _propertySetList.replace( rSet.mOwnID, rSet.clone() );
}
/**
@@ -568,7 +568,7 @@ bool KDChartParams::removeProperties( int id )
*/
bool KDChartParams::properties( int id, KDChartPropertySet& rSet ) const
{
- const KDChartPropertySet* R = _propertySetList.tqfind( id );
+ const KDChartPropertySet* R = _propertySetList.find( id );
const bool bFound = (0 != R);
if( bFound )
rSet.deepCopy( R );
@@ -600,7 +600,7 @@ bool KDChartParams::properties( int id, KDChartPropertySet& rSet ) const
*/
KDChartPropertySet* KDChartParams::properties( int id )
{
- return _propertySetList.tqfind( id );
+ return _propertySetList.find( id );
}
@@ -1514,7 +1514,7 @@ KDChartParams::SourceMode KDChartParams::chartSourceMode( uint dataset,
bool bStart = true;
ModeAndChartMap::ConstIterator it;
- for( it = _dataSourceModeAndChart.tqfind( a );
+ for( it = _dataSourceModeAndChart.find( a );
( it != _dataSourceModeAndChart.end() ) && ( it.key() <= b );
++it ){
if ( bStart ) {
@@ -1860,7 +1860,7 @@ void KDChartParams::calculateShadowColors( TQColor color,
TQColor KDChartParams::dataColor( uint dataset ) const
{
uint index = dataset % (_maxDatasetColor+1);
- if( _dataColors.tqfind( index ) != _dataColors.end() )
+ if( _dataColors.find( index ) != _dataColors.end() )
return _dataColors[ index ];
else
return TQColor(); // documentation says undefined
@@ -1916,12 +1916,12 @@ TQColor KDChartParams::dataShadow1Color( uint dataset ) const
{
uint index = dataset % _maxDatasetColor;
if ( _threeDShadowColors )
- if( _dataColorsShadow1.tqfind( index ) != _dataColorsShadow1.end() )
+ if( _dataColorsShadow1.find( index ) != _dataColorsShadow1.end() )
return _dataColorsShadow1[ index ];
else
return TQColor(); // documentation says undefined
else
- if( _dataColors.tqfind( index ) != _dataColors.end() )
+ if( _dataColors.find( index ) != _dataColors.end() )
return _dataColors[ index ];
else
return TQColor(); // documentation says undefined
@@ -1945,12 +1945,12 @@ TQColor KDChartParams::dataShadow2Color( uint dataset ) const
{
uint index = dataset % _maxDatasetColor;
if ( _threeDShadowColors )
- if( _dataColorsShadow2.tqfind( index ) != _dataColorsShadow2.end() )
+ if( _dataColorsShadow2.find( index ) != _dataColorsShadow2.end() )
return _dataColorsShadow2[ index ];
else
return TQColor(); // documentation says undefined
else
- if( _dataColors.tqfind( index ) != _dataColors.end() )
+ if( _dataColors.find( index ) != _dataColors.end() )
return _dataColors[ index ];
else
return TQColor(); // documentation says undefined
@@ -2572,7 +2572,7 @@ bool KDChartParams::moveDataRegionFrame( uint oldDataRow,
)
{
const TQString oldKey( dataRegionFrameAreaName( oldDataRow, oldDataCol, 0 ) ); // oldData3rd ) );
- KDChartFrameSettings* it = _areaDict.tqfind( oldKey );
+ KDChartFrameSettings* it = _areaDict.find( oldKey );
bool bFound = ( it != 0 );
if( bFound ){
if( KDCHART_NO_DATASET != newDataRow ){
@@ -2582,7 +2582,7 @@ bool KDChartParams::moveDataRegionFrame( uint oldDataRow,
frame->setDataCol( newDataCol );
frame->setData3rd( 0 ); // newData3rd );
_areaDict.setAutoDelete( TRUE );
- _areaDict.tqreplace(
+ _areaDict.replace(
dataRegionFrameAreaName( newDataRow, newDataCol, 0 ), //data3rd 5 ),
frame );
}
@@ -2610,7 +2610,7 @@ const KDChartParams::KDChartFrameSettings* KDChartParams::frameSettings( uint ar
if( pIterIdx )
*pIterIdx = 0;
const TQString key( TQString( "%1/-----/-----/-----" ).tqarg( area, 5 ) );
- KDChartFrameSettings* it = _areaDict.tqfind( key );
+ KDChartFrameSettings* it = _areaDict.find( key );
bFound = ( it != 0 );
if( bFound )
return it;
@@ -2698,7 +2698,7 @@ uint KDChartParams::insertCustomBox( const KDChartCustomBox & box )
const uint maxIndex = maxCustomBoxIdx();
newIdx = 1 + maxIndex;
for( uint idx = 0; idx <= maxIndex; ++idx ) {
- if( ! _customBoxDict.tqfind( idx ) ) {
+ if( ! _customBoxDict.find( idx ) ) {
newIdx = idx;
_customBoxDictMayContainHoles = true; // we found a hole, so there might be more of them
break;
@@ -2758,7 +2758,7 @@ bool KDChartParams::removeCustomBox( const uint & idx )
*/
const KDChartCustomBox* KDChartParams::customBox( uint box ) const
{
- return _customBoxDict.tqfind( box );
+ return _customBoxDict.find( box );
}
/**
@@ -2776,7 +2776,7 @@ const KDChartCustomBox* KDChartParams::customBox( uint box ) const
*/
KDChartCustomBox* KDChartParams::customBoxRef( uint box )
{
- return _customBoxDict.tqfind( box );
+ return _customBoxDict.find( box );
}
/**
@@ -4685,7 +4685,7 @@ void KDChartParams::setLineMarkerStyle( uint dataset, LineMarkerStyle style )
*/
KDChartParams::LineMarkerStyle KDChartParams::lineMarkerStyle( uint dataset ) const
{
- if( _lineMarkerStyles.tqfind( dataset ) != _lineMarkerStyles.end() )
+ if( _lineMarkerStyles.find( dataset ) != _lineMarkerStyles.end() )
return _lineMarkerStyles[ dataset ];
else
return LineMarkerCircle; // default
@@ -4891,7 +4891,7 @@ Qt::PenStyle KDChartParams::lineStyle( uint dataset ) const
if( KDCHART_GLOBAL_LINE_STYLE == dataset )
// global line style
return _lineStyle;
- else if( _datasetLineStyles.tqfind( dataset ) == _datasetLineStyles.end() )
+ else if( _datasetLineStyles.find( dataset ) == _datasetLineStyles.end() )
return lineStyle();
else
return _datasetLineStyles[ dataset ];
@@ -5197,7 +5197,7 @@ void KDChartParams::setPolarMarkerStyle( uint dataset, PolarMarkerStyle style )
*/
KDChartParams::PolarMarkerStyle KDChartParams::polarMarkerStyle( uint dataset ) const
{
- if( _polarMarkerStyles.tqfind( dataset ) != _polarMarkerStyles.end() )
+ if( _polarMarkerStyles.find( dataset ) != _polarMarkerStyles.end() )
return _polarMarkerStyles[ dataset ];
else
return PolarMarkerCircle; // default
@@ -6729,7 +6729,7 @@ void KDChartParams::setBWChartPrintStatistics( BWStatVal statValue,
<li>Manual - Uses texts set with setLegendText(); if no text is set for
a dataset, the legend text will be empty.
<li>FirstColumn - Uses values from the first column, no matter what
- this tqcontains.
+ this contains.
<li>Automatic - Tries first to use values from the first column; if
this does not contain any string values, tries to use values set
manually with setLegendText(). If there are no values set manually