diff options
| author | Peter Penz <[email protected]> | 2008-06-27 20:01:04 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-06-27 20:01:04 +0000 |
| commit | d96712f50ea5ab3fd0998d5118fcc5c0d6e804e9 (patch) | |
| tree | b2f08c35345999502f69cf6177f2e5084000efb2 /src/infosidebarpage.h | |
| parent | 3a6ee0eee85b4f2af32cc1aeacd0add377ebeb7f (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.h | 17 |
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: |
