From de28184c3238cb458ca7272510001666bd670f3a Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 21 Jun 2010 18:28:47 +0000 Subject: [PATCH] use QSvgRenderer, now that KSvgRenderer is a shallow wrapper around it since QSvgRenderer gained it's (previously) add-on functionality to QSvgRenderer svn path=/trunk/KDE/kdelibs/; revision=1140887 --- svg.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/svg.cpp b/svg.cpp index 6d2d1b05e..7b169600a 100644 --- a/svg.cpp +++ b/svg.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -32,7 +33,6 @@ #include #include #include -#include #include "applet.h" #include "package.h" @@ -41,21 +41,21 @@ namespace Plasma { -class SharedSvgRenderer : public KSvgRenderer, public QSharedData +class SharedSvgRenderer : public QSvgRenderer, public QSharedData { public: typedef KSharedPtr Ptr; SharedSvgRenderer(QObject *parent = 0) - : KSvgRenderer(parent) + : QSvgRenderer(parent) {} SharedSvgRenderer(const QString &filename, QObject *parent = 0) - : KSvgRenderer(filename, parent) + : QSvgRenderer(filename, parent) {} SharedSvgRenderer(const QByteArray &contents, QObject *parent = 0) - : KSvgRenderer(contents, parent) + : QSvgRenderer(contents, parent) {} ~SharedSvgRenderer()