diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:40:13 +0900 |
commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
tree | a62f00b0249b967528e115e2123b56d40633c17a /karbon/widgets/vgradientwidget.cpp | |
parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
download | koffice-c8c5e11f.tar.gz koffice-c8c5e11f.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'karbon/widgets/vgradientwidget.cpp')
-rw-r--r-- | karbon/widgets/vgradientwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/karbon/widgets/vgradientwidget.cpp b/karbon/widgets/vgradientwidget.cpp index 64cbf3731..f76f1feda 100644 --- a/karbon/widgets/vgradientwidget.cpp +++ b/karbon/widgets/vgradientwidget.cpp @@ -195,7 +195,7 @@ void VGradientWidget::mousePressEvent( TQMouseEvent* e ) { // found mid point at position currentPoint = 2 * i + 2; - if( e->button() == Qt::LeftButton ) + if( e->button() == TQt::LeftButton ) setCursor( VCursor::horzMove() ); return; } @@ -204,7 +204,7 @@ void VGradientWidget::mousePressEvent( TQMouseEvent* e ) { // found ramp point at position currentPoint = 2 * i + 1; - if( e->button() == Qt::LeftButton ) + if( e->button() == TQt::LeftButton ) setCursor( VCursor::horzMove() ); return; } @@ -215,7 +215,7 @@ void VGradientWidget::mousePressEvent( TQMouseEvent* e ) void VGradientWidget::mouseReleaseEvent( TQMouseEvent* e ) { - if( e->button() == Qt::RightButton && currentPoint ) + if( e->button() == TQt::RightButton && currentPoint ) { if( m_pntArea.contains( e->x(), e->y() ) && ( currentPoint % 2 == 1 ) ) { @@ -238,7 +238,7 @@ void VGradientWidget::mouseDoubleClickEvent( TQMouseEvent* e ) if( ! m_pntArea.contains( e->x(), e->y() ) ) return; - if( e->button() != Qt::LeftButton ) + if( e->button() != TQt::LeftButton ) return; if( currentPoint % 2 == 1 ) @@ -269,7 +269,7 @@ void VGradientWidget::mouseDoubleClickEvent( TQMouseEvent* e ) void VGradientWidget::mouseMoveEvent( TQMouseEvent* e ) { - if( e->state() & Qt::RightButton ) + if( e->state() & TQt::RightButton ) return; TQPtrList<VColorStop>& colorStops = m_gradient->m_colorStops; |