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/sidebarpage.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/sidebarpage.h') diff --git a/src/sidebarpage.h b/src/sidebarpage.h index 1c6b26be3..20a44758e 100644 --- a/src/sidebarpage.h +++ b/src/sidebarpage.h @@ -31,6 +31,7 @@ class SidebarPage : public QWidget { Q_OBJECT + public: explicit SidebarPage(QWidget* parent = 0); virtual ~SidebarPage(); @@ -38,9 +39,6 @@ public: /** Returns the current set URL of the active Dolphin view. */ const KUrl& url() const; - /** Returns the current selected items of the active Dolphin view. */ - const KFileItemList& selection() const; - public slots: /** * This is invoked every time the folder being displayed in the @@ -48,15 +46,8 @@ public slots: */ virtual void setUrl(const KUrl& url); - /** - * This is invoked to inform the sidebar that the user has selected a new - * set of items. - */ - virtual void setSelection(const KFileItemList& selection); - private: KUrl m_url; - KFileItemList m_currentSelection; }; #endif // _SIDEBARPAGE_H_ -- cgit v1.3