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 --- noatun/modules/systray/systray.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'noatun/modules/systray/systray.cpp') diff --git a/noatun/modules/systray/systray.cpp b/noatun/modules/systray/systray.cpp index 3303ad6a..4d008783 100644 --- a/noatun/modules/systray/systray.cpp +++ b/noatun/modules/systray/systray.cpp @@ -213,21 +213,21 @@ void NoatunSystray::slotPlayPause() if(!item.isProperty("title")) { // No metadata - s = TQString("%1").tqarg(item.title()); + s = TQString("%1").arg(item.title()); } else { - s = TQString("

%1

").tqarg(item.property("title")); + s = TQString("

%1

").arg(item.property("title")); if(item.isProperty("author")) - s += TQString("%1
").tqarg(item.property("author")); + s += TQString("%1
").arg(item.property("author")); if(item.isProperty("album")) { if(item.isProperty("date")) - s += TQString("%1 (%2)
").tqarg(item.property("album")).tqarg(item.property("date")); + s += TQString("%1 (%2)
").arg(item.property("album")).arg(item.property("date")); else - s += TQString("%1
").tqarg(item.property("album")); + s += TQString("%1
").arg(item.property("album")); } } @@ -242,11 +242,11 @@ void NoatunSystray::slotPlayPause() setTipText(TQString("
" \ "" \ "" \ - "

%1

%2
").tqarg(status).tqarg(s).tqarg(tmpCoverPath)); + "
").arg(status).arg(s).arg(tmpCoverPath)); } else { - setTipText(TQString("

%1

%2
").tqarg(status).tqarg(s)); + setTipText(TQString("

%1

%2
").arg(status).arg(s)); } } @@ -256,7 +256,7 @@ void NoatunSystray::slotStopped() if(!napp->player()->current()) return; changeTray("player_stop"); - setTipText(TQString("

%1

").tqarg(i18n("Noatun - Stopped"))); + setTipText(TQString("

%1

").arg(i18n("Noatun - Stopped"))); } -- cgit v1.2.1