diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:53:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 20:54:59 +0900 |
commit | 48f3d5f4d811e899ed05c12dbd61b43244e045aa (patch) | |
tree | b8d3a57932c4b736ad1203d5566535ccf03eb388 /src/kcolorcombo2.cpp | |
parent | 123ea9fbbf9d2cdbfd7169cd3d08bfb99ddc25cf (diff) | |
download | basket-48f3d5f4d811e899ed05c12dbd61b43244e045aa.tar.gz basket-48f3d5f4d811e899ed05c12dbd61b43244e045aa.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ac30f16b60532c3d1ff474177bb36a073d51ceb4)
Diffstat (limited to 'src/kcolorcombo2.cpp')
-rw-r--r-- | src/kcolorcombo2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kcolorcombo2.cpp b/src/kcolorcombo2.cpp index 345fc8f..adef86d 100644 --- a/src/kcolorcombo2.cpp +++ b/src/kcolorcombo2.cpp @@ -706,7 +706,7 @@ void KColorCombo2::mousePressEvent(TQMouseEvent *event) { m_dragStartPos = event->pos(); - if (event->button() == Qt::LeftButton && m_discardNextMousePress) + if (event->button() == TQt::LeftButton && m_discardNextMousePress) m_discardNextMousePress = false; else TQComboBox::mousePressEvent(event); @@ -714,7 +714,7 @@ void KColorCombo2::mousePressEvent(TQMouseEvent *event) void KColorCombo2::mouseMoveEvent(TQMouseEvent *event) { - if( (event->state() & Qt::LeftButton) && + if( (event->state() & TQt::LeftButton) && (event->pos() - m_dragStartPos).manhattanLength() > TDEGlobalSettings::dndEventDelay() ) { // Drag color object: KColorDrag *colorDrag = new KColorDrag(effectiveColor(), this); |