diff options
Diffstat (limited to 'kig/objects/other_imp.cc')
-rw-r--r-- | kig/objects/other_imp.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kig/objects/other_imp.cc b/kig/objects/other_imp.cc index 137a3e93..66da40a9 100644 --- a/kig/objects/other_imp.cc +++ b/kig/objects/other_imp.cc @@ -56,7 +56,7 @@ AngleImp::AngleImp( const Coordinate& pt, double start_angle_in_radials, { } -bool AngleImp::contains( const Coordinate& p, int width, const KigWidget& w ) const +bool AngleImp::tqcontains( const Coordinate& p, int width, const KigWidget& w ) const { double radius = 50*w.screenInfo().pixelWidth(); @@ -73,7 +73,7 @@ bool AngleImp::contains( const Coordinate& p, int width, const KigWidget& w ) co bool AngleImp::inRect( const Rect& r, int width, const KigWidget& w ) const { // TODO ? - return r.contains( mpoint, w.screenInfo().normalMiss( width ) ); + return r.tqcontains( mpoint, w.screenInfo().normalMiss( width ) ); } Coordinate AngleImp::attachPoint() const @@ -179,7 +179,7 @@ void VectorImp::draw( KigPainter& p ) const p.drawVector( mdata.a, mdata.b ); } -bool VectorImp::contains( const Coordinate& o, int width, const KigWidget& w ) const +bool VectorImp::tqcontains( const Coordinate& o, int width, const KigWidget& w ) const { return internalContainsPoint( o, w.screenInfo().normalMiss( width ) ); } @@ -340,7 +340,7 @@ void ArcImp::draw( KigPainter& p ) const p.drawArc( mcenter, mradius, msa, ma ); } -bool ArcImp::contains( const Coordinate& p, int width, const KigWidget& w ) const +bool ArcImp::tqcontains( const Coordinate& p, int width, const KigWidget& w ) const { return internalContainsPoint( p, w.screenInfo().normalMiss( width ) ); } |