summaryrefslogtreecommitdiffstats
path: root/tdehtml/html/html_formimpl.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-26 14:53:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-26 14:53:30 +0900
commit57af4f9d87ac88216a3bbcebaeed55db07a8948d (patch)
tree9b2639876a268642abf8496deb98346237124eb1 /tdehtml/html/html_formimpl.cpp
parent503eb0d9f476369e9733b22d56054da5031af100 (diff)
downloadtdelibs-57af4f9d87ac88216a3bbcebaeed55db07a8948d.tar.gz
tdelibs-57af4f9d87ac88216a3bbcebaeed55db07a8948d.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdehtml/html/html_formimpl.cpp')
-rw-r--r--tdehtml/html/html_formimpl.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tdehtml/html/html_formimpl.cpp b/tdehtml/html/html_formimpl.cpp
index af9008dd3..b10aaba99 100644
--- a/tdehtml/html/html_formimpl.cpp
+++ b/tdehtml/html/html_formimpl.cpp
@@ -1020,17 +1020,11 @@ void HTMLGenericFormElementImpl::defaultEventHandler(EventImpl *evt)
TQKeyEvent* const k = static_cast<KeyEventBaseImpl *>(evt)->qKeyEvent();
if ( k && (k->key() == Qt::Key_Tab || k->key() == TQt::Key_BackTab) ) {
TQWidget* const widget = static_cast<RenderWidget*>(m_render)->widget();
-#ifdef USE_QT4
- if (widget)
- static_cast<FocusHandleWidget *>(widget)
- ->focusNextPrev(k->key() == Qt::Key_Tab);
-#else // USE_QT4
TQFocusEvent::setReason( k->key() == Qt::Key_Tab ? TQFocusEvent::Tab : TQFocusEvent::Backtab );
if (widget)
static_cast<FocusHandleWidget *>(widget)
->focusNextPrev(k->key() == Qt::Key_Tab);
TQFocusEvent::resetReason();
-#endif // USE_QT4
evt->setDefaultHandled();
}
}