summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartDataRegion.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDChartDataRegion.h')
-rw-r--r--libkdchart/KDChartDataRegion.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libkdchart/KDChartDataRegion.h b/libkdchart/KDChartDataRegion.h
index 1379043..c86d0bd 100644
--- a/libkdchart/KDChartDataRegion.h
+++ b/libkdchart/KDChartDataRegion.h
@@ -137,23 +137,23 @@ struct KDCHART_EXPORT KDChartDataRegion
return TQRect();
}
- bool tqcontains(const TQPoint & p) const
+ bool contains(const TQPoint & p) const
{
if( pPointArrayList && ! pPointArrayList->empty() ){
PointArrayList::iterator it;
for ( it = pPointArrayList->begin(); it != pPointArrayList->end(); ++it ){
TQRegion region( *it );
- if( region.tqcontains( p ) )
+ if( region.contains( p ) )
return true;
}
return false;
}
if( pRegion )
- return pRegion->tqcontains( p );
+ return pRegion->contains( p );
if( pArray )
- return TQRegion( *pArray ).tqcontains( p );
+ return TQRegion( *pArray ).contains( p );
if( pRect )
- return pRect->tqcontains( p );
+ return pRect->contains( p );
return false;
}