From 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:58:08 -0600 Subject: Remove additional unneeded tq method conversions --- kopete/plugins/nowlistening/nowlisteningplugin.cpp | 8 ++++---- kopete/plugins/nowlistening/nowlisteningprefs.ui | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kopete/plugins/nowlistening') diff --git a/kopete/plugins/nowlistening/nowlisteningplugin.cpp b/kopete/plugins/nowlistening/nowlisteningplugin.cpp index dc67a0ab..a9148187 100644 --- a/kopete/plugins/nowlistening/nowlisteningplugin.cpp +++ b/kopete/plugins/nowlistening/nowlisteningplugin.cpp @@ -298,7 +298,7 @@ void NowListeningPlugin::slotAdvertCurrentMusic() // KDE4 TODO: Use the new status message framework, and remove this "hack". if( isPlaying ) { - advert = TQString("[Music]%1").tqarg(mediaList); + advert = TQString("[Music]%1").arg(mediaList); } } @@ -308,7 +308,7 @@ void NowListeningPlugin::slotAdvertCurrentMusic() { // Check for the now listening message in parenthesis, // include the header to not override other messages in parenthesis. - TQRegExp statusSong( TQString(" \\(%1.*\\)$").tqarg( NowListeningConfig::header()) ); + TQRegExp statusSong( TQString(" \\(%1.*\\)$").arg( NowListeningConfig::header()) ); // HACK: Don't keep appending the now listened song. Replace it in the status message. advert = a->myself()->property( Kopete::Global::Properties::self()->awayMessage() ).value().toString(); @@ -318,11 +318,11 @@ void NowListeningPlugin::slotAdvertCurrentMusic() { if(statusSong.search(advert) != -1) { - advert = advert.replace(statusSong, TQString(" (%1)").tqarg(mediaPlayerAdvert(false)) ); + advert = advert.replace(statusSong, TQString(" (%1)").arg(mediaPlayerAdvert(false)) ); } else { - advert += TQString(" (%1)").tqarg( mediaPlayerAdvert(false) ); + advert += TQString(" (%1)").arg( mediaPlayerAdvert(false) ); } } else diff --git a/kopete/plugins/nowlistening/nowlisteningprefs.ui b/kopete/plugins/nowlistening/nowlisteningprefs.ui index dcc48d8f..474c448a 100644 --- a/kopete/plugins/nowlistening/nowlisteningprefs.ui +++ b/kopete/plugins/nowlistening/nowlisteningprefs.ui @@ -32,7 +32,7 @@ <b>Share Your Musical Taste</b> - + AlignVCenter @@ -86,7 +86,7 @@ %track, %artist, %album, %player will be substituted if known. Expressions in brackets depend on a substitution being made. - + WordBreak|AlignVCenter @@ -105,7 +105,7 @@ Expressions in brackets depend on a substitution being made. Start with: - + AlignVCenter|AlignLeft @@ -127,7 +127,7 @@ Expressions in brackets depend on a substitution being made. For each track: - + AlignVCenter|AlignLeft @@ -149,7 +149,7 @@ Expressions in brackets depend on a substitution being made. Conjunction (if >1 track): - + AlignVCenter|AlignLeft -- cgit v1.2.1