KParts::ReadOnlyPart::openUrl() changed from KUrl parameter to QUrl

This commit is contained in:
Alex Richardson 2014-04-10 03:02:40 +02:00
parent 2f045c6010
commit 693bf89f2e
2 changed files with 2 additions and 2 deletions

View 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.

View 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; }