diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 15:23:04 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 21:39:01 +0900 |
| commit | 97ca62239633b6d0fc02b3313f7135608456cb7c (patch) | |
| tree | 11521abbd9f4c23c60e07161b82ba536d0b902ec /src/kbfxplasmacanvasview.cpp | |
| parent | 612b41af2bb0590663f6488c00ebb3636f73ed8b (diff) | |
| download | kbfx-97ca62239633b6d0fc02b3313f7135608456cb7c.tar.gz kbfx-97ca62239633b6d0fc02b3313f7135608456cb7c.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 67a9fd3225cb598a4731ae04d41f254fc3d1a255)
Diffstat (limited to 'src/kbfxplasmacanvasview.cpp')
| -rw-r--r-- | src/kbfxplasmacanvasview.cpp | 4 |
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 (); |
