]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/infosidebarpage.h
Improved KMetaData integration. The Dolphin info sidebar now uses KMetaData to allow...
[dolphin.git] / src / infosidebarpage.h
index ffc73bec4523bb0fcd38834d473400c135d8658c..6664f56fce9a94ade64fc87e824cc2e53afafa68 100644 (file)
@@ -48,7 +48,7 @@ class QLabel;
 class KVBox;
 class Q3Grid;
 class PixmapViewer;
-class MetadataLoader;
+class MetaDataWidget;
 
 /**
  * @brief Prototype for a information sidebar.
@@ -114,12 +114,6 @@ private slots:
      */
     void startService(int index);
 
-    /**
-     * Opens a dialog to change the annotation of the currently selected
-     * file(s).
-     */
-    void changeAnnotation();
-
 private:
     /**
      * Connects to signals from the currently active Dolphin view to get
@@ -157,16 +151,6 @@ private:
      */
     void insertActions();
 
-    /**
-     * Show the annotation of a file in the sidebar.
-     */
-    void showAnnotation(const KUrl& file);
-
-    /**
-     * Show the annotations of multiple files in the sidebar.
-     */
-    void showAnnotations(const KUrl::List& files);
-
     bool m_multipleSelection;
     bool m_pendingPreview;
     QTimer* m_timer;
@@ -183,9 +167,7 @@ private:
     Q3PtrList<QWidget> m_actionWidgets;    // TODO: use children() from QObject instead
     Q3ValueVector<KDEDesktopMimeType::Service> m_actionsVector;
 
-    QLabel* m_annotationLabel;
-    QPushButton* m_annotationButton;//Move to sthing sexy visually
-    MetadataLoader* m_metadata;
+    MetaDataWidget* m_metadataWidget;
 };
 
 // TODO #1: move to SidebarPage?