summaryrefslogtreecommitdiffstats
path: root/lib/kopainter/koColorSlider.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-05 11:54:26 +0900
committerMichele Calgaro <[email protected]>2023-11-16 23:37:57 +0900
commitef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch)
tree03df826633e4ba084d133ca977c4fc37c74f21ac /lib/kopainter/koColorSlider.cpp
parent895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff)
downloadkoffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz
koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib/kopainter/koColorSlider.cpp')
-rw-r--r--lib/kopainter/koColorSlider.cpp10
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());