0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-12-16 17:59:53 +03:00

Replaced the deprecated Q_ENUMS() with the currently supported Q_ENUM()

This commit is contained in:
HatEmU
2020-02-17 05:17:02 +01:00
committed by HatEmU
parent 0e77d6aab0
commit a8cbf68347
12 changed files with 28 additions and 25 deletions

View File

@@ -114,7 +114,6 @@ class BandDesignIntf : public ItemsContainerDesignInft
Q_PROPERTY(BGMode backgroundMode READ backgroundMode WRITE setBackgroundModeProperty)
Q_PROPERTY(int backgroundOpacity READ opacity WRITE setBackgroundOpacity)
Q_PROPERTY(int shiftItems READ shiftItems WRITE setShiftItems)
Q_ENUMS(BandColumnsLayoutType)
friend class BandMarker;
friend class BandNameLabel;
friend class ReportRender;
@@ -139,6 +138,7 @@ public:
enum BandColumnsLayoutType{
Horizontal, Vertical, VerticalUniform
};
Q_ENUM(BandColumnsLayoutType)
BandDesignIntf(BandsType bandType, const QString& xmlTypeName, QObject* owner = 0, QGraphicsItem* parent=0);
~BandDesignIntf();