diff options
author | Michele Calgaro <[email protected]> | 2023-11-09 10:36:57 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-09 17:21:24 +0900 |
commit | 7367a616169a4ec8b35b5a993852c336aaeec25b (patch) | |
tree | 2fd2b837621af51718278a66c8d5151fec1d77e8 /krdc | |
parent | a14ec34f576f49ee1abf4844883fb9e3af69eeb3 (diff) | |
download | tdenetwork-7367a616169a4ec8b35b5a993852c336aaeec25b.tar.gz tdenetwork-7367a616169a4ec8b35b5a993852c336aaeec25b.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit b53c83209a6b927b27600899a780db1efc985ecb)
Diffstat (limited to 'krdc')
-rw-r--r-- | krdc/krdc.cpp | 2 | ||||
-rw-r--r-- | krdc/vnc/kvncview.cpp | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/krdc/krdc.cpp b/krdc/krdc.cpp index 6053d7b8..31e90d55 100644 --- a/krdc/krdc.cpp +++ b/krdc/krdc.cpp @@ -585,7 +585,7 @@ void KRDC::switchToNormal(bool scaling) } if (!m_toolbar) { - m_dockArea = new TQDockArea(Qt::Horizontal, TQDockArea::Normal, this); + m_dockArea = new TQDockArea(TQt::Horizontal, TQDockArea::Normal, this); m_dockArea->setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed)); TDEToolBar *t = new TDEToolBar(m_dockArea); diff --git a/krdc/vnc/kvncview.cpp b/krdc/vnc/kvncview.cpp index 3cc22228..d30ea356 100644 --- a/krdc/vnc/kvncview.cpp +++ b/krdc/vnc/kvncview.cpp @@ -542,19 +542,19 @@ void KVncView::mouseEvent(TQMouseEvent *e) { if ( e->type() != TQEvent::MouseMove ) { if ( (e->type() == TQEvent::MouseButtonPress) || (e->type() == TQEvent::MouseButtonDblClick)) { - if ( e->button() & Qt::LeftButton ) + if ( e->button() & TQt::LeftButton ) m_buttonMask |= 0x01; - if ( e->button() & Qt::MidButton ) + if ( e->button() & TQt::MidButton ) m_buttonMask |= 0x02; - if ( e->button() & Qt::RightButton ) + if ( e->button() & TQt::RightButton ) m_buttonMask |= 0x04; } else if ( e->type() == TQEvent::MouseButtonRelease ) { - if ( e->button() & Qt::LeftButton ) + if ( e->button() & TQt::LeftButton ) m_buttonMask &= 0xfe; - if ( e->button() & Qt::MidButton ) + if ( e->button() & TQt::MidButton ) m_buttonMask &= 0xfd; - if ( e->button() & Qt::RightButton ) + if ( e->button() & TQt::RightButton ) m_buttonMask &= 0xfb; } } |