]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/places/placespanel.h
[Places Panel] Make use of KFilePlacesView::dragAutoActivationDelay
[dolphin.git] / src / panels / places / placespanel.h
index fd6661c76fececbf67655000e3649aef9dd93042..97be1f735016ccd05bd1523e01b941ab4caf8601 100644 (file)
@@ -54,12 +54,9 @@ Q_SIGNALS:
 
 protected:
     void showEvent(QShowEvent* event) override;
-    void dragMoveEvent(QDragMoveEvent *event) override;
-    void dragLeaveEvent(QDragLeaveEvent *event) override;
 
 private Q_SLOTS:
     void slotConfigureTrash();
-    void slotDragActivationTimeout();
     void slotUrlsDropped(const QUrl& dest, QDropEvent* event, QWidget* parent);
     void slotContextMenuAboutToShow(const QModelIndex &index, QMenu *menu);
     void slotTearDownRequested(const QModelIndex &index);
@@ -74,9 +71,6 @@ private:
     QUrl m_url; // only used for initial setUrl
     QList<QAction*> m_customContextMenuActions;
 
-    QTimer *m_dragActivationTimer = nullptr;
-    QPersistentModelIndex m_pendingDragActivation;
-
     Solid::StorageAccess *m_deviceToTearDown = nullptr;
 
     QAction *m_configureTrashAction;