summaryrefslogtreecommitdiffstats
path: root/src/popupmenu.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-05 11:53:32 +0900
committerMichele Calgaro <[email protected]>2023-11-05 11:53:32 +0900
commitac30f16b60532c3d1ff474177bb36a073d51ceb4 (patch)
tree7c9ddd8632cb6258980bb5e04ad69482ded38c82 /src/popupmenu.h
parent5665df9602807d84c8de673a2b4101f2e3a9fd89 (diff)
downloadbasket-ac30f16b60532c3d1ff474177bb36a073d51ceb4.tar.gz
basket-ac30f16b60532c3d1ff474177bb36a073d51ceb4.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/popupmenu.h')
-rw-r--r--src/popupmenu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/popupmenu.h b/src/popupmenu.h
index b5f6499..2416b7d 100644
--- a/src/popupmenu.h
+++ b/src/popupmenu.h
@@ -94,11 +94,11 @@ c l a s s P o p u p M e n u T e s t : p u b l i c Q W i d g e t
menu.insertItem("- Shift + right click : execAtRectBottom centered");
menu.insertItem("- Shift + middle click : execAtRectRight centered");
- if (event->button() & Qt::LeftButton)
+ if (event->button() & TQt::LeftButton)
PopupMenu::execAtRectCenter(menu, rect);
- else if ((event->button() & Qt::RightButton) && (event->state() & TQt::ShiftButton))
+ else if ((event->button() & TQt::RightButton) && (event->state() & TQt::ShiftButton))
PopupMenu::execAtRectBottom(menu, rect, true);
- else if (event->button() & Qt::RightButton)
+ else if (event->button() & TQt::RightButton)
PopupMenu::execAtRectBottom(menu, rect);
else if ((event->button() & TQt::MidButton) && (event->state() & TQt::ShiftButton))
PopupMenu::execAtRectRight(menu, rect, true);