/***************************************************************************
- * Copyright (C) 2006 by Peter Penz <peter.penz@gmx.at> *
+ * Copyright (C) 2006 by Peter Penz <peter.penz19@gmail.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
#include "paneltreeview.h"
-#include "dolphinviewcontroller.h"
-#include "dolphinmodel.h"
-#include "draganddrophelper.h"
-#include "viewmodecontroller.h"
-
-#include <kfileitemdelegate.h>
+#include <KFileItemDelegate>
+#include <QListView>
#include <QKeyEvent>
#include <QPainter>
#include <QHeaderView>
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)