0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 08:28:06 +03:00

Define code style and format all source file using clang-format-14

except those placed in 3rdparty directories.
This commit is contained in:
Андрей Лухнов
2024-09-04 17:31:16 +03:00
parent c5b9ac265d
commit 0fca7169d3
285 changed files with 19120 additions and 17875 deletions

View File

@@ -6,19 +6,20 @@
namespace LimeReport {
class PreparedPages: public IPreparedPages{
class PreparedPages: public IPreparedPages {
public:
PreparedPages(ReportPages* pages):m_pages(pages){}
~PreparedPages(){}
// IPreviewPages interface
PreparedPages(ReportPages* pages): m_pages(pages) { }
~PreparedPages() { }
// IPreviewPages interface
private:
bool loadFromFile(const QString &fileName);
bool loadFromFile(const QString& fileName);
bool loadFromString(const QString data);
bool loadFromByteArray(QByteArray *data);
bool saveToFile(const QString &fileName);
bool loadFromByteArray(QByteArray* data);
bool saveToFile(const QString& fileName);
QString saveToString();
QByteArray saveToByteArray();
void clear();
private:
bool readPages(ItemsReaderIntf::Ptr reader);
ReportPages* m_pages;