summaryrefslogtreecommitdiffstats
path: root/kmag
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-06 11:28:58 +0900
committerMichele Calgaro <[email protected]>2023-11-06 22:15:58 +0900
commit716294c77e47b0a0abde10aa95c78a8844928877 (patch)
treeded893d637e2bdf9bb2631b3ee961d7e6b74a5f1 /kmag
parent57695c1fdd30fbbe4fe902efc5a8275f397b7bc9 (diff)
downloadtdeaccessibility-716294c77e47b0a0abde10aa95c78a8844928877.tar.gz
tdeaccessibility-716294c77e47b0a0abde10aa95c78a8844928877.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 51e1505d8c6135e2fbb25ca48b6bfb77015f5402)
Diffstat (limited to 'kmag')
-rw-r--r--kmag/kmagzoomview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmag/kmagzoomview.cpp b/kmag/kmagzoomview.cpp
index 4f863ac..ae9d06d 100644
--- a/kmag/kmagzoomview.cpp
+++ b/kmag/kmagzoomview.cpp
@@ -370,7 +370,7 @@ TQPoint KMagZoomView::calcMousePos(bool updateMousePos)
void KMagZoomView::mousePressEvent(TQMouseEvent *e)
{
switch(e->button()) {
- case Qt::LeftButton :
+ case TQt::LeftButton :
if(m_ctrlKeyPressed) {
// check if currently in resize mode
// don't do anything if fitToWindow is enabled
@@ -443,7 +443,7 @@ void KMagZoomView::mousePressEvent(TQMouseEvent *e)
}
break;
- case Qt::MidButton :
+ case TQt::MidButton :
// check if currently in move mode
// don't do anything if follow mouse is enabled
if ((m_mouseMode != MoveSelection) && !m_followMouse) {
@@ -484,8 +484,8 @@ void KMagZoomView::mousePressEvent(TQMouseEvent *e)
void KMagZoomView::mouseReleaseEvent(TQMouseEvent *e)
{
switch(e->button()) {
- case Qt::LeftButton :
- case Qt::MidButton :
+ case TQt::LeftButton :
+ case TQt::MidButton :
// check if currently in move mode
if(m_mouseMode == MoveSelection) {
// hide the selection window
@@ -521,9 +521,9 @@ void KMagZoomView::mouseReleaseEvent(TQMouseEvent *e)
}
break;
- case Qt::RightButton :
+ case TQt::RightButton :
break;
- case Qt::NoButton :
+ case TQt::NoButton :
break;
// do nothing