diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:53:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 20:54:59 +0900 |
commit | 48f3d5f4d811e899ed05c12dbd61b43244e045aa (patch) | |
tree | b8d3a57932c4b736ad1203d5566535ccf03eb388 /src/popupmenu.h | |
parent | 123ea9fbbf9d2cdbfd7169cd3d08bfb99ddc25cf (diff) | |
download | basket-48f3d5f4d811e899ed05c12dbd61b43244e045aa.tar.gz basket-48f3d5f4d811e899ed05c12dbd61b43244e045aa.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ac30f16b60532c3d1ff474177bb36a073d51ceb4)
Diffstat (limited to 'src/popupmenu.h')
-rw-r--r-- | src/popupmenu.h | 6 |
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); |