]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Readd as in libkonq "part" this signal ""aboutToOpenURL""
authorLaurent Montel <montel@kde.org>
Wed, 9 Apr 2008 07:02:55 +0000 (07:02 +0000)
committerLaurent Montel <montel@kde.org>
Wed, 9 Apr 2008 07:02:55 +0000 (07:02 +0000)
used to signal to plugins kdirfilter that url changed

svn path=/trunk/KDE/kdebase/apps/; revision=795079

src/dolphinpart.cpp
src/dolphinpart.h

index e155573cccb0e6b00118da85026771574f0bbabf..bc7086399cf5a2d1fcff25709085c511cfd03e61 100644 (file)
@@ -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;
index b252c78e173481095ca9ba67c2db1346bdc71504..5942d651e94644af4d5ede681dea12229293a5e4 100644 (file)
@@ -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);