┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.h
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2007-11-15 14:59:02 +0000
committerDavid Faure <[email protected]>2007-11-15 14:59:02 +0000
commit53d65e6392d3b03d7709385df5006d5d34c22852 (patch)
tree8835b13baca4e53540c3f94cc1f4472c77c4567c /src/dolphinpart.h
parent205bf2035d30517e781271bbcae8e4c102d71871 (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/dolphinpart.h')
-rw-r--r--src/dolphinpart.h15
1 files changed, 12 insertions, 3 deletions
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 <kparts/part.h>
+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 */
-