summaryrefslogtreecommitdiffstats
path: root/kicker/applets/systemtray
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 21:30:28 +0900
committerMichele Calgaro <[email protected]>2023-12-02 14:46:25 +0900
commit8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43 (patch)
tree9bb7ea2dce56ce30b2ea9a7006542a2a72ae323b /kicker/applets/systemtray
parent5590077e66774b629235516744993014360c3d25 (diff)
downloadtdebase-8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43.tar.gz
tdebase-8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kicker/applets/systemtray')
-rw-r--r--kicker/applets/systemtray/systemtrayapplet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kicker/applets/systemtray/systemtrayapplet.cpp b/kicker/applets/systemtray/systemtrayapplet.cpp
index 25a6de7de..2985e1915 100644
--- a/kicker/applets/systemtray/systemtrayapplet.cpp
+++ b/kicker/applets/systemtray/systemtrayapplet.cpp
@@ -838,11 +838,11 @@ bool SystemTrayApplet::eventFilter(TQObject* watched, TQEvent* e)
TQPoint p;
if (e->type() == TQEvent::ContextMenu)
{
- p = TQT_TQCONTEXTMENUEVENT(e)->globalPos();
+ p = static_cast<TQContextMenuEvent*>(e)->globalPos();
}
else if (e->type() == TQEvent::MouseButtonPress)
{
- TQMouseEvent* me = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent* me = static_cast<TQMouseEvent*>(e);
if (me->button() == TQt::RightButton)
{
p = me->globalPos();
@@ -855,7 +855,7 @@ bool SystemTrayApplet::eventFilter(TQObject* watched, TQEvent* e)
contextMenu->insertItem(SmallIcon("configure"), i18n("Configure System Tray..."),
this, TQT_SLOT(configure()));
- contextMenu->exec(TQT_TQCONTEXTMENUEVENT(e)->globalPos());
+ contextMenu->exec(static_cast<TQContextMenuEvent*>(e)->globalPos());
delete contextMenu;
return true;