remove unused internal QListView methods

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-03-14 09:06:01 +02:00
parent fba0ea5f05
commit 5b05fc946e
2 changed files with 0 additions and 28 deletions

View file

@ -860,31 +860,6 @@ void QListView::startDrag(Qt::DropActions supportedActions)
if (!d_func()->commonListView->filterStartDrag(supportedActions))
QAbstractItemView::startDrag(supportedActions);
}
/*!
\internal
Called whenever items from the view is dropped on the viewport.
The \a event provides additional information.
*/
void QListView::internalDrop(QDropEvent *event)
{
// ### Qt5: remove that function
Q_UNUSED(event);
}
/*!
\internal
Called whenever the user starts dragging items and the items are movable,
enabling internal dragging and dropping of items.
*/
void QListView::internalDrag(Qt::DropActions supportedActions)
{
// ### Qt5: remove that function
Q_UNUSED(supportedActions);
}
#endif // QT_NO_DRAGANDDROP
/*!

View file

@ -136,9 +136,6 @@ protected:
void dragLeaveEvent(QDragLeaveEvent *e);
void dropEvent(QDropEvent *e);
void startDrag(Qt::DropActions supportedActions);
void internalDrop(QDropEvent *e);
void internalDrag(Qt::DropActions supportedActions);
#endif // QT_NO_DRAGANDDROP
QStyleOptionViewItem viewOptions() const;