diff options
Diffstat (limited to 'tdehtml/rendering/render_replaced.cpp')
-rw-r--r-- | tdehtml/rendering/render_replaced.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdehtml/rendering/render_replaced.cpp b/tdehtml/rendering/render_replaced.cpp index 925f800fd..09931c3de 100644 --- a/tdehtml/rendering/render_replaced.cpp +++ b/tdehtml/rendering/render_replaced.cpp @@ -316,12 +316,12 @@ void RenderWidget::updateFromElement() if (v > 128) // dark bg, light fg - need a darker disabled fg disfg = disfg.dark(lowlightVal); - else if (disfg != Qt::black) + else if (disfg != TQt::black) // light bg, dark fg - need a lighter disabled fg - but only if !black disfg = disfg.light(highlightVal); else // black fg - use darkgray disabled fg - disfg = Qt::darkGray; + disfg = TQt::darkGray; pal.setColor(TQPalette::Disabled,TQColorGroup::Foreground,disfg); } @@ -784,13 +784,13 @@ bool RenderWidget::handleEvent(const DOM::EventImpl& ev) } switch (me.button()) { case 0: - button = Qt::LeftButton; + button = TQt::LeftButton; break; case 1: - button = Qt::MidButton; + button = TQt::MidButton; break; case 2: - button = Qt::RightButton; + button = TQt::RightButton; break; default: break; @@ -847,7 +847,7 @@ bool RenderWidget::handleEvent(const DOM::EventImpl& ev) // DOM: Down Press | Press | Up // Qt: (nothing) Press | Release(autorepeat) + Press(autorepeat) | Release // - // Qt::KeyPress is sent for DOM keypress and not DOM keydown to allow + // TQt::KeyPress is sent for DOM keypress and not DOM keydown to allow // sites to block a key with onkeypress, #99749 TQKeyEvent* const ke = domKeyEv.qKeyEvent(); |