summaryrefslogtreecommitdiffstats
path: root/karbon/widgets/vgradientwidget.cpp
diff options
context:
space:
mode:
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;