┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.h
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2007-08-13 21:57:20 +0000
committerDavid Faure <[email protected]>2007-08-13 21:57:20 +0000
commit81fcd720a2cc095262e52b8a40dd1472d774a415 (patch)
treea98ca305384c3e8ed8d4c49a4bff746fdc3dde2d /src/dolphinviewcontainer.h
parent1f5476dd45efa74d847b041bb03f64f4d4a8c9c4 (diff)
Use KFileItem by value rather than by pointer
- in KDirModel::itemForIndex, as noted there as a TODO - in dolphin, everywhere. svn path=/trunk/KDE/kdebase/apps/; revision=699691
Diffstat (limited to 'src/dolphinviewcontainer.h')
-rw-r--r--src/dolphinviewcontainer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h
index b8715d804..95be9134c 100644
--- a/src/dolphinviewcontainer.h
+++ b/src/dolphinviewcontainer.h
@@ -97,7 +97,7 @@ public:
*/
void renameSelectedItems();
- KFileItem* fileItem(const QModelIndex index) const;
+ KFileItem fileItem(const QModelIndex& index) const;
inline const DolphinStatusBar* statusBar() const;
inline DolphinStatusBar* statusBar();
@@ -177,7 +177,7 @@ private slots:
* should be applied to \a url.
* @url URL which contains \a item.
*/
- void openContextMenu(KFileItem* item, const KUrl& url);
+ void openContextMenu(const KFileItem& item, const KUrl& url);
/**
* Saves the position of the contents to the