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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user