summaryrefslogtreecommitdiffstats
path: root/juk/nowplaying.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/nowplaying.cpp')
-rw-r--r--juk/nowplaying.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/juk/nowplaying.cpp b/juk/nowplaying.cpp
index 0aac58d3..1cd1ebff 100644
--- a/juk/nowplaying.cpp
+++ b/juk/nowplaying.cpp
@@ -270,13 +270,13 @@ void TrackItem::slotUpdate()
"<font size=\"+%3\"><b><a href=\"artist\">%4</a>%5<a href=\"album\">%6</a></b>";
if(NowPlayingItem::parent()->collection()->showMoreActive())
- format.append(TQString(" (<a href=\"clear\">%1</a>)").tqarg(i18n("back to playlist")));
+ format.append(TQString(" (<a href=\"clear\">%1</a>)").arg(i18n("back to playlist")));
format.append("</font>");
do {
- m_label->setText(format.tqarg(size).tqarg(title).tqarg(size - 2)
- .tqarg(artist).tqarg(separator).tqarg(album));
+ m_label->setText(format.arg(size).arg(title).arg(size - 2)
+ .arg(artist).arg(separator).arg(album));
--size;
} while(m_label->heightForWidth(m_label->width()) > imageSize && size >= 0);
@@ -294,7 +294,7 @@ HistoryItem::HistoryItem(NowPlaying *parent) :
setFixedHeight(parent->height() - parent->tqlayout()->margin() * 2);
setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed);
setLinkUnderline(false);
- setText(TQString("<b>%1</b>").tqarg(i18n("History")));
+ setText(TQString("<b>%1</b>").arg(i18n("History")));
m_timer = new TQTimer(this);
connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotAddPlaying()));
@@ -309,14 +309,14 @@ void HistoryItem::update(const FileHandle &file)
m_history.remove(m_history.fromLast());
TQString format = "<br /><a href=\"%1\"><font size=\"-1\">%2</font></a>";
- TQString current = TQString("<b>%1</b>").tqarg(i18n("History"));
+ TQString current = TQString("<b>%1</b>").arg(i18n("History"));
TQString previous;
for(TQValueList<Item>::ConstIterator it = m_history.begin();
it != m_history.end(); ++it)
{
previous = current;
- current.append(format.tqarg((*it).anchor).tqarg(TQStyleSheet::escape((*it).file.tag()->title())));
+ current.append(format.arg((*it).anchor).arg(TQStyleSheet::escape((*it).file.tag()->title())));
setText(current);
if(heightForWidth(width()) > imageSize) {
setText(previous);