diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-13 20:33:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-15 23:47:11 +0900 |
commit | 303b6445011a6ed10c48ac6e1eda415e5c371264 (patch) | |
tree | aded2a8ee5046176d3295bbf1f90f5dd73746677 /tdeparts/partmanager.cpp | |
parent | 141ced0c41af8726eedac425ea24cd162bcff862 (diff) | |
download | tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.tar.gz tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3)
Diffstat (limited to 'tdeparts/partmanager.cpp')
-rw-r--r-- | tdeparts/partmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeparts/partmanager.cpp b/tdeparts/partmanager.cpp index f63fdc3b3..e380acf5f 100644 --- a/tdeparts/partmanager.cpp +++ b/tdeparts/partmanager.cpp @@ -45,7 +45,7 @@ public: m_selectedWidget = 0; m_bAllowNestedParts = false; m_bIgnoreScrollBars = false; - m_activationButtonMask = Qt::LeftButton | Qt::MidButton | Qt::RightButton; + m_activationButtonMask = TQt::LeftButton | TQt::MidButton | TQt::RightButton; m_reason = PartManager::NoReason; } ~PartManagerPrivate() @@ -56,9 +56,9 @@ public: case TQEvent::MouseButtonPress: case TQEvent::MouseButtonDblClick: { TQMouseEvent* mev = TQT_TQMOUSEEVENT( ev ); - m_reason = mev->button() == Qt::LeftButton + m_reason = mev->button() == TQt::LeftButton ? PartManager::ReasonLeftClick - : ( mev->button() == Qt::MidButton + : ( mev->button() == TQt::MidButton ? PartManager::ReasonMidClick : PartManager::ReasonRightClick ); break; |