diff options
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h index fa5b18471..b42f57007 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -47,6 +47,7 @@ class DolphinModel; class DolphinSortFilterProxyModel; class IconManager; class KAction; +class KActionCollection; class KDirLister; class KFileItemDelegate; class KUrl; @@ -116,21 +117,23 @@ public: }; /** - * @param parent Parent widget of the view. - * @param url Specifies the content which should be shown. - * @param dirLister Used directory lister. The lister is not owned - * by the view and won't get deleted. - * @param dolphinModel Used directory model. The model is not owned - * by the view and won't get deleted. - * @param proxyModel Used proxy model which specifies the sorting. The - * model is not owned by the view and won't get - * deleted. + * @param parent Parent widget of the view. + * @param url Specifies the content which should be shown. + * @param dirLister Used directory lister. The lister is not owned + * by the view and won't get deleted. + * @param dolphinModel Used directory model. The model is not owned + * by the view and won't get deleted. + * @param proxyModel Used proxy model which specifies the sorting. The + * model is not owned by the view and won't get + * deleted. + * @param actionCollection Action collection which contains the menu actions. */ DolphinView(QWidget* parent, const KUrl& url, KDirLister* dirLister, DolphinModel* dolphinModel, - DolphinSortFilterProxyModel* proxyModel); + DolphinSortFilterProxyModel* proxyModel, + KActionCollection* actionCollection); virtual ~DolphinView(); @@ -591,6 +594,12 @@ private slots: */ void slotDeleteFileFinished(KJob* job); + /** + * Opens the dialog for creating a directory. Is connected + * with the key shortcut for "new directory" (F10). + */ + void createDir(); + private: void loadDirectory(const KUrl& url, bool reload = false); |
