mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 20:44:39 +03:00
setReportFileName(const QString& fileName) has been added to ReportEngine
This commit is contained in:
parent
84953b6847
commit
cb54963db9
@ -80,6 +80,7 @@ public:
|
|||||||
bool loadFromByteArray(QByteArray *data);
|
bool loadFromByteArray(QByteArray *data);
|
||||||
bool loadFromString(const QString& data);
|
bool loadFromString(const QString& data);
|
||||||
QString reportFileName();
|
QString reportFileName();
|
||||||
|
void setReportFileName(const QString& fileName);
|
||||||
bool saveToFile();
|
bool saveToFile();
|
||||||
bool saveToFile(const QString& fileName);
|
bool saveToFile(const QString& fileName);
|
||||||
QByteArray saveToByteArray();
|
QByteArray saveToByteArray();
|
||||||
|
@ -698,6 +698,12 @@ QString ReportEngine::reportFileName()
|
|||||||
return d->reportFileName();
|
return d->reportFileName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ReportEngine::setReportFileName(const QString &fileName)
|
||||||
|
{
|
||||||
|
Q_D(ReportEngine);
|
||||||
|
return d->setReportFileName(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
bool ReportEngine::saveToFile()
|
bool ReportEngine::saveToFile()
|
||||||
{
|
{
|
||||||
Q_D(ReportEngine);
|
Q_D(ReportEngine);
|
||||||
|
@ -80,6 +80,7 @@ public:
|
|||||||
bool loadFromByteArray(QByteArray *data);
|
bool loadFromByteArray(QByteArray *data);
|
||||||
bool loadFromString(const QString& data);
|
bool loadFromString(const QString& data);
|
||||||
QString reportFileName();
|
QString reportFileName();
|
||||||
|
void setReportFileName(const QString& fileName);
|
||||||
bool saveToFile();
|
bool saveToFile();
|
||||||
bool saveToFile(const QString& fileName);
|
bool saveToFile(const QString& fileName);
|
||||||
QByteArray saveToByteArray();
|
QByteArray saveToByteArray();
|
||||||
|
@ -87,6 +87,7 @@ public:
|
|||||||
bool loadFromByteArray(QByteArray *data, const QString& name = "");
|
bool loadFromByteArray(QByteArray *data, const QString& name = "");
|
||||||
bool loadFromString(const QString& report, const QString& name = "");
|
bool loadFromString(const QString& report, const QString& name = "");
|
||||||
QString reportFileName(){return m_fileName;}
|
QString reportFileName(){return m_fileName;}
|
||||||
|
void setReportFileName(const QString& reportFileName){ m_fileName = reportFileName;}
|
||||||
bool saveToFile();
|
bool saveToFile();
|
||||||
bool saveToFile(const QString& fileName);
|
bool saveToFile(const QString& fileName);
|
||||||
QByteArray saveToByteArray();
|
QByteArray saveToByteArray();
|
||||||
|
Loading…
Reference in New Issue
Block a user