summaryrefslogtreecommitdiffstats
path: root/amarok/src/queuemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'amarok/src/queuemanager.cpp')
-rw-r--r--amarok/src/queuemanager.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/amarok/src/queuemanager.cpp b/amarok/src/queuemanager.cpp
index cec41390..6813dbe7 100644
--- a/amarok/src/queuemanager.cpp
+++ b/amarok/src/queuemanager.cpp
@@ -38,9 +38,9 @@
void
QueueItem::paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int align )
{
- KListViewItem::paintCell( p, cg, column, width, align );
+ TDEListViewItem::paintCell( p, cg, column, width, align );
- TQString str = TQString::number( ( static_cast<KListView *>( listView() ) )->itemIndex( this ) + 1 );
+ TQString str = TQString::number( ( static_cast<TDEListView *>( listView() ) )->itemIndex( this ) + 1 );
//draw the symbol's outline
uint fw = p->fontMetrics().width( str ) + 2;
@@ -65,7 +65,7 @@ QueueItem::paintCell( TQPainter *p, const TQColorGroup &cg, int column, int widt
//////////////////////////////////////////////////////////////////////////////////////////
QueueList::QueueList( TQWidget *parent, const char *name )
- : KListView( parent, name )
+ : TDEListView( parent, name )
{
addColumn( i18n("Name") );
setResizeMode( TQListView::LastColumn );
@@ -81,7 +81,7 @@ QueueList::QueueList( TQWidget *parent, const char *name )
void
QueueList::viewportPaintEvent( TQPaintEvent *e )
{
- if( e ) KListView::viewportPaintEvent( e );
+ if( e ) TDEListView::viewportPaintEvent( e );
if( !childCount() && e )
{
@@ -229,7 +229,7 @@ QueueList::removeSelected() //SLOT
void
QueueList::clear() // SLOT
{
- KListView::clear();
+ TDEListView::clear();
emit changed();
}
@@ -237,17 +237,17 @@ void
QueueList::contentsDragEnterEvent( TQDragEnterEvent *e )
{
debug() << "contentsDrageEnterEvent()" << endl;
- e->accept( e->source() == reinterpret_cast<KListView*>( Playlist::instance() )->viewport() );
+ e->accept( e->source() == reinterpret_cast<TDEListView*>( Playlist::instance() )->viewport() );
}
void
QueueList::contentsDragMoveEvent( TQDragMoveEvent *e )
{
debug() << "contentsDrageMoveEvent()" << endl;
- KListView::contentsDragMoveEvent( e );
+ TDEListView::contentsDragMoveEvent( e );
// Must be overloaded for dnd to work
- e->accept( ( e->source() == reinterpret_cast<KListView*>( Playlist::instance() )->viewport() ) ||
+ e->accept( ( e->source() == reinterpret_cast<TDEListView*>( Playlist::instance() )->viewport() ) ||
e->source() == viewport() );
}
@@ -257,7 +257,7 @@ QueueList::contentsDropEvent( TQDropEvent *e )
debug() << "contentsDragDropEvent()" << endl;
if( e->source() == viewport() )
{
- KListView::contentsDropEvent( e );
+ TDEListView::contentsDropEvent( e );
emit changed();
}
else