From 97ca62239633b6d0fc02b3313f7135608456cb7c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 15:23:04 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit 67a9fd3225cb598a4731ae04d41f254fc3d1a255) --- src/kbfxplasmacanvasview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kbfxplasmacanvasview.cpp') 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 (); -- cgit v1.2.3