QDomElement getTrackEffect(int trackIndex, int effectIndex) const;
/** @brief Get a list of folder id's that were opened on last save. */
QStringList getExpandedFolders();
+ /** @brief Read the display ratio from an xml project file. */
+ static double getDisplayRatio(const QString &path);
private:
KUrl m_url;
/** @brief Sets the document as modified or up to date.
* @param mod (optional) true if the document has to be saved */
void setModified(bool mod = true);
- void checkProjectClips();
+ void checkProjectClips(bool displayRatioChanged = false);
private slots:
void slotAutoSave();