diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:29 +0900 |
commit | 1e5d5c92c374c8c950f01fa5aa916b3f722f98c1 (patch) | |
tree | f8538d6a34bf4683fdb8e2ed33923406b1659c09 /tdehtml/rendering/render_replaced.cpp | |
parent | 34632650f1a323bdb5a0bbb0f504e3db70d87330 (diff) | |
download | tdelibs-1e5d5c92c374c8c950f01fa5aa916b3f722f98c1.tar.gz tdelibs-1e5d5c92c374c8c950f01fa5aa916b3f722f98c1.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdehtml/rendering/render_replaced.cpp')
-rw-r--r-- | tdehtml/rendering/render_replaced.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdehtml/rendering/render_replaced.cpp b/tdehtml/rendering/render_replaced.cpp index 2d991c3a2..925f800fd 100644 --- a/tdehtml/rendering/render_replaced.cpp +++ b/tdehtml/rendering/render_replaced.cpp @@ -215,8 +215,8 @@ void RenderWidget::setQWidget(TQWidget *widget) if ( (m_isTDEHTMLWidget = !strcmp(m_widget->name(), "__tdehtml")) && !::tqqt_cast<TQFrame*>(m_widget)) m_widget->setBackgroundMode( TQWidget::NoBackground ); - if (m_widget->focusPolicy() > TQ_StrongFocus) - m_widget->setFocusPolicy(TQ_StrongFocus); + if (m_widget->focusPolicy() > TQWidget::StrongFocus) + m_widget->setFocusPolicy(TQWidget::StrongFocus); // if we've already received a layout, apply the calculated space to the // widget immediately, but we have to have really been full constructed (with a non-null // style pointer). @@ -673,7 +673,7 @@ bool RenderWidget::eventFilter(TQObject* /*o*/, TQEvent* e) // currently focused. this avoids accidentally changing a select box // or something while wheeling a webpage. if (tqApp->focusWidget() != widget() && - widget()->focusPolicy() <= TQ_StrongFocus) { + widget()->focusPolicy() <= TQWidget::StrongFocus) { TQT_TQWHEELEVENT(e)->ignore(); TQApplication::sendEvent(view(), e); filtered = true; |