diff options
Diffstat (limited to 'karbon/widgets')
-rw-r--r-- | karbon/widgets/vgradientwidget.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/karbon/widgets/vgradientwidget.cc b/karbon/widgets/vgradientwidget.cc index 49410a35..49d7f053 100644 --- a/karbon/widgets/vgradientwidget.cc +++ b/karbon/widgets/vgradientwidget.cc @@ -174,7 +174,7 @@ void VGradientWidget::paintEvent( TQPaintEvent* ) void VGradientWidget::mousePressEvent( TQMouseEvent* e ) { - if( ! m_pntArea.tqcontains( e->x(), e->y() ) ) + if( ! m_pntArea.contains( e->x(), e->y() ) ) return; TQPtrList<VColorStop>& colorStops = m_gradient->m_colorStops; @@ -217,7 +217,7 @@ void VGradientWidget::mouseReleaseEvent( TQMouseEvent* e ) { if( e->button() == Qt::RightButton && currentPoint ) { - if( m_pntArea.tqcontains( e->x(), e->y() ) && ( currentPoint % 2 == 1 ) ) + if( m_pntArea.contains( e->x(), e->y() ) && ( currentPoint % 2 == 1 ) ) { int x = e->x() - m_pntArea.left(); // check if we are still above the actual ramp point @@ -235,7 +235,7 @@ void VGradientWidget::mouseReleaseEvent( TQMouseEvent* e ) void VGradientWidget::mouseDoubleClickEvent( TQMouseEvent* e ) { - if( ! m_pntArea.tqcontains( e->x(), e->y() ) ) + if( ! m_pntArea.contains( e->x(), e->y() ) ) return; if( e->button() != Qt::LeftButton ) |