summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/lyrics/lyrics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/lyrics/lyrics.cpp')
-rw-r--r--noatun-plugins/lyrics/lyrics.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/noatun-plugins/lyrics/lyrics.cpp b/noatun-plugins/lyrics/lyrics.cpp
index 30d7703..cbf6b63 100644
--- a/noatun-plugins/lyrics/lyrics.cpp
+++ b/noatun-plugins/lyrics/lyrics.cpp
@@ -59,7 +59,7 @@ Lyrics::Lyrics() : KMainWindow(), Plugin(), active(false)
connect( history, TQT_SIGNAL(uiChanged(int, bool)), this, TQT_SLOT(changeUI(int, bool)) );
connect( napp->player(), TQT_SIGNAL(newSong()), this, TQT_SLOT(newSong()) );
- /* Status bar */
+ /* tqStatus bar */
statusBar()->insertItem(i18n("Ready"), 0, 1);
statusBar()->setItemAlignment(0, TQt::AlignLeft);
@@ -122,7 +122,7 @@ void Lyrics::loadedURL()
if ( !napp->player()->current() )
return;
statusBar()->changeItem(i18n("Loaded"), 0);
- setCaption(i18n("Lyrics: %1").arg(napp->player()->current().property("title")));
+ setCaption(i18n("Lyrics: %1").tqarg(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").arg(title));
+ setCaption(i18n("Loading Lyrics for %1").tqarg(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>").arg( napp->player()->current().property( "title" ) ).arg( napp->player()->current().property( "author" ) ).arg( napp->player()->current().property( "album" ) ) );
+ "</TABLE>").tqarg( napp->player()->current().property( "title" ) ).tqarg( napp->player()->current().property( "author" ) ).tqarg( 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>" ).arg( name ).arg( _url.prettyURL() ).arg( _url.url() ) );
+ 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() ) );
} 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>" ).arg( _url.prettyURL() ).arg( _url.url() ) );
+ 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( "</BODY></HTML>" );
htmlpart->end();