summaryrefslogtreecommitdiffstats
path: root/tdehtml/rendering
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:32:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:32:50 +0900
commit138bb80efac020c7e78871d3f05127eb37f18274 (patch)
tree511cf17073aacacc4e752395839e84c6bbcab3bb /tdehtml/rendering
parent8d79c40791fa0bcac4d4ce1dc7385b19e523ba08 (diff)
downloadtdelibs-138bb80efac020c7e78871d3f05127eb37f18274.tar.gz
tdelibs-138bb80efac020c7e78871d3f05127eb37f18274.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdehtml/rendering')
-rw-r--r--tdehtml/rendering/render_replaced.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdehtml/rendering/render_replaced.cpp b/tdehtml/rendering/render_replaced.cpp
index 09931c3de..ddf4dfb4b 100644
--- a/tdehtml/rendering/render_replaced.cpp
+++ b/tdehtml/rendering/render_replaced.cpp
@@ -186,7 +186,7 @@ bool RenderWidget::event( TQEvent *e )
repaint();
}
// eat all events - except if this is a frame (in which case TDEHTMLView handles it all)
- if ( ::tqqt_cast<TDEHTMLView *>( m_widget ) )
+ if ( ::tqt_cast<TDEHTMLView *>( m_widget ) )
return TQObject::event( e );
return true;
}
@@ -212,7 +212,7 @@ void RenderWidget::setQWidget(TQWidget *widget)
connect( m_widget, TQT_SIGNAL( destroyed()), this, TQT_SLOT( slotWidgetDestructed()));
m_widget->installEventFilter(this);
- if ( (m_isTDEHTMLWidget = !strcmp(m_widget->name(), "__tdehtml")) && !::tqqt_cast<TQFrame*>(m_widget))
+ if ( (m_isTDEHTMLWidget = !strcmp(m_widget->name(), "__tdehtml")) && !::tqt_cast<TQFrame*>(m_widget))
m_widget->setBackgroundMode( TQWidget::NoBackground );
if (m_widget->focusPolicy() > TQWidget::StrongFocus)
@@ -330,7 +330,7 @@ void RenderWidget::updateFromElement()
else
m_widget->unsetPalette();
// Border:
- TQFrame* frame = ::tqqt_cast<TQFrame*>(m_widget);
+ TQFrame* frame = ::tqt_cast<TQFrame*>(m_widget);
if (frame) {
if (shouldPaintBackgroundOrBorder())
{
@@ -532,7 +532,7 @@ static void copyWidget(const TQRect& r, TQPainter *p, TQWidget *widget, int tx,
TQObjectList childWidgets = widget->childrenListObject();
TQObjectListIterator it(childWidgets);
for (; it.current(); ++it) {
- TQWidget* const w = ::tqqt_cast<TQWidget *>(it.current());
+ TQWidget* const w = ::tqt_cast<TQWidget *>(it.current());
if ( w && !w->isTopLevel() && !w->isHidden()) {
TQRect r2 = w->geometry();
blit -= r2;
@@ -613,7 +613,7 @@ void RenderWidget::paintWidget(PaintInfo& pI, TQWidget *widget, int tx, int ty)
bool RenderWidget::eventFilter(TQObject* /*o*/, TQEvent* e)
{
// no special event processing if this is a frame (in which case TDEHTMLView handles it all)
- if ( ::tqqt_cast<TDEHTMLView *>( m_widget ) )
+ if ( ::tqt_cast<TDEHTMLView *>( m_widget ) )
return false;
if ( !element() ) return true;
@@ -809,8 +809,8 @@ bool RenderWidget::handleEvent(const DOM::EventImpl& ev)
// << " pos=" << p << " type=" << type
// << " button=" << button << " state=" << state << endl;
TQMouseEvent e(type, p, button, state);
- TQScrollView * sc = ::tqqt_cast<TQScrollView*>(m_widget);
- if (sc && !::tqqt_cast<TQListBox*>(m_widget))
+ TQScrollView * sc = ::tqt_cast<TQScrollView*>(m_widget);
+ if (sc && !::tqt_cast<TQListBox*>(m_widget))
static_cast<ScrollViewEventPropagator *>(sc)->sendEvent(TQT_TQEVENT(&e));
else
static_cast<EventPropagator *>(m_widget)->sendEvent(TQT_TQEVENT(&e));