summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/lyrics/lyrics.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:52:34 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:52:34 -0600
commit75112ed8e227f656f98523b7ffdad5422d9a6f11 (patch)
tree23041ac1bbe364dcc39dbbd0e86ff6930494e036 /noatun-plugins/lyrics/lyrics.cpp
parentb88830e9111dc4375bc1461c3f7b3e7b3e73f733 (diff)
downloadtdeaddons-75112ed8e227f656f98523b7ffdad5422d9a6f11.tar.gz
tdeaddons-75112ed8e227f656f98523b7ffdad5422d9a6f11.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'noatun-plugins/lyrics/lyrics.cpp')
-rw-r--r--noatun-plugins/lyrics/lyrics.cpp10
1 files changed, 5 insertions, 5 deletions
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)
"<TR><TD BGCOLOR=\"#707671\"><strong>Title</strong></TD><TD>%1</TD></TR>"
"<TR><TD BGCOLOR=\"#707671\"><strong>Author</strong></TD><TD>%2</TD></TR>"
"<TR><TD BGCOLOR=\"#707671\"><strong>Album</strong></TD><TD>%3</TD></TR>"
- "</TABLE>").tqarg( napp->player()->current().property( "title" ) ).tqarg( napp->player()->current().property( "author" ) ).tqarg( napp->player()->current().property( "album" ) ) );
+ "</TABLE>").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( "<hr><p><strong>Searching at %1</strong><br><small>(<a href=\"%3\">%2</a></small>)</p>" ).tqarg( name ).tqarg( _url.prettyURL() ).tqarg( _url.url() ) );
+ htmlpart->write( i18n( "<hr><p><strong>Searching at %1</strong><br><small>(<a href=\"%3\">%2</a></small>)</p>" ).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( "<hr><p><strong>Using the stored URL</strong><br><small>(<a href=\"%2\">%1</a></small>)</p>" ).tqarg( _url.prettyURL() ).tqarg( _url.url() ) );
+ htmlpart->write( i18n( "<hr><p><strong>Using the stored URL</strong><br><small>(<a href=\"%2\">%1</a></small>)</p>" ).arg( _url.prettyURL() ).arg( _url.url() ) );
}
htmlpart->write( "</BODY></HTML>" );
htmlpart->end();