From 53d65e6392d3b03d7709385df5006d5d34c22852 Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 15 Nov 2007 14:59:02 +0000 Subject: Implement renaming in dolphinpart. No more rename action provided by konqueror, the part provides it now. Had to move a bit of code around in dolphin, as discussed with Peter. svn path=/trunk/KDE/kdebase/apps/; revision=737121 --- src/dolphinpart.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/dolphinpart.h') diff --git a/src/dolphinpart.h b/src/dolphinpart.h index 432b55bd3..eb1e009ec 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -21,6 +21,7 @@ #define DOLPHINPART_H #include +class KFileItemList; class KFileItem; class DolphinPartBrowserExtension; class DolphinSortFilterProxyModel; @@ -77,9 +78,19 @@ private Q_SLOTS: */ void slotUrlChanged(const KUrl& url); + /** + * Updates the state of the 'Edit' menu actions and emits + * the signal selectionChanged(). + */ + void slotSelectionChanged(const KFileItemList& selection); + + /** + * Same as in DolphinMainWindow: updates the view menu actions + */ + void updateViewActions(); + private: void createActions(); - void updateViewActions(); private: DolphinView* m_view; @@ -90,6 +101,4 @@ private: Q_DISABLE_COPY(DolphinPart) }; - #endif /* DOLPHINPART_H */ - -- cgit v1.3