summaryrefslogtreecommitdiffstats
path: root/src/svg/qsvgstructure_p.h
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-09-14 15:50:30 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-09-14 15:57:15 (GMT)
commitab35f0f8b0d872bc2e963c6ef869fade71b83e3f (patch)
treeaf58509d936d6656fd6340c5f5da04aec85e912f /src/svg/qsvgstructure_p.h
parent886feff55f48ebdff0440278e611f822e6326c91 (diff)
downloadQt-ab35f0f8b0d872bc2e963c6ef869fade71b83e3f.zip
Qt-ab35f0f8b0d872bc2e963c6ef869fade71b83e3f.tar.gz
Qt-ab35f0f8b0d872bc2e963c6ef869fade71b83e3f.tar.bz2
Fixed gradient referencing in SVGs.
An SVG element can now reference a gradient or solid-color defined anywhere in the same SVG file. Task-number: 245602 Reviewed-by: Trond
Diffstat (limited to 'src/svg/qsvgstructure_p.h')
-rw-r--r--src/svg/qsvgstructure_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/svg/qsvgstructure_p.h b/src/svg/qsvgstructure_p.h
index d873f54..444f885 100644
--- a/src/svg/qsvgstructure_p.h
+++ b/src/svg/qsvgstructure_p.h
@@ -73,8 +73,7 @@ public:
QSvgStructureNode(QSvgNode *parent);
~QSvgStructureNode();
QSvgNode *scopeNode(const QString &id) const;
- QSvgStyleProperty *scopeStyle(const QString &id) const;
- void addChild(QSvgNode *child, const QString &id, bool def = false);
+ void addChild(QSvgNode *child, const QString &id);
virtual QRectF bounds() const;
QSvgNode *previousSiblingNode(QSvgNode *n) const;
QList<QSvgNode*> renderers() const { return m_renderers; }