┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/infosidebarpage.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-05-14 15:15:31 +0000
committerPeter Penz <[email protected]>2008-05-14 15:15:31 +0000
commitdf55b9d89f0b064f1dfa0fd2ca0f6bd08ea0c8e4 (patch)
tree8942f2693faac80a84a1f23ac2ff1bb811941f19 /src/infosidebarpage.h
parent620230729e9e935bac14283dab4de7c9f4fee321 (diff)
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
Diffstat (limited to 'src/infosidebarpage.h')
-rw-r--r--src/infosidebarpage.h8
1 files changed, 6 insertions, 2 deletions
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;