Remove obsolete internal functions.
authorStephen Kelly <stephen.kelly@kdab.com>
Wed, 21 Mar 2012 19:46:30 +0000 (20:46 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 22 Mar 2012 13:59:12 +0000 (14:59 +0100)
Change-Id: Ib0deecfe4bfc13504b98e6e1f3349f8c57b25314
Reviewed-by: Sean Harmer <sh@theharmers.co.uk>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/widgets/itemviews/qlistview.cpp
src/widgets/itemviews/qlistview.h

index 872798a..efcff3f 100644 (file)
@@ -894,30 +894,6 @@ void QListView::startDrag(Qt::DropActions 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
 
 /*!
index d278dec..7b065b0 100644 (file)
@@ -160,9 +160,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;