summaryrefslogtreecommitdiffstats
path: root/tdehtml/rendering/render_form.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:30:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-02 22:49:42 +0900
commitd8d8319b3dddc86303699f242be2f1a36206da8e (patch)
tree4d8df38004b23ec50344a7126746bbb3453994a5 /tdehtml/rendering/render_form.cpp
parent3a837ecf257dc334d65818d456d5a6bd6a8b98ef (diff)
downloadtdelibs-d8d8319b3dddc86303699f242be2f1a36206da8e.tar.gz
tdelibs-d8d8319b3dddc86303699f242be2f1a36206da8e.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f22a9c72dda24871973033123039639af6577eaa)
Diffstat (limited to 'tdehtml/rendering/render_form.cpp')
-rw-r--r--tdehtml/rendering/render_form.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdehtml/rendering/render_form.cpp b/tdehtml/rendering/render_form.cpp
index 63bba2914..8462f711b 100644
--- a/tdehtml/rendering/render_form.cpp
+++ b/tdehtml/rendering/render_form.cpp
@@ -890,7 +890,7 @@ bool ComboBoxWidget::event(TQEvent *e)
return true;
if (e->type()==TQEvent::KeyPress)
{
- TQKeyEvent *ke = TQT_TQKEYEVENT(e);
+ TQKeyEvent *ke = static_cast<TQKeyEvent*>(e);
switch(ke->key())
{
case Key_Return:
@@ -909,7 +909,7 @@ bool ComboBoxWidget::eventFilter(TQObject *dest, TQEvent *e)
{
if (dest==listBox() && e->type()==TQEvent::KeyPress)
{
- TQKeyEvent *ke = TQT_TQKEYEVENT(e);
+ TQKeyEvent *ke = static_cast<TQKeyEvent*>(e);
bool forward = false;
switch(ke->key())
{