diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (patch) | |
tree | 6a288b084438ed144c0fbd4a34a9a22caf4d6b04 /libkdchart/KDChartDataRegion.h | |
parent | 154e6e6105157c321cbd578d238c525da419f868 (diff) | |
download | kmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.tar.gz kmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdchart/KDChartDataRegion.h')
-rw-r--r-- | libkdchart/KDChartDataRegion.h | 10 |
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; } |