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/dolphinview.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index abb82527e..ff72bbaa7 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -358,6 +358,11 @@ public slots: */ void changeSelection(const KFileItemList& selection); + /** + * Triggers the renaming of the currently selected items, where + * the user must input a new name for the items. + */ + void renameSelectedItems(); signals: /** @@ -446,6 +451,12 @@ signals: */ void startedPathLoading(const KUrl& url); + /** + * Is emitted when renaming one or more items. + * Used for feedback in the mainwindow. + */ + void renaming(); + protected: /** @see QWidget::mouseReleaseEvent */ virtual void mouseReleaseEvent(QMouseEvent* event); -- cgit v1.3