void cachePixmap(const QString &fileId, const QPixmap &pix) const;
void setProjectFolder(KUrl url);
- QString getLadspaFile() const;
void setZone(int start, int end);
QPoint zone() const;
int setSceneList();
static double getDisplayRatio(const QString &path);
/** @brief Backup the project file */
void backupLastSavedVersion(const QString &path);
+ /** @brief True if the document was opened in read only mode. */
+ bool isReadOnly() const;
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(bool displayRatioChanged = false);
+ void checkProjectClips(bool displayRatioChanged = false, bool fpsChanged = false);
private slots:
void slotAutoSave();