From 83fbc82a101309e171089f0d5ed080f82a367345 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:49:11 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- juk/playlistbox.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'juk/playlistbox.cpp') diff --git a/juk/playlistbox.cpp b/juk/playlistbox.cpp index d0e82d27..f3701edb 100644 --- a/juk/playlistbox.cpp +++ b/juk/playlistbox.cpp @@ -208,7 +208,7 @@ void PlaylistBox::duplicate() void PlaylistBox::paste() { Item *i = static_cast(currentItem()); - decode(kapp->tqclipboard()->data(), i); + decode(kapp->clipboard()->data(), i); } //////////////////////////////////////////////////////////////////////////////// @@ -445,7 +445,7 @@ void PlaylistBox::contentsDropEvent(TQDropEvent *e) if(m_dropItem) { Item *old = m_dropItem; m_dropItem = 0; - old->tqrepaint(); + old->repaint(); } } @@ -493,14 +493,14 @@ void PlaylistBox::contentsDragMoveEvent(TQDragMoveEvent *e) if(e->isAccepted()) { m_dropItem = target; - target->tqrepaint(); + target->repaint(); m_showTimer->start(1500, true); } else m_dropItem = 0; if(old) - old->tqrepaint(); + old->repaint(); } } else { @@ -517,7 +517,7 @@ void PlaylistBox::contentsDragLeaveEvent(TQDragLeaveEvent *e) if(m_dropItem) { Item *old = m_dropItem; m_dropItem = 0; - old->tqrepaint(); + old->repaint(); } KListView::contentsDragLeaveEvent(e); } @@ -722,10 +722,10 @@ int PlaylistBox::Item::compare(TQListViewItem *i, int col, bool) const return text(col).lower().localeAwareCompare(i->text(col).lower()); } -void PlaylistBox::Item::paintCell(TQPainter *painter, const TQColorGroup &tqcolorGroup, int column, int width, int align) +void PlaylistBox::Item::paintCell(TQPainter *painter, const TQColorGroup &colorGroup, int column, int width, int align) { PlaylistBox *playlistBox = static_cast(listView()); - playlistBox->viewMode()->paintCell(this, painter, tqcolorGroup, column, width, align); + playlistBox->viewMode()->paintCell(this, painter, colorGroup, column, width, align); } void PlaylistBox::Item::setText(int column, const TQString &text) -- cgit v1.2.1