mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeui: remove redundant KCategorizedView reimplementations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
0af76ed8a1
commit
1fe8252c95
2 changed files with 0 additions and 52 deletions
|
@ -1070,32 +1070,12 @@ void KCategorizedView::leaveEvent(QEvent *event)
|
|||
}
|
||||
}
|
||||
|
||||
void KCategorizedView::startDrag(Qt::DropActions supportedActions)
|
||||
{
|
||||
QListView::startDrag(supportedActions);
|
||||
}
|
||||
|
||||
void KCategorizedView::dragMoveEvent(QDragMoveEvent *event)
|
||||
{
|
||||
QListView::dragMoveEvent(event);
|
||||
d->hoveredIndex = indexAt(event->pos());
|
||||
}
|
||||
|
||||
void KCategorizedView::dragEnterEvent(QDragEnterEvent *event)
|
||||
{
|
||||
QListView::dragEnterEvent(event);
|
||||
}
|
||||
|
||||
void KCategorizedView::dragLeaveEvent(QDragLeaveEvent *event)
|
||||
{
|
||||
QListView::dragLeaveEvent(event);
|
||||
}
|
||||
|
||||
void KCategorizedView::dropEvent(QDropEvent *event)
|
||||
{
|
||||
QListView::dropEvent(event);
|
||||
}
|
||||
|
||||
//TODO: improve se we take into account collapsed blocks
|
||||
//TODO: take into account when there is no grid and no uniformItemSizes
|
||||
QModelIndex KCategorizedView::moveCursor(CursorAction cursorAction,
|
||||
|
@ -1428,12 +1408,6 @@ void KCategorizedView::updateGeometries()
|
|||
//END bugs 213068, 287847 --------------------------------------------------------------
|
||||
}
|
||||
|
||||
void KCategorizedView::currentChanged(const QModelIndex ¤t,
|
||||
const QModelIndex &previous)
|
||||
{
|
||||
QListView::currentChanged(current, previous);
|
||||
}
|
||||
|
||||
void KCategorizedView::dataChanged(const QModelIndex &topLeft,
|
||||
const QModelIndex &bottomRight)
|
||||
{
|
||||
|
|
|
@ -244,31 +244,11 @@ protected:
|
|||
*/
|
||||
virtual void leaveEvent(QEvent *event);
|
||||
|
||||
/**
|
||||
* Reimplemented from QAbstractItemView.
|
||||
*/
|
||||
virtual void startDrag(Qt::DropActions supportedActions);
|
||||
|
||||
/**
|
||||
* Reimplemented from QAbstractItemView.
|
||||
*/
|
||||
virtual void dragMoveEvent(QDragMoveEvent *event);
|
||||
|
||||
/**
|
||||
* Reimplemented from QAbstractItemView.
|
||||
*/
|
||||
virtual void dragEnterEvent(QDragEnterEvent *event);
|
||||
|
||||
/**
|
||||
* Reimplemented from QAbstractItemView.
|
||||
*/
|
||||
virtual void dragLeaveEvent(QDragLeaveEvent *event);
|
||||
|
||||
/**
|
||||
* Reimplemented from QAbstractItemView.
|
||||
*/
|
||||
virtual void dropEvent(QDropEvent *event);
|
||||
|
||||
/**
|
||||
* Reimplemented from QAbstractItemView.
|
||||
*/
|
||||
|
@ -287,12 +267,6 @@ protected:
|
|||
*/
|
||||
virtual void updateGeometries();
|
||||
|
||||
/**
|
||||
* Reimplemented from QAbstractItemView.
|
||||
*/
|
||||
virtual void currentChanged(const QModelIndex ¤t,
|
||||
const QModelIndex &previous);
|
||||
|
||||
/**
|
||||
* Reimplemented from QAbstractItemView.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue