┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index 35b1b5267..8d44a1086 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -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.