diff --git a/theme.cpp b/theme.cpp index 1e424ca58..583887648 100644 --- a/theme.cpp +++ b/theme.cpp @@ -1051,12 +1051,12 @@ void Theme::setCacheLimit(int kbytes) } } -KUrl Theme::homepage() const +QUrl Theme::homepage() const { const QString metadataPath(KStandardDirs::locate("data", QLatin1Literal("desktoptheme/") % d->themeName % QLatin1Literal("/metadata.desktop"))); KConfig metadata(metadataPath); KConfigGroup brandConfig(&metadata, "Branding"); - return brandConfig.readEntry("homepage", KUrl("http://www.kde.org")); + return brandConfig.readEntry("homepage", QUrl("http://www.kde.org")); } int Theme::toolTipDelay() const diff --git a/theme.h b/theme.h index f4066e133..cf7d7bff4 100644 --- a/theme.h +++ b/theme.h @@ -352,7 +352,7 @@ class PLASMA_EXPORT Theme : public QObject * @return the default homepage to use in conjunction with the branding svg content * @since 4.7 */ - KUrl homepage() const; + QUrl homepage() const; /** * @return the default tool tip delay; -1 means "no tooltips"