┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/infosidebarpage.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-03-16 02:17:16 +0000
committerPeter Penz <[email protected]>2008-03-16 02:17:16 +0000
commit2b8772807fb862895c00762fb5b246ed78b663fc (patch)
treed6df2f48fbbabbc0bd2f16d1035d49dcb1ff0ec8 /src/infosidebarpage.h
parentef07279ab72d367afe3e25c80c530f2e52bfc166 (diff)
provide a cleaner layout for the information panel; there are still some open issues, but it looks already less cluttered...
svn path=/trunk/KDE/kdebase/apps/; revision=786080
Diffstat (limited to 'src/infosidebarpage.h')
-rw-r--r--src/infosidebarpage.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/infosidebarpage.h b/src/infosidebarpage.h
index 08782d779..6cdc1e824 100644
--- a/src/infosidebarpage.h
+++ b/src/infosidebarpage.h
@@ -39,6 +39,7 @@ class KFileItem;
class QLabel;
class PixmapViewer;
class MetaDataWidget;
+class MetaTextLabel;
/**
* @brief Sidebar for showing meta information of one ore more selected items.
@@ -122,14 +123,6 @@ private:
void showMetaInfo();
/**
- * Adds the texts \a labelText and \a infoText as one formated line
- * to text.
- */
- void addInfoLine(QString& text,
- const QString& labelText,
- const QString& infoText);
-
- /**
* Converts the meta key \a key to a readable format into \a text.
* Returns true, if the string \a key represents a meta information
* that should be shown. If false is returned, \a text is not modified.
@@ -143,12 +136,10 @@ private:
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)
- PixmapViewer* m_preview;
QLabel* m_nameLabel;
-
- QLabel* m_infoLabel;
-
+ PixmapViewer* m_preview;
MetaDataWidget* m_metaDataWidget;
+ MetaTextLabel* m_metaTextLabel;
};
#endif // INFOSIDEBARPAGE_H