diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:28 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:28 -0600 |
commit | dc07846059a60d069687585cc72ff501a2096296 (patch) | |
tree | 432ead5b09c6ace7e804629f1f74a3ed58f003e0 /juk/nowplaying.cpp | |
parent | 3c299dfe48c0060272c2966fff599b3b417e2ee4 (diff) | |
download | tdemultimedia-dc07846059a60d069687585cc72ff501a2096296.tar.gz tdemultimedia-dc07846059a60d069687585cc72ff501a2096296.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'juk/nowplaying.cpp')
-rw-r--r-- | juk/nowplaying.cpp | 12 |
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); |