From 60f40aaa4dcf789ccdd09d12030787c501986252 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 9 Apr 2008 07:02:55 +0000 Subject: [PATCH] Readd as in libkonq "part" this signal ""aboutToOpenURL"" used to signal to plugins kdirfilter that url changed svn path=/trunk/KDE/kdebase/apps/; revision=795079 --- src/dolphinpart.cpp | 1 + src/dolphinpart.h | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index e155573cc..bc7086399 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -217,6 +217,7 @@ bool DolphinPart::openUrl(const KUrl& url) emit m_extension->setLocationBarUrl(prettyUrl); emit started(0); // get the wheel to spin m_view->setUrl(url); + emit aboutToOpenURL(); if (reload) m_view->reload(); return true; diff --git a/src/dolphinpart.h b/src/dolphinpart.h index b252c78e1..5942d651e 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -89,6 +89,12 @@ Q_SIGNALS: */ void viewModeChanged(); + + /** + * Emitted whenever the current URL is about to be changed. + */ + void aboutToOpenURL(); + private Q_SLOTS: void slotCompleted(const KUrl& url); void slotCanceled(const KUrl& url); -- 2.47.3