summaryrefslogtreecommitdiffstats
path: root/noatun/library/scrollinglabel.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:07 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 18:07:29 +0200
commitcc17a105bc9cf5683ff3f208214068c571fcde59 (patch)
treeb96dcddb68759dec0d35273e6b79f0c7520be820 /noatun/library/scrollinglabel.cpp
parent558317e518c5c27b0788242b8b9e828fbabb5b89 (diff)
downloadtdemultimedia-cc17a105bc9cf5683ff3f208214068c571fcde59.tar.gz
tdemultimedia-cc17a105bc9cf5683ff3f208214068c571fcde59.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 3c299dfe48c0060272c2966fff599b3b417e2ee4)
Diffstat (limited to 'noatun/library/scrollinglabel.cpp')
-rw-r--r--noatun/library/scrollinglabel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noatun/library/scrollinglabel.cpp b/noatun/library/scrollinglabel.cpp
index 4484c872..678a7098 100644
--- a/noatun/library/scrollinglabel.cpp
+++ b/noatun/library/scrollinglabel.cpp
@@ -119,7 +119,7 @@ ScrollingLabel::_update()
d->scrollSize = TQMAX(0, w - width());
d->buf.resize(w, h);
- d->buf.fill(tqcolorGroup().background());
+ d->buf.fill(colorGroup().background());
TQPainter p(&d->buf);
p.setFont(font());
@@ -166,13 +166,13 @@ ScrollingLabel::scroll()
}
TQSize
-ScrollingLabel::tqsizeHint() const
+ScrollingLabel::sizeHint() const
{
return fontMetrics().boundingRect(d->text).size();
}
TQSize
-ScrollingLabel::tqminimumSizeHint() const
+ScrollingLabel::minimumSizeHint() const
{
return TQSize(0, fontMetrics().height());
}