summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_frame.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:30:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-02 14:46:25 +0900
commit8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43 (patch)
tree9bb7ea2dce56ce30b2ea9a7006542a2a72ae323b /konqueror/konq_frame.cpp
parent5590077e66774b629235516744993014360c3d25 (diff)
downloadtdebase-8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43.tar.gz
tdebase-8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'konqueror/konq_frame.cpp')
-rw-r--r--konqueror/konq_frame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/konqueror/konq_frame.cpp b/konqueror/konq_frame.cpp
index 8efe3fe38..cf0960f4d 100644
--- a/konqueror/konq_frame.cpp
+++ b/konqueror/konq_frame.cpp
@@ -177,7 +177,7 @@ bool KonqFrameStatusBar::eventFilter(TQObject* o, TQEvent *e)
{
emit clicked();
update();
- if ( TQT_TQMOUSEEVENT(e)->button() == TQt::RightButton)
+ if ( static_cast<TQMouseEvent*>(e)->button() == TQt::RightButton)
splitFrameMenu();
return true;
}
@@ -397,7 +397,7 @@ bool KonqFrame::eventFilter(TQObject* /*obj*/, TQEvent *ev)
{
if (ev->type()==TQEvent::KeyPress)
{
- TQKeyEvent * keyEv = TQT_TQKEYEVENT(ev);
+ TQKeyEvent * keyEv = static_cast<TQKeyEvent*>(ev);
if ((keyEv->key()==Key_Tab) && (keyEv->state()==ControlButton))
{
emit ((KonqFrameContainer*)parent())->ctrlTabPressed();