summaryrefslogtreecommitdiffstats
path: root/kruler
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:39:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 18:28:28 +0900
commitcfee7c430dfa8778709343b7809f2fc4e24ef914 (patch)
tree1ca1ffe7829434c39f16dd8749399da58e395e15 /kruler
parentdd79abfcab681a26a70756c8847f870e73bcdf2c (diff)
downloadtdegraphics-cfee7c430dfa8778709343b7809f2fc4e24ef914.tar.gz
tdegraphics-cfee7c430dfa8778709343b7809f2fc4e24ef914.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46)
Diffstat (limited to 'kruler')
-rw-r--r--kruler/klineal.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kruler/klineal.cpp b/kruler/klineal.cpp
index 7041fea1..477fc6cf 100644
--- a/kruler/klineal.cpp
+++ b/kruler/klineal.cpp
@@ -575,15 +575,15 @@ void KLineal::mousePressEvent(TQMouseEvent *inEvent) {
TQRect gr = geometry();
mDragOffset = mLastClickPos - TQPoint(gr.left(), gr.top());
- if (inEvent->button() == Qt::LeftButton) {
+ if (inEvent->button() == TQt::LeftButton) {
if (!mDragging) {
grabMouse(KCursor::sizeAllCursor());
mDragging = TRUE;
}
- } else if (inEvent->button() == Qt::MidButton) {
+ } else if (inEvent->button() == TQt::MidButton) {
_clicked = true;
turnLeft();
- } else if (inEvent->button() == Qt::RightButton) {
+ } else if (inEvent->button() == TQt::RightButton) {
showMenu();
}
}