diff options
Diffstat (limited to 'amarok/src/tracktooltip.cpp')
-rw-r--r-- | amarok/src/tracktooltip.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/amarok/src/tracktooltip.cpp b/amarok/src/tracktooltip.cpp index c345e22e..08cae102 100644 --- a/amarok/src/tracktooltip.cpp +++ b/amarok/src/tracktooltip.cpp @@ -114,14 +114,14 @@ void TrackToolTip::setTrack( const MetaBundle &tags, bool force ) TQString s; for( int i = 0; i < rating / 2; ++i ) s += TQString( "<img src=\"%1\" height=\"%2\" width=\"%3\">" ) - .tqarg( locate( "data", "amarok/images/star.png" ) ) - .tqarg( TQFontMetrics( TQToolTip::font() ).height() ) - .tqarg( TQFontMetrics( TQToolTip::font() ).height() ); + .arg( locate( "data", "amarok/images/star.png" ) ) + .arg( TQFontMetrics( TQToolTip::font() ).height() ) + .arg( TQFontMetrics( TQToolTip::font() ).height() ); if( rating % 2 ) s += TQString( "<img src=\"%1\" height=\"%2\" width=\"%3\">" ) - .tqarg( locate( "data", "amarok/images/smallstar.png" ) ) - .tqarg( TQFontMetrics( TQToolTip::font() ).height() ) - .tqarg( TQFontMetrics( TQToolTip::font() ).height() ); + .arg( locate( "data", "amarok/images/smallstar.png" ) ) + .arg( TQFontMetrics( TQToolTip::font() ).height() ) + .arg( TQFontMetrics( TQToolTip::font() ).height() ); right << s; left << playlist->columnText( column ); } @@ -163,7 +163,7 @@ void TrackToolTip::setTrack( const MetaBundle &tags, bool force ) } right << TQString( "<img src=\"%1\" height=\"%2\" width=\"%3\">" ) - .tqarg( filename ).tqarg( height ).tqarg( MOODBAR_WIDTH ); + .arg( filename ).arg( height ).arg( MOODBAR_WIDTH ); } break; @@ -237,10 +237,10 @@ void TrackToolTip::setTrack( const MetaBundle &tags, bool force ) if (tags.title().isEmpty() || tags.artist().isEmpty()) // no title or no artist, so we add prettyTitle m_tooltip += TQString ("<tr><td align=center colspan='2'>%1</td></tr>") - .tqarg(tags.veryNiceTitle()); + .arg(tags.veryNiceTitle()); for( uint x = 0; x < left.count(); ++x ) if ( !right[x].isEmpty() ) - m_tooltip += tableRow.tqarg( left[x] ).tqarg( right[x] ); + m_tooltip += tableRow.arg( left[x] ).arg( right[x] ); m_tooltip += "</table></td>"; m_tooltip += "</tr></table></center>"; @@ -332,13 +332,13 @@ TQString TrackToolTip::tooltip() const if( !m_tags.isEmpty() ) { if( !m_cover.isEmpty() ) - tip = tip.tqarg( TQString( "<td><table cellpadding='0' cellspacing='0'><tr><td>" + tip = tip.arg( TQString( "<td><table cellpadding='0' cellspacing='0'><tr><td>" "<img src='%1'>" - "</td></tr></table></td>" ).tqarg( m_cover ) ); + "</td></tr></table></td>" ).arg( m_cover ) ); else - tip = tip.tqarg(""); + tip = tip.arg(""); if( m_haspos ) - tip = tip.tqarg( MetaBundle::prettyLength( m_pos / 1000, true ) ); + tip = tip.arg( MetaBundle::prettyLength( m_pos / 1000, true ) ); } return tip; } |