diff options
Diffstat (limited to 'kig/objects/line_imp.cc')
-rw-r--r-- | kig/objects/line_imp.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kig/objects/line_imp.cc b/kig/objects/line_imp.cc index 6f5b176f..a49078a1 100644 --- a/kig/objects/line_imp.cc +++ b/kig/objects/line_imp.cc @@ -197,7 +197,7 @@ void SegmentImp::draw( KigPainter& p ) const p.drawSegment( mdata ); } -bool SegmentImp::tqcontains( const Coordinate& p, int width, const KigWidget& w ) const +bool SegmentImp::contains( const Coordinate& p, int width, const KigWidget& w ) const { return internalContainsPoint( p, w.screenInfo().normalMiss( width ) ); } @@ -207,7 +207,7 @@ void RayImp::draw( KigPainter& p ) const p.drawRay( mdata ); } -bool RayImp::tqcontains( const Coordinate& p, int width, const KigWidget& w ) const +bool RayImp::contains( const Coordinate& p, int width, const KigWidget& w ) const { return internalContainsPoint( p, w.screenInfo().normalMiss( width ) ); } @@ -217,7 +217,7 @@ void LineImp::draw( KigPainter& p ) const p.drawLine( mdata ); } -bool LineImp::tqcontains( const Coordinate& p, int width, const KigWidget& w ) const +bool LineImp::contains( const Coordinate& p, int width, const KigWidget& w ) const { return internalContainsPoint( p, w.screenInfo().normalMiss( width ) ); } @@ -507,7 +507,7 @@ const ObjectImpType* LineImp::type() const return LineImp::stype(); } -bool SegmentImp::tqcontainsPoint( const Coordinate& p, const KigDocument& ) const +bool SegmentImp::containsPoint( const Coordinate& p, const KigDocument& ) const { return internalContainsPoint( p, test_threshold ); } @@ -517,7 +517,7 @@ bool SegmentImp::internalContainsPoint( const Coordinate& p, double threshold ) return isOnSegment( p, mdata.a, mdata.b, threshold ); } -bool RayImp::tqcontainsPoint( const Coordinate& p, const KigDocument& ) const +bool RayImp::containsPoint( const Coordinate& p, const KigDocument& ) const { return internalContainsPoint( p, test_threshold ); } @@ -527,7 +527,7 @@ bool RayImp::internalContainsPoint( const Coordinate& p, double threshold ) cons return isOnRay( p, mdata.a, mdata.b, threshold ); } -bool LineImp::tqcontainsPoint( const Coordinate& p, const KigDocument& ) const +bool LineImp::containsPoint( const Coordinate& p, const KigDocument& ) const { return internalContainsPoint( p, test_threshold ); } |