diff options
Diffstat (limited to 'tdehtml/rendering/render_replaced.cpp')
| -rw-r--r-- | tdehtml/rendering/render_replaced.cpp | 14 | 
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)); | 
