summaryrefslogtreecommitdiffstats
path: root/karbon/widgets/vgradientwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-16 23:40:13 +0900
commitc8c5e11f05f023849896d09cf06917e9a2c016ca (patch)
treea62f00b0249b967528e115e2123b56d40633c17a /karbon/widgets/vgradientwidget.cpp
parentc9973bfbf1091ef91f30b5ab456015676123aa47 (diff)
downloadkoffice-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.cpp10
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;