X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftitledocument.h;h=8c30827cf1284489ece79da19004e4bf51310d79;hb=1a57025e45748243a7a6075f5df0be47f8ffbce2;hp=a00c8b7dca89b1a08276e921d9c8beed602c18ed;hpb=68c7f874ec7e30e78e857cb84401871ab4148b28;p=kdenlive diff --git a/src/titledocument.h b/src/titledocument.h index a00c8b7d..8c30827c 100644 --- a/src/titledocument.h +++ b/src/titledocument.h @@ -34,9 +34,9 @@ class TitleDocument public: TitleDocument(); void setScene(QGraphicsScene* scene, int width, int height); - bool saveDocument(const KUrl& url, QGraphicsRectItem* startv, QGraphicsRectItem* endv, int out, bool embed_images = false); + bool saveDocument(const KUrl& url, QGraphicsRectItem* startv, QGraphicsRectItem* endv, int duration, bool embed_images = false); QDomDocument xml(QGraphicsRectItem* startv, QGraphicsRectItem* endv, bool embed_images = false); - int loadFromXml(QDomDocument doc, QGraphicsRectItem* startv, QGraphicsRectItem* endv, int *out, const QString& projectpath = ""); + int loadFromXml(QDomDocument doc, QGraphicsRectItem* startv, QGraphicsRectItem* endv, int *duration, const QString& projectpath = QString()); /** \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();