summaryrefslogtreecommitdiffstats
path: root/tdehtml/rendering/render_form.cpp
diff options
context:
space:
mode:
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())
{