diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /karbon/widgets/vgradientwidget.cc | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'karbon/widgets/vgradientwidget.cc')
-rw-r--r-- | karbon/widgets/vgradientwidget.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/karbon/widgets/vgradientwidget.cc b/karbon/widgets/vgradientwidget.cc index 49410a35..49d7f053 100644 --- a/karbon/widgets/vgradientwidget.cc +++ b/karbon/widgets/vgradientwidget.cc @@ -174,7 +174,7 @@ void VGradientWidget::paintEvent( TQPaintEvent* ) void VGradientWidget::mousePressEvent( TQMouseEvent* e ) { - if( ! m_pntArea.tqcontains( e->x(), e->y() ) ) + if( ! m_pntArea.contains( e->x(), e->y() ) ) return; TQPtrList<VColorStop>& colorStops = m_gradient->m_colorStops; @@ -217,7 +217,7 @@ void VGradientWidget::mouseReleaseEvent( TQMouseEvent* e ) { if( e->button() == Qt::RightButton && currentPoint ) { - if( m_pntArea.tqcontains( e->x(), e->y() ) && ( currentPoint % 2 == 1 ) ) + if( m_pntArea.contains( e->x(), e->y() ) && ( currentPoint % 2 == 1 ) ) { int x = e->x() - m_pntArea.left(); // check if we are still above the actual ramp point @@ -235,7 +235,7 @@ void VGradientWidget::mouseReleaseEvent( TQMouseEvent* e ) void VGradientWidget::mouseDoubleClickEvent( TQMouseEvent* e ) { - if( ! m_pntArea.tqcontains( e->x(), e->y() ) ) + if( ! m_pntArea.contains( e->x(), e->y() ) ) return; if( e->button() != Qt::LeftButton ) |