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
v3.5.13-sru
tpearson 13 years ago
parent 1219a52be3
commit 324094a18c

@ -433,7 +433,7 @@ void MagnatuneBrowser::updateList()
for ( it = artists.begin(); it != artists.end(); ++it ) for ( it = artists.begin(); it != artists.end(); ++it )
new MagnatuneListViewArtistItem( ( *it ), m_listView ); new MagnatuneListViewArtistItem( ( *it ), m_listView );
m_listView->tqrepaintContents(); m_listView->repaintContents();
} }
void MagnatuneBrowser::genreChanged() void MagnatuneBrowser::genreChanged()

@ -60,7 +60,7 @@ void MagnatuneListViewArtistItem::setOpen( bool o )
listView()->setUpdatesEnabled( true ); listView()->setUpdatesEnabled( true );
KListViewItem::setOpen( o ); KListViewItem::setOpen( o );
tqinvalidateHeight(); tqinvalidateHeight();
listView()->tqrepaintContents(); listView()->repaintContents();
} }
@ -118,7 +118,7 @@ void MagnatuneListViewAlbumItem::setOpen( bool o )
listView()->setUpdatesEnabled( true ); listView()->setUpdatesEnabled( true );
KListViewItem::setOpen( o ); KListViewItem::setOpen( o );
tqinvalidateHeight(); tqinvalidateHeight();
listView()->tqrepaintContents(); listView()->repaintContents();
} }

@ -657,7 +657,7 @@ Playlist::setDynamicHistory( bool enable /*false*/ )
{ {
if( *it == m_currentTrack ) break; if( *it == m_currentTrack ) break;
//avoid tqrepainting if we can. //avoid repainting if we can.
if( (*it)->isDynamicEnabled() == enable ) if( (*it)->isDynamicEnabled() == enable )
{ {
(*it)->setDynamicEnabled( !enable ); (*it)->setDynamicEnabled( !enable );
@ -4430,7 +4430,7 @@ Playlist::refreshNextTracks( int from )
{ {
// This function scans the m_nextTracks list starting from the 'from' // This function scans the m_nextTracks list starting from the 'from'
// position and from there on updates the progressive numbering on related // 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. // a renumbering/order changing at some point of the m_nextTracks list.
//start on the 'from'-th item of the 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 ) for( PlaylistIterator it( this, PlaylistIterator::All ) ; *it ; ++it )
{ {
(*it)->moodbar().reset(); (*it)->moodbar().reset();
tqrepaintItem(*it); repaintItem(*it);
} }
} }
} }

@ -784,7 +784,7 @@ void PlaylistEntry::customEvent( TQCustomEvent *e )
stopAnimation(); //stops the loading animation stopAnimation(); //stops the loading animation
if( m_trackCount && !m_dynamic && !isDynamic() ) setOpen( true ); if( m_trackCount && !m_dynamic && !isDynamic() ) setOpen( true );
else listView()->tqrepaintItem( this ); else listView()->repaintItem( this );
m_trackCount = m_trackList.count(); m_trackCount = m_trackList.count();
} }
@ -951,7 +951,7 @@ void PlaylistEntry::setDynamic( bool enable )
m_dynamic = enable; m_dynamic = enable;
} }
listView()->tqrepaintItem( this ); listView()->repaintItem( this );
} }
void PlaylistEntry::setup() void PlaylistEntry::setup()

@ -379,7 +379,7 @@ int PlaylistItem::ratingColumnWidth() //static
void PlaylistItem::update() const void PlaylistItem::update() const
{ {
listView()->tqrepaintItem( this ); listView()->repaintItem( this );
} }
void PlaylistItem::updateColumn( int column ) const void PlaylistItem::updateColumn( int column ) const

@ -556,7 +556,7 @@ StatisticsList::expandInformation( StatisticsItem *item, bool refresh )
} }
item->setExpanded( true ); item->setExpanded( true );
tqrepaintItem( item ); // Better than ::tqrepaint(), flickers less repaintItem( item ); // Better than ::tqrepaint(), flickers less
delete locale; delete locale;
} }
@ -735,7 +735,7 @@ StatisticsItem::slotAnimTimer()
if( m_animEnter ) if( m_animEnter )
{ {
m_animCount += 1; m_animCount += 1;
listView()->tqrepaintItem( this ); // Better than ::tqrepaint(), flickers less listView()->repaintItem( this ); // Better than ::tqrepaint(), flickers less
if( m_animCount >= ANIM_MAX ) if( m_animCount >= ANIM_MAX )
m_animTimer->stop(); m_animTimer->stop();
@ -743,7 +743,7 @@ StatisticsItem::slotAnimTimer()
else else
{ {
m_animCount -= 1; m_animCount -= 1;
listView()->tqrepaintItem( this ); listView()->repaintItem( this );
if( m_animCount <= 0 ) if( m_animCount <= 0 )
{ {
m_animTimer->stop(); m_animTimer->stop();

@ -36,7 +36,7 @@ private:
bool event( TQEvent* ); bool event( TQEvent* );
void setLastFm( bool ); 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 ); void paintIcon( int mergePixels = -1, bool force = false );
// blend an overlay icon over 'sourcePixmap' and tqrepaint trayIcon // blend an overlay icon over 'sourcePixmap' and tqrepaint trayIcon
void blendOverlay( TQPixmap &sourcePixmap ); void blendOverlay( TQPixmap &sourcePixmap );

Loading…
Cancel
Save