]> cloud.milkyroute.net Git - dolphin.git/commitdiff
KParts::ReadOnlyPart::openUrl() changed from KUrl parameter to QUrl
authorAlex Richardson <arichardson.kde@gmail.com>
Thu, 10 Apr 2014 01:02:40 +0000 (03:02 +0200)
committerAlex Richardson <arichardson.kde@gmail.com>
Mon, 5 May 2014 21:05:33 +0000 (23:05 +0200)
src/dolphinpart.cpp
src/dolphinpart.h

index 0e1430c9f0d9bc572c8d686f0c1c4fb303d1abcb..c78a460ea9c291b61d5e374202cbb2c3341d2d47 100644 (file)
@@ -302,7 +302,7 @@ KAboutData* DolphinPart::createAboutData()
     return new KAboutData("dolphinpart", "dolphin", i18nc("@title", "Dolphin Part"), "0.1");
 }
 
-bool DolphinPart::openUrl(const KUrl& url)
+bool DolphinPart::openUrl(const QUrl &url)
 {
     bool reload = arguments().reload();
     // A bit of a workaround so that changing the namefilter works: force reload.
index 8e3ea58de7542e8df0224989e014e6232f4baeaa..9ab1e80ce86edfd62b48283c03f92cd60746a7c6 100644 (file)
@@ -65,7 +65,7 @@ public:
      * Standard KParts::ReadOnlyPart openUrl method.
      * Called by Konqueror to view a directory in DolphinPart.
      */
-    virtual bool openUrl(const KUrl& url);
+    virtual bool openUrl(const QUrl& url) Q_DECL_OVERRIDE;
 
     /// see the supportsUndo property
     bool supportsUndo() const { return true; }