From 81fcd720a2cc095262e52b8a40dd1472d774a415 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 13 Aug 2007 21:57:20 +0000 Subject: 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 --- src/dolphincontextmenu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dolphincontextmenu.h') diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h index b8920b7e2..3ace122d6 100644 --- a/src/dolphincontextmenu.h +++ b/src/dolphincontextmenu.h @@ -62,7 +62,7 @@ public: * @viewType On which view type is the context menu shown. */ DolphinContextMenu(DolphinMainWindow* parent, - KFileItem* fileInfo, + const KFileItem& fileInfo, const KUrl& baseUrl); virtual ~DolphinContextMenu(); @@ -127,9 +127,9 @@ private: }; DolphinMainWindow* m_mainWindow; - KFileItem* m_fileInfo; + KFileItem m_fileInfo; KUrl m_baseUrl; - KFileItemList m_selectedItems; + QList m_selectedItems; KUrl::List m_selectedUrls; int m_context; }; -- cgit v1.3