diff options
Diffstat (limited to 'lib/kopainter/koColorSlider.cpp')
-rw-r--r-- | lib/kopainter/koColorSlider.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kopainter/koColorSlider.cpp b/lib/kopainter/koColorSlider.cpp index 6e7c0239..720357ca 100644 --- a/lib/kopainter/koColorSlider.cpp +++ b/lib/kopainter/koColorSlider.cpp @@ -87,7 +87,7 @@ void KoColorFrame::drawContents(TQPainter *p) void KoColorFrame::mousePressEvent(TQMouseEvent *e) { - if(e->button() & Qt::LeftButton) + if(e->button() & TQt::LeftButton) { emit clicked(e->pos()); @@ -113,7 +113,7 @@ void KoColorFrame::mousePressEvent(TQMouseEvent *e) void KoColorFrame::mouseReleaseEvent(TQMouseEvent *e) { - if(e->button() & Qt::LeftButton) + if(e->button() & TQt::LeftButton) mDragging = false; else TQFrame::mouseReleaseEvent(e); @@ -190,7 +190,7 @@ void KoSliderWidget::paintEvent(TQPaintEvent *) void KoSliderWidget::mousePressEvent(TQMouseEvent *e) { - if(e->button() & Qt::LeftButton) + if(e->button() & TQt::LeftButton) { mPos = e->pos(); mDragging = true; @@ -201,7 +201,7 @@ void KoSliderWidget::mousePressEvent(TQMouseEvent *e) void KoSliderWidget::mouseReleaseEvent(TQMouseEvent *e) { - if(e->button() & Qt::LeftButton) + if(e->button() & TQt::LeftButton) mDragging = false; else TQWidget::mouseReleaseEvent(e); @@ -346,7 +346,7 @@ void KoColorSlider::slotFrameClicked(const TQPoint &p) void KoColorSlider::mousePressEvent(TQMouseEvent *e) { - if(e->button() & Qt::LeftButton) + if(e->button() & TQt::LeftButton) { TQPoint pos = TQPoint(e->pos().x() - mSlider->width() / 2, height() - mSlider->height()); |