┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-03-10 21:58:55 +0000
committerPeter Penz <[email protected]>2007-03-10 21:58:55 +0000
commitfca6867fea49edb4134332562f518ddddd3fc2a1 (patch)
treed7ed5d1ae9e14f1002c357380be23a4fa029ac1d /src/dolphinview.h
parent175f629b699cad7845cc720815c0aa4b56846553 (diff)
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
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h9
1 files changed, 9 insertions, 0 deletions
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;