From 75112ed8e227f656f98523b7ffdad5422d9a6f11 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:52:34 -0600 Subject: Remove additional unneeded tq method conversions --- noatun-plugins/lyrics/lyrics.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'noatun-plugins/lyrics') diff --git a/noatun-plugins/lyrics/lyrics.cpp b/noatun-plugins/lyrics/lyrics.cpp index 99e91b7..30d7703 100644 --- a/noatun-plugins/lyrics/lyrics.cpp +++ b/noatun-plugins/lyrics/lyrics.cpp @@ -122,7 +122,7 @@ void Lyrics::loadedURL() if ( !napp->player()->current() ) return; statusBar()->changeItem(i18n("Loaded"), 0); - setCaption(i18n("Lyrics: %1").tqarg(napp->player()->current().property("title"))); + setCaption(i18n("Lyrics: %1").arg(napp->player()->current().property("title"))); if (!htmlpart->url().url().isEmpty() && napp->player()->current() && !napp->player()->current().property("Lyrics::URL").isEmpty()) { kdDebug(90020) << "Setting URL for (loaded)" << napp->player()->current().title() << endl; napp->player()->current().setProperty("Lyrics::URL", htmlpart->url().url()); @@ -196,7 +196,7 @@ void Lyrics::viewLyrics(int index) pos = props_regexp.search(url); } TQString title(napp->player()->current().property("title")); - setCaption(i18n("Loading Lyrics for %1").tqarg(title)); + setCaption(i18n("Loading Lyrics for %1").arg(title)); // Check if we have a music playing if (napp->player()->current()) { htmlpart->begin(); @@ -207,7 +207,7 @@ void Lyrics::viewLyrics(int index) "Title%1" "Author%2" "Album%3" - "").tqarg( napp->player()->current().property( "title" ) ).tqarg( napp->player()->current().property( "author" ) ).tqarg( napp->player()->current().property( "album" ) ) ); + "").arg( napp->player()->current().property( "title" ) ).arg( napp->player()->current().property( "author" ) ).arg( napp->player()->current().property( "album" ) ) ); KURL _url; /* Check if we should use the store url or the query one */ if (napp->player()->current().property("Lyrics::URL").isEmpty()) { @@ -218,7 +218,7 @@ void Lyrics::viewLyrics(int index) attach_act->setChecked(false); site_act->setEnabled(true); actionCollection()->action("search_label")->setEnabled(true); - htmlpart->write( i18n( "

Searching at %1
(%2)

" ).tqarg( name ).tqarg( _url.prettyURL() ).tqarg( _url.url() ) ); + htmlpart->write( i18n( "

Searching at %1
(%2)

" ).arg( name ).arg( _url.prettyURL() ).arg( _url.url() ) ); } else { _url = napp->player()->current().property("Lyrics::URL"); _url.setQuery(_url.query().replace(TQRegExp("%20"), "+")); @@ -226,7 +226,7 @@ void Lyrics::viewLyrics(int index) attach_act->setChecked(true); site_act->setEnabled(false); actionCollection()->action("search_label")->setEnabled(false); - htmlpart->write( i18n( "

Using the stored URL
(%1)

" ).tqarg( _url.prettyURL() ).tqarg( _url.url() ) ); + htmlpart->write( i18n( "

Using the stored URL
(%1)

" ).arg( _url.prettyURL() ).arg( _url.url() ) ); } htmlpart->write( "" ); htmlpart->end(); -- cgit v1.2.1