summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDChartWidget.cpp')
-rw-r--r--libkdchart/KDChartWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkdchart/KDChartWidget.cpp b/libkdchart/KDChartWidget.cpp
index 00e4a45..c3e42b8 100644
--- a/libkdchart/KDChartWidget.cpp
+++ b/libkdchart/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() );