summaryrefslogtreecommitdiffstats
path: root/amarok/src/magnatunebrowser/magnatuneartistinfobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'amarok/src/magnatunebrowser/magnatuneartistinfobox.cpp')
-rw-r--r--amarok/src/magnatunebrowser/magnatuneartistinfobox.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/amarok/src/magnatunebrowser/magnatuneartistinfobox.cpp b/amarok/src/magnatunebrowser/magnatuneartistinfobox.cpp
index da56aba1..1e59471b 100644
--- a/amarok/src/magnatunebrowser/magnatuneartistinfobox.cpp
+++ b/amarok/src/magnatunebrowser/magnatuneartistinfobox.cpp
@@ -25,8 +25,8 @@
#include <tqfile.h>
-MagnatuneArtistInfoBox::MagnatuneArtistInfoBox( TQWidget *parentWidget, const char *widgetname )
- : KHTMLPart( parentWidget, widgetname )
+MagnatuneArtistInfoBox::MagnatuneArtistInfoBox( TQWidget *tqparentWidget, const char *widgetname )
+ : KHTMLPart( tqparentWidget, widgetname )
{}
@@ -56,7 +56,7 @@ MagnatuneArtistInfoBox::displayAlbumInfo( MagnatuneAlbum *album )
const MagnatuneArtist artist = MagnatuneDatabaseHandler::instance()->getArtistById( album->getArtistId() );
const TQString artistName = artist.getName();
- TQString infoHtml = "<HTML><HEAD><META HTTP-EQUIV=\"Content-Type\" "
+ TQString infoHtml = "<HTML><HEAD><META HTTP-ETQUIV=\"Content-Type\" "
"CONTENT=\"text/html; charset=iso-8859-1\"></HEAD><BODY>";
infoHtml += "<div align=\"center\"><strong>";
@@ -115,25 +115,25 @@ MagnatuneArtistInfoBox::extractArtistInfo( TQString artistPage )
TQString trimmedHtml;
- int sectionStart = artistPage.find( "<!-- ARTISTBODY -->" );
- int sectionEnd = artistPage.find( "<!-- /ARTISTBODY -->", sectionStart );
+ int sectionStart = artistPage.tqfind( "<!-- ARTISTBODY -->" );
+ int sectionEnd = artistPage.tqfind( "<!-- /ARTISTBODY -->", sectionStart );
trimmedHtml = artistPage.mid( sectionStart, sectionEnd - sectionStart );
- int buyStartIndex = trimmedHtml.find( "<!-- PURCHASE -->" );
+ int buyStartIndex = trimmedHtml.tqfind( "<!-- PURCHASE -->" );
int buyEndIndex;
//we are going to integrate the buying of music (I hope) so remove these links
while ( buyStartIndex != -1 )
{
- buyEndIndex = trimmedHtml.find( "<!-- /PURCHASE -->", buyStartIndex ) + 18;
+ buyEndIndex = trimmedHtml.tqfind( "<!-- /PURCHASE -->", buyStartIndex ) + 18;
trimmedHtml.remove( buyStartIndex, buyEndIndex - buyStartIndex );
- buyStartIndex = trimmedHtml.find( "<!-- PURCHASE -->", buyStartIndex );
+ buyStartIndex = trimmedHtml.tqfind( "<!-- PURCHASE -->", buyStartIndex );
}
- TQString infoHtml = "<HTML><HEAD><META HTTP-EQUIV=\"Content-Type\" "
+ TQString infoHtml = "<HTML><HEAD><META HTTP-ETQUIV=\"Content-Type\" "
"CONTENT=\"text/html; charset=iso-8859-1\"></HEAD><BODY>";
infoHtml += trimmedHtml;