diff options
| author | David Faure <[email protected]> | 2007-11-15 14:59:02 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2007-11-15 14:59:02 +0000 |
| commit | 53d65e6392d3b03d7709385df5006d5d34c22852 (patch) | |
| tree | 8835b13baca4e53540c3f94cc1f4472c77c4567c /src/dolphinview.h | |
| parent | 205bf2035d30517e781271bbcae8e4c102d71871 (diff) | |
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
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 11 |
1 files changed, 11 insertions, 0 deletions
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); |
