]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/information/informationpanel.h
* Use Nepomuk for getting the meta data instead of KFileMetaInfo.
[dolphin.git] / src / panels / information / informationpanel.h
index 2914345df3ac0e630e8e50ed08719e1b8f7c7e8e..08eb302995bf5ea05cd073da6e57e3088c2ca51c 100644 (file)
@@ -37,6 +37,7 @@ class QPixmap;
 class QString;
 class KFileItem;
 class QLabel;
+class QScrollArea;
 class PhononWidget;
 class PixmapViewer;
 class MetaDataWidget;
@@ -81,6 +82,9 @@ protected:
     /** @see QWidget::resizeEvent() */
     virtual void resizeEvent(QResizeEvent* event);
 
+    /** @see QObject::eventFilter() */
+    virtual bool eventFilter(QObject* obj, QEvent* event);
+
 private slots:
     /**
      * Shows the information for the item of the URL which has been provided by
@@ -137,13 +141,6 @@ private:
      */
     void showMetaInfo();
 
-    /**
-     * 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.
-     */
-    bool convertMetaInfo(const QString& key, QString& text) const;
-
     /**
      * Returns the item for file where the preview and meta information
      * should be received, if InformationPanel::showMultipleSelectionInfo()
@@ -190,6 +187,8 @@ private:
     PixmapViewer* m_preview;
     PhononWidget* m_phononWidget;
     MetaDataWidget* m_metaDataWidget;
+
+    QScrollArea* m_metaTextArea;
     MetaTextLabel* m_metaTextLabel;
 };