┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/infosidebarpage.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-06-27 20:01:04 +0000
committerPeter Penz <[email protected]>2008-06-27 20:01:04 +0000
commitd96712f50ea5ab3fd0998d5118fcc5c0d6e804e9 (patch)
treeb2f08c35345999502f69cf6177f2e5084000efb2 /src/infosidebarpage.h
parent3a6ee0eee85b4f2af32cc1aeacd0add377ebeb7f (diff)
tried to simplify the logic to decide whether the information panel should show the information for one file or for a multiple selection
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=825317
Diffstat (limited to 'src/infosidebarpage.h')
-rw-r--r--src/infosidebarpage.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/infosidebarpage.h b/src/infosidebarpage.h
index b15a01814..5663c119c 100644
--- a/src/infosidebarpage.h
+++ b/src/infosidebarpage.h
@@ -139,6 +139,23 @@ private:
*/
bool convertMetaInfo(const QString& key, QString& text) const;
+ /**
+ * Returns the URL of the file where the preview and meta information
+ * should be received, if InfoSidebarPage::showMultipleSelectionInfo()
+ * returns false.
+ */
+ KUrl fileUrl() const;
+
+ /**
+ * Returns true, if the meta information should be shown for
+ * the items multiple selected items that are stored in
+ * m_selection. If true is returned, it is assured that
+ * m_selection.count() > 1. If false is returned, the meta
+ * information should be shown for the file
+ * InfosidebarPage::fileUrl();
+ */
+ bool showMultipleSelectionInfo() const;
+
void init();
private: