diff options
Diffstat (limited to 'kchart/kdchart/KDChartWidget.cpp')
-rw-r--r-- | kchart/kdchart/KDChartWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kchart/kdchart/KDChartWidget.cpp b/kchart/kdchart/KDChartWidget.cpp index 00e4a45c..c3e42b8b 100644 --- a/kchart/kdchart/KDChartWidget.cpp +++ b/kchart/kdchart/KDChartWidget.cpp @@ -168,7 +168,7 @@ void KDChartWidget::mousePressEvent( TQMouseEvent* event ) //TQPtrListIterator < KDChartDataRegion > it( _dataRegions ); for( current = _dataRegions.last(); current; current = _dataRegions.prev() ){ //while ( ( current = it.current() ) ) { - if ( current->tqcontains( event->pos() ) ) { + if ( current->contains( event->pos() ) ) { _mousePressedOnRegion = current; if ( event->button() == Qt::LeftButton ){ emit dataLeftPressed( current->row, current->col ); @@ -198,7 +198,7 @@ void KDChartWidget::mouseReleaseEvent( TQMouseEvent* event ) TQPtrListIterator < KDChartDataRegion > it( _dataRegions ); while ( ( current = it.current() ) ) { ++it; - if ( current->tqcontains( event->pos() ) ) { + if ( current->contains( event->pos() ) ) { if ( event->button() == Qt::LeftButton ) { emit dataLeftReleased( current->row, current->col ); emit dataLeftReleased( event->pos() ); |