Changeset View
Changeset View
Standalone View
Standalone View
libs/flake/KoOdfGradientBackground.cpp
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Line(s) | |||||
60 | 60 | | |||
61 | } | 61 | } | ||
62 | 62 | | |||
63 | KoOdfGradientBackground::~KoOdfGradientBackground() | 63 | KoOdfGradientBackground::~KoOdfGradientBackground() | ||
64 | { | 64 | { | ||
65 | 65 | | |||
66 | } | 66 | } | ||
67 | 67 | | |||
68 | bool KoOdfGradientBackground::compareTo(const KoShapeBackground *other) const | ||||
69 | { | ||||
70 | Q_UNUSED(other); | ||||
71 | return false; | ||||
72 | } | ||||
73 | | ||||
68 | 74 | | |||
69 | bool KoOdfGradientBackground::loadOdf(const KoXmlElement& e) | 75 | bool KoOdfGradientBackground::loadOdf(const KoXmlElement& e) | ||
70 | { | 76 | { | ||
71 | Q_D(KoOdfGradientBackground); | 77 | Q_D(KoOdfGradientBackground); | ||
72 | d->style = e.attributeNS(KoXmlNS::draw, "style", QString()); | 78 | d->style = e.attributeNS(KoXmlNS::draw, "style", QString()); | ||
73 | //TODO: support ellipsoid here too | 79 | //TODO: support ellipsoid here too | ||
74 | if ((d->style != "rectangular") && (d->style != "square")) { | 80 | if ((d->style != "rectangular") && (d->style != "square")) { | ||
75 | return false; | 81 | return false; | ||
▲ Show 20 Lines • Show All 295 Lines • Show Last 20 Lines |