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/sidebarpage.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sidebarpage.h') diff --git a/src/sidebarpage.h b/src/sidebarpage.h index 697e8de58..90f0194d3 100644 --- a/src/sidebarpage.h +++ b/src/sidebarpage.h @@ -39,7 +39,7 @@ public: const KUrl& url() const; /** Returns the current selected items of the active Dolphin view. */ - const KFileItemList& selection() const; + const QList& selection() const; public slots: /** @@ -52,7 +52,7 @@ public slots: * This is invoked to inform the sidebar that the user has selected a new * set of items. */ - virtual void setSelection(const KFileItemList& selection); + virtual void setSelection(const QList& selection); signals: /** @@ -70,7 +70,7 @@ signals: * e.g. the current folder. The new selection will be reported via the * setSelection slot. */ - void changeSelection(const KFileItemList& selection); + void changeSelection(const QList& selection); /** * This signal is emitted whenever a drop action on this widget needs the @@ -80,7 +80,7 @@ signals: private: KUrl m_url; - KFileItemList m_currentSelection; + QList m_currentSelection; }; #endif // _SIDEBARPAGE_H_ -- cgit v1.3