┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-05-17 14:51:54 +0000
committerPeter Penz <[email protected]>2007-05-17 14:51:54 +0000
commit2ed4d8dcc483ac6067149647eb457d46be7111c5 (patch)
treedc4a1fe49253c7ff6479ad09f1253d447d2fd802 /src/dolphinmainwindow.h
parentc35843f38c596eda4a9b04ba4c6a3247f3bdebc9 (diff)
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
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.