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/systemtray.cpp | |
parent | 3c299dfe48c0060272c2966fff599b3b417e2ee4 (diff) | |
download | tdemultimedia-dc07846059a60d069687585cc72ff501a2096296.tar.gz tdemultimedia-dc07846059a60d069687585cc72ff501a2096296.zip |
Remove additional unneeded tq method conversions
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); } |