From df55b9d89f0b064f1dfa0fd2ca0f6bd08ea0c8e4 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 14 May 2008 15:15:31 +0000 Subject: Only the infosidebar panel is interested in selections -> move it from the sidebar panel to the infosidebar panel. svn path=/trunk/KDE/kdebase/apps/; revision=807729 --- src/infosidebarpage.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/infosidebarpage.h') diff --git a/src/infosidebarpage.h b/src/infosidebarpage.h index 6cdc1e824..fa9fa9d41 100644 --- a/src/infosidebarpage.h +++ b/src/infosidebarpage.h @@ -59,8 +59,11 @@ public slots: /** @see SidebarPage::setUrl() */ virtual void setUrl(const KUrl& url); - /** @see SidebarPage::setSelection() */ - virtual void setSelection(const KFileItemList& selection); + /** + * This is invoked to inform the sidebar that the user has selected a new + * set of items. + */ + void setSelection(const KFileItemList& selection); /** * Does a delayed request of information for the item \a item. @@ -135,6 +138,7 @@ private: KUrl m_shownUrl; // URL that is shown as info KUrl m_urlCandidate; // URL candidate that will replace m_shownURL after a delay KFileItem m_fileItem; // file item for m_shownUrl if available (otherwise null) + KFileItemList m_selection; QLabel* m_nameLabel; PixmapViewer* m_preview; -- cgit v1.3