From d89f43f66bb323a612c2f7de09d5969e437845e0 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 2 Jul 2007 17:24:54 +0000 Subject: Change signature of requestItemInfo signal, to avoid fileitem -> url -> index -> fileitem roundtrip in dolphin, and to match the BrowserExtension mouseOverInfo() signal. Started to implement more of the part (e.g. spinning wheel in konq). svn path=/trunk/KDE/kdebase/apps/; revision=682440 --- src/dolphinmainwindow.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 93ab2762a..f8c0367e8 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -148,9 +148,9 @@ signals: /** * 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. + * If item is null, no item information request is pending. */ - void requestItemInfo(const KUrl& url); + void requestItemInfo(const KFileItem& item); protected: /** @see QMainWindow::closeEvent */ @@ -407,7 +407,7 @@ private slots: void slotSelectionChanged(const KFileItemList& selection); /** Emits the signal requestItemInfo(). */ - void slotRequestItemInfo(const KUrl& url); + void slotRequestItemInfo(const KFileItem&); /** * Updates the state of the 'Back' and 'Forward' menu -- cgit v1.3