From: Laurent Montel Date: Wed, 9 Apr 2008 07:02:55 +0000 (+0000) Subject: Readd as in libkonq "part" this signal ""aboutToOpenURL"" X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/60f40aaa4dcf789ccdd09d12030787c501986252?ds=inline 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 --- 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);