|
|
|
@ -707,7 +707,7 @@ void CIETongueWidget::paintEvent(TQPaintEvent*)
|
|
|
|
|
if ( !isEnabled() )
|
|
|
|
|
{
|
|
|
|
|
d->painter.begin(&d->pixmap);
|
|
|
|
|
d->painter.fillRect(0, 0, size().width(), size().height(), tqpalette().disabled().background());
|
|
|
|
|
d->painter.fillRect(0, 0, size().width(), size().height(), palette().disabled().background());
|
|
|
|
|
d->painter.setPen(TQPen(palette().disabled().foreground(), 1, TQt::SolidLine));
|
|
|
|
|
d->painter.drawRect(0, 0, width(), height());
|
|
|
|
|
d->painter.end();
|
|
|
|
@ -741,7 +741,7 @@ void CIETongueWidget::paintEvent(TQPaintEvent*)
|
|
|
|
|
// ... and we render busy text.
|
|
|
|
|
|
|
|
|
|
d->painter.begin(&d->pixmap);
|
|
|
|
|
d->painter.fillRect(0, 0, size().width(), size().height(), tqpalette().active().background());
|
|
|
|
|
d->painter.fillRect(0, 0, size().width(), size().height(), palette().active().background());
|
|
|
|
|
d->painter.drawPixmap(width()/2 - asize /2, asize, anim);
|
|
|
|
|
d->painter.setPen(TQPen(palette().active().text(), 1, TQt::SolidLine));
|
|
|
|
|
d->painter.drawRect(0, 0, width(), height());
|
|
|
|
@ -758,7 +758,7 @@ void CIETongueWidget::paintEvent(TQPaintEvent*)
|
|
|
|
|
if (!d->profileDataAvailable || (!d->loadingImageMode && !d->loadingImageSucess))
|
|
|
|
|
{
|
|
|
|
|
d->painter.begin(&d->pixmap);
|
|
|
|
|
d->painter.fillRect(0, 0, size().width(), size().height(), tqpalette().active().background());
|
|
|
|
|
d->painter.fillRect(0, 0, size().width(), size().height(), palette().active().background());
|
|
|
|
|
d->painter.setPen(TQPen(palette().active().text(), 1, TQt::SolidLine));
|
|
|
|
|
d->painter.drawRect(0, 0, width(), height());
|
|
|
|
|
d->painter.drawText(0, 0, size().width(), size().height(), TQt::AlignCenter,
|
|
|
|
|