#include "dolphin_placespanelsettings.h"
#include "dolphinplacesmodelsingleton.h"
#include "settings/dolphinsettingsdialog.h"
-#include "views/draganddrophelper.h"
#include <KFilePlacesModel>
#include <KIO/DropJob>
PlacesPanel::PlacesPanel(QWidget *parent)
: KFilePlacesView(parent)
+ , m_dragAndDropHelper(this)
{
setDropOnPlaceEnabled(true);
connect(this, &PlacesPanel::urlsDropped, this, &PlacesPanel::slotUrlsDropped);
if (!url.isValid() || !KProtocolManager::supportsWriting(url)) {
event->setDropAction(Qt::IgnoreAction);
} else {
- DragAndDropHelper::updateDropAction(event, url);
+ m_dragAndDropHelper.updateDropAction(event, url);
}
}
}