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-31 10:10:06 +0900
commite8f6750e65767709575720eb6da1402e6ef20bad (patch)
treed1d2db5eff55dc1f66155b8f4ef2ba260a1b1b3c /tdehtml/html/html_formimpl.cpp
parent97fea74e68727e260cb1901763ad4d43f7f96342 (diff)
downloadtdelibs-e8f6750e65767709575720eb6da1402e6ef20bad.tar.gz
tdelibs-e8f6750e65767709575720eb6da1402e6ef20bad.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 57af4f9d87ac88216a3bbcebaeed55db07a8948d)
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();
}
}