summaryrefslogtreecommitdiffstats
path: root/tdeparts
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 20:33:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-15 23:44:25 +0900
commitc8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch)
treebae3d3c70886ceeffd914cac031dfeab532a607a /tdeparts
parent419c185be746df8bba59fe5de991b4a2b3977897 (diff)
downloadtdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz
tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeparts')
-rw-r--r--tdeparts/partmanager.cpp6
-rw-r--r--tdeparts/partmanager.h2
2 files changed, 4 insertions, 4 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;
diff --git a/tdeparts/partmanager.h b/tdeparts/partmanager.h
index 2f3169a94..30a25e37a 100644
--- a/tdeparts/partmanager.h
+++ b/tdeparts/partmanager.h
@@ -130,7 +130,7 @@ public:
/**
* Specifies which mouse buttons the partmanager should react upon.
* By default it reacts on all mouse buttons (LMB/MMB/RMB).
- * @param buttonMask a combination of TQt::ButtonState values e.g. Qt::LeftButton | Qt::MidButton
+ * @param buttonMask a combination of TQt::ButtonState values e.g. TQt::LeftButton | TQt::MidButton
*/
void setActivationButtonMask( short int buttonMask );
/**