0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-24 16:18:04 +03:00

Redundant saveToFile() has been removed

This commit is contained in:
Arin Alex
2018-02-07 22:43:31 +03:00
parent 5b81a75d3c
commit 04bf1dfbdb
4 changed files with 6 additions and 21 deletions

View File

@@ -69,8 +69,7 @@ public:
virtual void emitSaveFinished() = 0;
virtual bool isNeedToSave() = 0;
virtual void emitSaveReport() = 0;
virtual bool saveToFile() = 0;
virtual bool saveToFile(const QString& fileName) = 0;
virtual bool saveToFile(const QString& fileName = "") = 0;
virtual bool isSaved() = 0;
virtual QString reportName() = 0;
virtual bool loadFromFile(const QString& fileName, bool autoLoadPreviewOnChange) = 0;
@@ -139,8 +138,7 @@ public:
bool loadFromString(const QString& report, const QString& name = "");
QString reportFileName(){return m_fileName;}
void setReportFileName(const QString& reportFileName){ m_fileName = reportFileName;}
bool saveToFile();
bool saveToFile(const QString& fileName);
bool saveToFile(const QString& fileName = "");
QByteArray saveToByteArray();
QString saveToString();
bool isNeedToSave();