0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 00:18: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

@@ -3,22 +3,31 @@
#include <QObject>
namespace LimeReport {
struct CallbackInfo{
enum DataType{IsEmpty, HasNext, ColumnHeaderData, ColumnData, ColumnCount, RowCount};
enum ChangePosType{First, Next};
struct CallbackInfo {
enum DataType {
IsEmpty,
HasNext,
ColumnHeaderData,
ColumnData,
ColumnCount,
RowCount
};
enum ChangePosType {
First,
Next
};
DataType dataType;
int index;
QString columnName;
};
class ICallbackDatasource :public QObject{
class ICallbackDatasource: public QObject {
Q_OBJECT
signals:
void getCallbackData(const LimeReport::CallbackInfo& info, QVariant& data);
void changePos(const LimeReport::CallbackInfo::ChangePosType& type, bool& result);
};
}
} // namespace LimeReport
#endif // LRVIRTUALDATASOURCEINTF