┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-08-30 20:49:34 +0000
committerPeter Penz <[email protected]>2009-08-30 20:49:34 +0000
commitef68f84a6ecdd84ea4b49686a02984c768d9fa39 (patch)
treed3432deb6d3afcd7fd29899a9914f1bae447d598 /src/dolphinview.h
parenta2a99926359cb58519b7814bba662f2afa4eee5d (diff)
Restore "open folders automatically when dragging items above it" (it had been temporary deactivated because of the column view refactoring).
svn path=/trunk/KDE/kdebase/apps/; revision=1017531
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 822eb52b0..57bf5d2f9 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -675,13 +675,6 @@ private slots:
void slotRefreshItems();
/**
- * If \a view can be positively identified as not being the source for the
- * current drag operation, deleteLater() it immediately. Else stores
- * it for later deletion.
- */
- void deleteWhenNotDragSource(QAbstractItemView* view);
-
- /**
* Observes the item with the URL \a url. As soon as the directory
* model indicates that the item is available, the item will
* get selected and it is assure that the item stays visible.
@@ -761,6 +754,7 @@ private:
{
public:
ViewAccessor(DolphinSortFilterProxyModel* proxyModel);
+ ~ViewAccessor();
void createView(QWidget* parent, DolphinController* controller, Mode mode);
void deleteView();
@@ -784,7 +778,6 @@ private:
KUrl rootUrl() const;
bool supportsCategorizedSorting() const;
- bool hasExpandableFolders() const;
bool itemsExpandable() const;
/**
@@ -803,6 +796,7 @@ private:
DolphinDetailsView* m_detailsView;
DolphinColumnViewContainer* m_columnsContainer;
DolphinSortFilterProxyModel* m_proxyModel;
+ QAbstractItemView* m_dragSource;
};
bool m_active : 1;
@@ -836,8 +830,6 @@ private:
* slotDirListerCompleted().
*/
QSet<QString> m_newFileNames;
-
- QAbstractItemView* m_expandedDragSource; // TODO: move to ViewAccessor
};
/// Allow using DolphinView::Mode in QVariant