summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoTooluButton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/KoTooluButton.cpp')
-rw-r--r--lib/kofficeui/KoTooluButton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficeui/KoTooluButton.cpp b/lib/kofficeui/KoTooluButton.cpp
index 3adcaca8..f2c64a32 100644
--- a/lib/kofficeui/KoTooluButton.cpp
+++ b/lib/kofficeui/KoTooluButton.cpp
@@ -303,7 +303,7 @@ void KoColorPanel::insertDefaultColors()
void KoColorPanel::mousePressEvent( TQMouseEvent* e )
{
- if ( e->button() == Qt::LeftButton )
+ if ( e->button() == TQt::LeftButton )
m_pressedPos = e->pos();
}
@@ -316,7 +316,7 @@ void KoColorPanel::mouseReleaseEvent( TQMouseEvent* )
void KoColorPanel::mouseMoveEvent( TQMouseEvent* e )
{
- if ( e->state() & Qt::LeftButton ) {
+ if ( e->state() & TQt::LeftButton ) {
TQPoint p = m_pressedPos - e->pos();
if ( p.manhattanLength() > TQApplication::startDragDistance() ) {
TQColor color( mapToColor( m_pressedPos ) );