diff options
| author | Laurent Montel <[email protected]> | 2008-04-09 07:02:55 +0000 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2008-04-09 07:02:55 +0000 |
| commit | 60f40aaa4dcf789ccdd09d12030787c501986252 (patch) | |
| tree | 5d12bcd0132dc18aa382bf78367d29664e305d7b | |
| parent | cd789a54cc8b10cbb3cab1ce208ad7369fc92fdd (diff) | |
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
| -rw-r--r-- | src/dolphinpart.cpp | 1 | ||||
| -rw-r--r-- | src/dolphinpart.h | 6 |
2 files changed, 7 insertions, 0 deletions
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); |
