summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartWidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 21:02:02 +0900
commit96c67c9b3924ab034d3d34aa03d3ea7cf0746587 (patch)
tree7023c36a5f1592f5b11733ab574176f3970c0eb8 /libkdchart/KDChartWidget.cpp
parentecdc0343d446e810e477e8924e846de7f3313c55 (diff)
downloadkmymoney-96c67c9b3924ab034d3d34aa03d3ea7cf0746587.tar.gz
kmymoney-96c67c9b3924ab034d3d34aa03d3ea7cf0746587.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkdchart/KDChartWidget.cpp')
-rw-r--r--libkdchart/KDChartWidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkdchart/KDChartWidget.cpp b/libkdchart/KDChartWidget.cpp
index 0424e7e..96f1c6e 100644
--- a/libkdchart/KDChartWidget.cpp
+++ b/libkdchart/KDChartWidget.cpp
@@ -175,10 +175,10 @@ void KDChartWidget::mousePressEvent( TQMouseEvent* event )
//while ( ( current = it.current() ) ) {
if ( current->contains( event->pos() ) ) {
_mousePressedOnRegion = current;
- if ( event->button() == Qt::LeftButton ){
+ if ( event->button() == TQt::LeftButton ){
emit dataLeftPressed( current->row, current->col );
emit dataLeftPressed( event->pos() );
- }else if ( event->button() == Qt::MidButton ){
+ }else if ( event->button() == TQt::MidButton ){
emit dataMiddlePressed( current->row, current->col );
emit dataMiddlePressed( event->pos() );
}else{
@@ -204,14 +204,14 @@ void KDChartWidget::mouseReleaseEvent( TQMouseEvent* event )
while ( ( current = it.current() ) ) {
++it;
if ( current->contains( event->pos() ) ) {
- if ( event->button() == Qt::LeftButton ) {
+ if ( event->button() == TQt::LeftButton ) {
emit dataLeftReleased( current->row, current->col );
emit dataLeftReleased( event->pos() );
if ( _mousePressedOnRegion == current ){
emit dataLeftClicked( current->row, current->col );
emit dataLeftClicked( event->pos() );
}
- } else if ( event->button() == Qt::MidButton ) {
+ } else if ( event->button() == TQt::MidButton ) {
emit dataMiddleReleased( current->row, current->col );
emit dataMiddleReleased( event->pos() );
if ( _mousePressedOnRegion == current ){