mirror of
https://github.com/fralx/LimeReport.git
synced 2025-12-16 17:59:53 +03:00
supporting the new Q_ENUM() with Q_ENUMS() backwards compatibility.
This commit is contained in:
@@ -138,7 +138,11 @@ public:
|
||||
enum BandColumnsLayoutType{
|
||||
Horizontal, Vertical, VerticalUniform
|
||||
};
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5,5, 0))
|
||||
Q_ENUM(BandColumnsLayoutType)
|
||||
#else
|
||||
Q_ENUMS(BandColumnsLayoutType)
|
||||
#endif
|
||||
|
||||
BandDesignIntf(BandsType bandType, const QString& xmlTypeName, QObject* owner = 0, QGraphicsItem* parent=0);
|
||||
~BandDesignIntf();
|
||||
|
||||
Reference in New Issue
Block a user