]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.h
information sidebar fixes:
[dolphin.git] / src / dolphinmainwindow.h
index 1d7e6058d1c3e09144d940e40282d8bd13351e76..8d44a10862ae233094410351f8334d976ace3a0c 100644 (file)
@@ -29,7 +29,7 @@
 #include <ksortablelist.h>
 #include <konq_undo.h>
 
-#include <QList>
+#include <QtCore/QList>
 
 class DolphinApplication;
 class KNewMenu;
@@ -143,6 +143,12 @@ signals:
      */
     void urlChanged(const KUrl& url);
 
+    /**
+     * Is emitted if information of an item is requested to be shown e. g. in the sidebar.
+     * It the URL is empty, no item information request is pending.
+     */
+    void requestItemInfo(const KUrl& url);
+
 protected:
     /** @see QMainWindow::closeEvent */
     virtual void closeEvent(QCloseEvent* event);
@@ -379,9 +385,15 @@ private slots:
     /** Updates the state of the 'Additional Information' actions. */
     void slotAdditionalInfoChanged(KFileItemDelegate::AdditionalInformation info);
 
-    /** Updates the state of the 'Edit' menu actions. */
+    /**
+     * Updates the state of the 'Edit' menu actions and emits
+     * the signal selectionChanged().
+     */
     void slotSelectionChanged(const KFileItemList& selection);
 
+    /** Emits the signal requestItemInfo(). */
+    void slotRequestItemInfo(const KUrl& url);
+
     /**
      * Updates the state of the 'Back' and 'Forward' menu
      * actions corresponding the the current history.