#include <kio/previewjob.h>
#include <kiconeffect.h>
#include <kjob.h>
-#include <kmimetyperesolver.h>
#include <konqmimedata.h>
#include "iconmanager.h"
m_selectionManager, SLOT(reset()));
}
- new KMimeTypeResolver(this, m_dolphinModel);
m_iconManager = new IconManager(this, m_proxyModel);
m_iconManager->setShowPreview(m_view->m_controller->dolphinView()->showPreview());
void DolphinColumnWidget::mousePressEvent(QMouseEvent* event)
{
requestActivation();
+ if (!indexAt(event->pos()).isValid()) {
+ if (QApplication::mouseButtons() & Qt::MidButton) {
+ m_view->m_controller->replaceUrlByClipboard();
+ }
+ } else if (event->button() == Qt::LeftButton) {
+ // TODO: see comment in DolphinIconsView::mousePressEvent()
+ setState(QAbstractItemView::DraggingState);
+ }
QListView::mousePressEvent(event);
}