From 2ed4d8dcc483ac6067149647eb457d46be7111c5 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 17 May 2007 14:51:54 +0000 Subject: information sidebar fixes: - provide meta information when hovering items - don't increase the sidebar width, if the item name is longer than the available width svn path=/trunk/KDE/kdebase/apps/; revision=665646 --- src/dolphinmainwindow.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/dolphinmainwindow.h') 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. -- cgit v1.3