summaryrefslogtreecommitdiffstats
path: root/tdehtml/rendering/render_image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdehtml/rendering/render_image.cpp')
-rw-r--r--tdehtml/rendering/render_image.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdehtml/rendering/render_image.cpp b/tdehtml/rendering/render_image.cpp
index ad8f18bb3..bfe5781ac 100644
--- a/tdehtml/rendering/render_image.cpp
+++ b/tdehtml/rendering/render_image.cpp
@@ -243,10 +243,10 @@ void RenderImage::paint(PaintInfo& paintInfo, int _tx, int _ty)
if (bUnfinishedImageFrame && paintInfo.phase == PaintActionForeground && cWidth > 2 && cHeight > 2 && !complete()) {
static TQPixmap *loadingIcon;
TQColor bg = tdehtml::retrieveBackgroundColor(this);
- TQColor fg = tdehtml::hasSufficientContrast(Qt::gray, bg) ? Qt::gray :
- (hasSufficientContrast(Qt::white, bg) ? Qt::white : Qt::black);
+ TQColor fg = tdehtml::hasSufficientContrast(TQt::gray, bg) ? TQt::gray :
+ (hasSufficientContrast(TQt::white, bg) ? TQt::white : TQt::black);
paintInfo.p->setPen(TQPen(fg, 1));
- paintInfo.p->setBrush( Qt::NoBrush );
+ paintInfo.p->setBrush( TQt::NoBrush );
paintInfo.p->drawRect(_tx, _ty, m_width, m_height);
if (!(m_width <= 5 || m_height <= 5)) {
if (!loadingIcon) {
@@ -289,7 +289,7 @@ void RenderImage::paint(PaintInfo& paintInfo, int _tx, int _ty)
}
else if (i && !i->isTransparent())
{
- paintInfo.p->setPen( Qt::black ); // used for bitmaps
+ paintInfo.p->setPen( TQt::black ); // used for bitmaps
const TQPixmap& pix = i->pixmap();
if ( (cWidth != intrinsicWidth() || cHeight != intrinsicHeight()) &&
pix.width() > 0 && pix.height() > 0 && i->valid_rect().isValid())
@@ -371,7 +371,7 @@ void RenderImage::paint(PaintInfo& paintInfo, int _tx, int _ty)
paintInfo.p->setBrushOrigin(_tx, _ty - paintInfo.r.y());
paintInfo.p->fillRect(_tx, _ty, width(), height(),
TQBrush(style()->palette().active().highlight(),
- Qt::Dense4Pattern));
+ TQt::Dense4Pattern));
}
}
}