From 324094a18c888423212bcdafa8f4c68ace73d770 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 7 Jul 2011 21:14:06 +0000 Subject: [PATCH] Rename incorrect instances of tqrepaint[...] to repaint[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- amarok/src/magnatunebrowser/magnatunebrowser.cpp | 2 +- amarok/src/magnatunebrowser/magnatunelistviewitems.cpp | 4 ++-- amarok/src/playlist.cpp | 6 +++--- amarok/src/playlistbrowseritem.cpp | 4 ++-- amarok/src/playlistitem.cpp | 2 +- amarok/src/statistics.cpp | 6 +++--- amarok/src/systray.h | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/amarok/src/magnatunebrowser/magnatunebrowser.cpp b/amarok/src/magnatunebrowser/magnatunebrowser.cpp index ea3ad04f..7f125854 100644 --- a/amarok/src/magnatunebrowser/magnatunebrowser.cpp +++ b/amarok/src/magnatunebrowser/magnatunebrowser.cpp @@ -433,7 +433,7 @@ void MagnatuneBrowser::updateList() for ( it = artists.begin(); it != artists.end(); ++it ) new MagnatuneListViewArtistItem( ( *it ), m_listView ); - m_listView->tqrepaintContents(); + m_listView->repaintContents(); } void MagnatuneBrowser::genreChanged() diff --git a/amarok/src/magnatunebrowser/magnatunelistviewitems.cpp b/amarok/src/magnatunebrowser/magnatunelistviewitems.cpp index a6c85ee8..8adb3784 100644 --- a/amarok/src/magnatunebrowser/magnatunelistviewitems.cpp +++ b/amarok/src/magnatunebrowser/magnatunelistviewitems.cpp @@ -60,7 +60,7 @@ void MagnatuneListViewArtistItem::setOpen( bool o ) listView()->setUpdatesEnabled( true ); KListViewItem::setOpen( o ); tqinvalidateHeight(); - listView()->tqrepaintContents(); + listView()->repaintContents(); } @@ -118,7 +118,7 @@ void MagnatuneListViewAlbumItem::setOpen( bool o ) listView()->setUpdatesEnabled( true ); KListViewItem::setOpen( o ); tqinvalidateHeight(); - listView()->tqrepaintContents(); + listView()->repaintContents(); } diff --git a/amarok/src/playlist.cpp b/amarok/src/playlist.cpp index a97273ac..f1c92bca 100644 --- a/amarok/src/playlist.cpp +++ b/amarok/src/playlist.cpp @@ -657,7 +657,7 @@ Playlist::setDynamicHistory( bool enable /*false*/ ) { if( *it == m_currentTrack ) break; - //avoid tqrepainting if we can. + //avoid repainting if we can. if( (*it)->isDynamicEnabled() == enable ) { (*it)->setDynamicEnabled( !enable ); @@ -4430,7 +4430,7 @@ Playlist::refreshNextTracks( int from ) { // This function scans the m_nextTracks list starting from the 'from' // position and from there on updates the progressive numbering on related - // items and tqrepaints them. In short it performs an update subsequent to + // items and repaints them. In short it performs an update subsequent to // a renumbering/order changing at some point of the m_nextTracks list. //start on the 'from'-th item of the list @@ -4651,7 +4651,7 @@ Playlist::slotMoodbarPrefs( bool show, bool moodier, int alter, bool withMusic ) for( PlaylistIterator it( this, PlaylistIterator::All ) ; *it ; ++it ) { (*it)->moodbar().reset(); - tqrepaintItem(*it); + repaintItem(*it); } } } diff --git a/amarok/src/playlistbrowseritem.cpp b/amarok/src/playlistbrowseritem.cpp index 9f807c14..2c800ad0 100644 --- a/amarok/src/playlistbrowseritem.cpp +++ b/amarok/src/playlistbrowseritem.cpp @@ -784,7 +784,7 @@ void PlaylistEntry::customEvent( TQCustomEvent *e ) stopAnimation(); //stops the loading animation if( m_trackCount && !m_dynamic && !isDynamic() ) setOpen( true ); - else listView()->tqrepaintItem( this ); + else listView()->repaintItem( this ); m_trackCount = m_trackList.count(); } @@ -951,7 +951,7 @@ void PlaylistEntry::setDynamic( bool enable ) m_dynamic = enable; } - listView()->tqrepaintItem( this ); + listView()->repaintItem( this ); } void PlaylistEntry::setup() diff --git a/amarok/src/playlistitem.cpp b/amarok/src/playlistitem.cpp index 85888d75..e8b4329a 100644 --- a/amarok/src/playlistitem.cpp +++ b/amarok/src/playlistitem.cpp @@ -379,7 +379,7 @@ int PlaylistItem::ratingColumnWidth() //static void PlaylistItem::update() const { - listView()->tqrepaintItem( this ); + listView()->repaintItem( this ); } void PlaylistItem::updateColumn( int column ) const diff --git a/amarok/src/statistics.cpp b/amarok/src/statistics.cpp index 1efed47f..605a84e8 100644 --- a/amarok/src/statistics.cpp +++ b/amarok/src/statistics.cpp @@ -556,7 +556,7 @@ StatisticsList::expandInformation( StatisticsItem *item, bool refresh ) } item->setExpanded( true ); - tqrepaintItem( item ); // Better than ::tqrepaint(), flickers less + repaintItem( item ); // Better than ::tqrepaint(), flickers less delete locale; } @@ -735,7 +735,7 @@ StatisticsItem::slotAnimTimer() if( m_animEnter ) { m_animCount += 1; - listView()->tqrepaintItem( this ); // Better than ::tqrepaint(), flickers less + listView()->repaintItem( this ); // Better than ::tqrepaint(), flickers less if( m_animCount >= ANIM_MAX ) m_animTimer->stop(); @@ -743,7 +743,7 @@ StatisticsItem::slotAnimTimer() else { m_animCount -= 1; - listView()->tqrepaintItem( this ); + listView()->repaintItem( this ); if( m_animCount <= 0 ) { m_animTimer->stop(); diff --git a/amarok/src/systray.h b/amarok/src/systray.h index ead82bcd..63383733 100644 --- a/amarok/src/systray.h +++ b/amarok/src/systray.h @@ -36,7 +36,7 @@ private: bool event( TQEvent* ); void setLastFm( bool ); - // tqrepaints trayIcon showing progress (and overlay if present) + // repaints trayIcon showing progress (and overlay if present) void paintIcon( int mergePixels = -1, bool force = false ); // blend an overlay icon over 'sourcePixmap' and tqrepaint trayIcon void blendOverlay( TQPixmap &sourcePixmap );