diff options
Diffstat (limited to 'src/basketlistview.cpp')
-rw-r--r-- | src/basketlistview.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/basketlistview.cpp b/src/basketlistview.cpp index a747a6d..0ad8871 100644 --- a/src/basketlistview.cpp +++ b/src/basketlistview.cpp @@ -633,7 +633,7 @@ private: /** class BasketTreeListView: */ BasketTreeListView::BasketTreeListView(TQWidget *parent, const char *name) - : KListView(parent, name), m_autoOpenItem(0) + : TDEListView(parent, name), m_autoOpenItem(0) , m_itemUnderDrag(0) { setWFlags(TQt::WStaticContents | WNoAutoErase); @@ -646,7 +646,7 @@ BasketTreeListView::BasketTreeListView(TQWidget *parent, const char *name) void BasketTreeListView::viewportResizeEvent(TQResizeEvent *event) { - KListView::viewportResizeEvent(event); + TDEListView::viewportResizeEvent(event); triggerUpdate(); } @@ -665,7 +665,7 @@ void BasketTreeListView::contentsDragEnterEvent(TQDragEnterEvent *event) update(); } - KListView::contentsDragEnterEvent(event); + TDEListView::contentsDragEnterEvent(event); } void BasketTreeListView::removeExpands() @@ -687,7 +687,7 @@ void BasketTreeListView::contentsDragLeaveEvent(TQDragLeaveEvent *event) m_autoOpenTimer.stop(); setItemUnderDrag(0); removeExpands(); - KListView::contentsDragLeaveEvent(event); + TDEListView::contentsDragLeaveEvent(event); } void BasketTreeListView::contentsDropEvent(TQDropEvent *event) @@ -695,7 +695,7 @@ void BasketTreeListView::contentsDropEvent(TQDropEvent *event) std::cout << "BasketTreeListView::contentsDropEvent()" << std::endl; if (event->provides("application/x-qlistviewitem")) { - KListView::contentsDropEvent(event); + TDEListView::contentsDropEvent(event); } else { std::cout << "Forwarding dropped data to the basket" << std::endl; @@ -721,7 +721,7 @@ void BasketTreeListView::contentsDragMoveEvent(TQDragMoveEvent *event) { std::cout << "BasketTreeListView::contentsDragMoveEvent" << std::endl; if (event->provides("application/x-qlistviewitem")) - KListView::contentsDragMoveEvent(event); + TDEListView::contentsDragMoveEvent(event); else { TQListViewItem *item = itemAt(contentsToViewport(event->pos())); BasketListViewItem* bitem = dynamic_cast<BasketListViewItem*>(item); @@ -735,7 +735,7 @@ void BasketTreeListView::contentsDragMoveEvent(TQDragMoveEvent *event) } setItemUnderDrag(bitem); - KListView::contentsDragMoveEvent(event); // FIXME: ADDED + TDEListView::contentsDragMoveEvent(event); // FIXME: ADDED } } @@ -767,7 +767,7 @@ void BasketTreeListView::autoOpen() void BasketTreeListView::resizeEvent(TQResizeEvent *event) { - KListView::resizeEvent(event); + TDEListView::resizeEvent(event); } void BasketTreeListView::paintEmptyArea(TQPainter *painter, const TQRect &rect) @@ -793,12 +793,12 @@ void BasketTreeListView::paintEmptyArea(TQPainter *painter, const TQRect &rect) } /** We should NEVER get focus (because of TQ_NoFocus focusPolicy()) - * but KListView can programatically give us the focus. + * but TDEListView can programatically give us the focus. * So we give it to the basket. */ void BasketTreeListView::focusInEvent(TQFocusEvent*) { - //KListView::focusInEvent(event); + //TDEListView::focusInEvent(event); Basket *basket = Global::bnpView->currentBasket(); if (basket) basket->setFocus(); |