summaryrefslogtreecommitdiffstats
path: root/src/kbfxplasmacanvasview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kbfxplasmacanvasview.cpp')
-rw-r--r--src/kbfxplasmacanvasview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kbfxplasmacanvasview.cpp b/src/kbfxplasmacanvasview.cpp
index 6be8623..5fec81e 100644
--- a/src/kbfxplasmacanvasview.cpp
+++ b/src/kbfxplasmacanvasview.cpp
@@ -174,7 +174,7 @@ KbfxPlasmaCanvasView::contentsMouseMoveEvent ( TQMouseEvent * me )
if ( canvas () == NULL )
return;
- if ( me->state () & Qt::LeftButton )
+ if ( me->state () & TQt::LeftButton )
{
int distance = ( me->pos () - m_dragPos ).manhattanLength ();
if ( distance > TQApplication::startDragDistance () )
@@ -227,7 +227,7 @@ KbfxPlasmaCanvasView::contentsMousePressEvent ( TQMouseEvent * me )
tmp->shade ();
m_clickPos = me->pos ();
- if ( me->button () == Qt::LeftButton )
+ if ( me->button () == TQt::LeftButton )
m_dragPos = me->pos ();
TQScrollView::contentsMousePressEvent ( me );
canvas ()->update ();