┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 396892c21..ba7242a8e 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -240,12 +240,9 @@ public:
KUrl::List selectedUrls() const;
/**
- * Returns the current item, where the cursor is. 0 is returned, if there is no
- * current item (e. g. if the view is empty). Note that the current item must
- * not be a selected item.
- * @see DolphinView::selectedItems()
+ * Returns the file item for the given model index \a index.
*/
- const KFileItem* currentFileItem() const;
+ KFileItem* fileItem(const QModelIndex index) const;
/**
* Opens the context menu for the item indicated by \a fileInfo