┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.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/dolphincontextmenu.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/dolphincontextmenu.h')
-rw-r--r--src/dolphincontextmenu.h6
1 files changed, 3 insertions, 3 deletions
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<KFileItem> m_selectedItems;
KUrl::List m_selectedUrls;
int m_context;
};