diff options
Diffstat (limited to 'lib/kopainter')
-rw-r--r-- | lib/kopainter/koColorSlider.cpp | 10 | ||||
-rw-r--r-- | lib/kopainter/koIconChooser.cpp | 2 | ||||
-rw-r--r-- | lib/kopainter/ko_hsv_widget.cpp | 2 |
3 files changed, 7 insertions, 7 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()); diff --git a/lib/kopainter/koIconChooser.cpp b/lib/kopainter/koIconChooser.cpp index e8647ffb..bae95a21 100644 --- a/lib/kopainter/koIconChooser.cpp +++ b/lib/kopainter/koIconChooser.cpp @@ -205,7 +205,7 @@ KoIconChooser::startDrag() void KoIconChooser::mouseReleaseEvent(TQMouseEvent * e) { mMouseButtonDown = true; - if(e->button() == Qt::LeftButton) + if(e->button() == TQt::LeftButton) { TQPoint p = e->pos(); mDragStartPos = p; diff --git a/lib/kopainter/ko_hsv_widget.cpp b/lib/kopainter/ko_hsv_widget.cpp index 148d51be..83919d30 100644 --- a/lib/kopainter/ko_hsv_widget.cpp +++ b/lib/kopainter/ko_hsv_widget.cpp @@ -42,7 +42,7 @@ KoHSVWidget::KoHSVWidget(TQWidget *parent, const char *name) : super(parent, nam TQGridLayout *mGrid = new TQGridLayout(this, 5, 7, 5, 2); m_colorwheel = new KoColorWheel(this); m_colorwheel->setFixedSize( 120, 120); - m_VSelector = new KValueSelector(Qt::Vertical, this); + m_VSelector = new KValueSelector(TQt::Vertical, this); m_VSelector-> setFixedSize( 30, 120); /* setup slider labels */ |