diff options
Diffstat (limited to 'juk/systemtray.cpp')
-rw-r--r-- | juk/systemtray.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/juk/systemtray.cpp b/juk/systemtray.cpp index 1c0abaec..4b6587f7 100644 --- a/juk/systemtray.cpp +++ b/juk/systemtray.cpp @@ -385,7 +385,7 @@ void SystemTray::createPopup() int labelCount = 0; TQString title = TQStyleSheet::escape(playingInfo->title()); - m_labels[labelCount++]->setText(TQString("<qt><nobr><h2>%1</h2></nobr><qt>").tqarg(title)); + m_labels[labelCount++]->setText(TQString("<qt><nobr><h2>%1</h2></nobr><qt>").arg(title)); if(!playingInfo->artist().isEmpty()) m_labels[labelCount++]->setText(playingInfo->artist()); @@ -393,8 +393,8 @@ void SystemTray::createPopup() if(!playingInfo->album().isEmpty()) { TQString album = TQStyleSheet::escape(playingInfo->album()); TQString s = playingInfo->year() > 0 - ? TQString("<qt><nobr>%1 (%2)</nobr></qt>").tqarg(album).tqarg(playingInfo->year()) - : TQString("<qt><nobr>%1</nobr></qt>").tqarg(album); + ? TQString("<qt><nobr>%1 (%2)</nobr></qt>").arg(album).arg(playingInfo->year()) + : TQString("<qt><nobr>%1</nobr></qt>").arg(album); m_labels[labelCount++]->setText(s); } @@ -531,8 +531,8 @@ void SystemTray::setToolTip(const TQString &tip, const TQPixmap &cover) TQString html = i18n("%1 is Cover Art, %2 is the playing track, %3 is the appname", "<center><table cellspacing=\"2\"><tr><td valign=\"middle\">%1</td>" "<td valign=\"middle\">%2</td></tr></table><em>%3</em></center>"); - html = html.tqarg("<img valign=\"middle\" src=\"tipCover\""); - html = html.tqarg(TQString("<nobr>%1</nobr>").tqarg(tip), i18n("JuK")); + html = html.arg("<img valign=\"middle\" src=\"tipCover\""); + html = html.arg(TQString("<nobr>%1</nobr>").arg(tip), i18n("JuK")); TQToolTip::add(this, html); } |