┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-06-19 16:35:52 +0000
committerPeter Penz <[email protected]>2007-06-19 16:35:52 +0000
commit5926d0fddd94d25a5546eee82a6dd8f072196b83 (patch)
tree84d7772c5aa8031702c8e69d090e8b74f8a159cb /src/dolphinview.h
parentd79282c14cc49fc774dbcccfcb6bdfedcac03870 (diff)
* fixed issue that some view properties like "show in groups" are ignored when a new DolphinViewContainer has been created (happens on startup or when a view is split)
* get rid of redundant parameter in constructors of DolphinView and DolphinViewContainer svn path=/trunk/KDE/kdebase/apps/; revision=677654
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 3d0f9a548..1a240be7a 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -115,15 +115,12 @@ public:
* @param proxyModel Used proxy model which specifies the sorting. The
* model is not owned by the view and won't get
* deleted.
- * @param mode Used display mode (IconsView, DetailsView or ColumnsView).
- * @param showHiddenFiles If true, hidden files will be shown in the view.
*/
DolphinView(QWidget* parent,
const KUrl& url,
KDirLister* dirLister,
KDirModel* dirModel,
- DolphinSortFilterProxyModel* proxyModel,
- Mode mode);
+ DolphinSortFilterProxyModel* proxyModel);
virtual ~DolphinView();
@@ -473,6 +470,12 @@ private:
void startDirLister(const KUrl& url, bool reload = false);
/**
+ * Applies the view properties which are defined by the current URL
+ * m_url to the DolphinView properties.
+ */
+ void applyViewProperties(const KUrl& url);
+
+ /**
* Creates a new view representing the given view mode (DolphinView::mode()).
* The current view will get deleted.
*/