summaryrefslogtreecommitdiffstats
path: root/src/kcolorcombo2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kcolorcombo2.cpp')
-rw-r--r--src/kcolorcombo2.cpp4
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);