#include <QHeaderView>
#include <QScrollBar>
-#include <views/dolphinmodel.h>
-#include <views/draganddrophelper.h>
-
PanelTreeView::PanelTreeView(QWidget* parent) :
KTreeView(parent)
{
switch (event->type()) {
case QEvent::Polish:
// Hide all columns except of the 'Name' column
- for (int i = DolphinModel::Name + 1; i < DolphinModel::ExtraColumnCount; ++i) {
+ /*for (int i = DolphinModel::Name + 1; i < DolphinModel::ExtraColumnCount; ++i) {
hideColumn(i);
}
- header()->hide();
+ header()->hide();*/
break;
case QEvent::Show:
void PanelTreeView::startDrag(Qt::DropActions supportedActions)
{
- DragAndDropHelper::instance().startDrag(this, supportedActions);
+ Q_UNUSED(supportedActions);
+ //DragAndDropHelper::instance().startDrag(this, supportedActions);
}
void PanelTreeView::dragEnterEvent(QDragEnterEvent* event)