From 729988ffb1826bbeecc05c2fe026e885c3b16ba4 Mon Sep 17 00:00:00 2001 From: Giorgos Tsiapaliwkas Date: Sat, 18 Feb 2012 12:13:54 +0200 Subject: [PATCH] Replace KUrl with QUrl in theme.h/cpp Reviewed by: Aaron Seigo --- theme.cpp | 4 ++-- theme.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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"