Rename a few stragglers

pull/1/head
Timothy Pearson 13 years ago
parent 8c77c4da5b
commit faa356af95

@ -678,7 +678,7 @@ void TimeLineWidget::updatePixmap()
if (val)
{
if (sel)
subDateColor = tqpalette().active().highlightedText();
subDateColor = palette().active().highlightedText();
else
subDateColor = palette().active().foreground();
}
@ -862,7 +862,7 @@ void TimeLineWidget::updatePixmap()
if (val)
{
if (sel)
subDateColor = tqpalette().active().highlightedText();
subDateColor = palette().active().highlightedText();
else
subDateColor = palette().active().foreground();
}

@ -100,7 +100,7 @@ TQColor DPopupMenu::calcPixmapColor()
int h1, s1, v1, h2, s2, v2, h3, s3, v3;
activeTitle.hsv(&h1, &s1, &v1);
inactiveTitle.hsv(&h2, &s2, &v2);
TQApplication::tqpalette().active().background().hsv(&h3, &s3, &v3);
TQApplication::palette().active().background().hsv(&h3, &s3, &v3);
if ( (kAbs(h1-h3)+kAbs(s1-s3)+kAbs(v1-v3) < kAbs(h2-h3)+kAbs(s2-s3)+kAbs(v2-v3)) &&
((kAbs(h1-h3)+kAbs(s1-s3)+kAbs(v1-v3) < 32) || (s1 < 32)) && (s2 > s1))

@ -384,7 +384,7 @@ void HistogramWidget::paintEvent(TQPaintEvent*)
TQPixmap pm(size());
TQPainter p1;
p1.begin(TQT_TQPAINTDEVICE(&pm), TQT_TQOBJECT(this));
p1.fillRect(0, 0, size().width(), size().height(), tqpalette().disabled().background());
p1.fillRect(0, 0, size().width(), size().height(), palette().disabled().background());
p1.setPen(TQPen(palette().active().foreground(), 1, TQt::SolidLine));
p1.drawRect(0, 0, width(), height());
p1.setPen(TQPen(palette().disabled().foreground(), 1, TQt::SolidLine));

@ -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,

Loading…
Cancel
Save