From dc07846059a60d069687585cc72ff501a2096296 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:57:28 -0600 Subject: Remove additional unneeded tq method conversions --- juk/nowplaying.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'juk/nowplaying.cpp') 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() "%4%5%6"; if(NowPlayingItem::parent()->collection()->showMoreActive()) - format.append(TQString(" (%1)").tqarg(i18n("back to playlist"))); + format.append(TQString(" (%1)").arg(i18n("back to playlist"))); format.append(""); 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("%1").tqarg(i18n("History"))); + setText(TQString("%1").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 = "
%2"; - TQString current = TQString("%1").tqarg(i18n("History")); + TQString current = TQString("%1").arg(i18n("History")); TQString previous; for(TQValueList::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); -- cgit v1.2.1