From fca6867fea49edb4134332562f518ddddd3fc2a1 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 10 Mar 2007 21:58:55 +0000 Subject: Apply an item effect to all cut items. As discussed with Fredrik this should be done in the application itself and not inside KDirModel to be able to do some optimizations. svn path=/trunk/KDE/kdebase/apps/; revision=641317 --- src/dolphinview.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 2507e9e8e..5cfd7904d 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -346,6 +346,9 @@ public slots: */ void requestActivation(); + /** Applies an item effect to all cut items of the clipboard. */ + void updateCutItems(); + signals: /** Is emitted if URL of the view has been changed to \a url. */ void urlChanged(const KUrl& url); @@ -522,6 +525,12 @@ private: */ bool isValidNameIndex(const QModelIndex& index) const; + /** + * Returns true, if the item \a item has been cut into + * the clipboard. + */ + bool isCutItem(const KFileItem& item) const; + private: bool m_showProgress; Mode m_mode; -- cgit v1.3