int loadDocument(const KUrl& url, QGraphicsPolygonItem* startv, QGraphicsPolygonItem* endv);
QDomDocument xml(QGraphicsPolygonItem* startv, QGraphicsPolygonItem* endv);
int loadFromXml(QDomDocument doc, QGraphicsPolygonItem* startv, QGraphicsPolygonItem* endv);
+ /** \brief Get the background color (incl. alpha) from the document, if possibly
+ * \returns The background color of the document, inclusive alpha. If none found, returns (0,0,0,0) */
+ QColor getBackgroundColor();
private:
QString colorToString(const QColor&);