diff options
| author | Peter Penz <[email protected]> | 2007-01-21 21:20:37 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-01-21 21:20:37 +0000 |
| commit | 70999c96a27777c2b1d0774b410680abd47eb131 (patch) | |
| tree | 2ca53017101e8e5d859db216cfa0e7bf93798f6a /src/dolphinview.h | |
| parent | 07e07fd522cc278dffccc3b8b6faded0f6f5df20 (diff) | |
Cleanup of DolphinContextMenu:
- don't use any deprecated methods anymore
- temporary deactivated the "Open With..." submenu. There's a crash in KDirModel when invoking KFileItem::mimetype(); although the same code worked with an older version of kdelibs, I assume this is a Dolphin issue -> I'll do some further analyses...
svn path=/trunk/playground/utils/dolphin/; revision=626023
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 7 |
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 |
