0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-20 06:30:03 +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

@@ -41,9 +41,9 @@ class ItemDesignIntf : public BaseDesignIntf
Q_PROPERTY(LocationType itemLocation READ itemLocation WRITE setItemLocation)
Q_PROPERTY(bool stretchToMaxHeight READ stretchToMaxHeight WRITE setStretchToMaxHeight)
Q_PROPERTY(ItemAlign itemAlign READ itemAlign WRITE setItemAlign)
Q_ENUMS(LocationType)
public:
enum LocationType{Band,Page};
Q_ENUM(LocationType)
ItemDesignIntf(const QString& xmlTypeName, QObject* owner = 0,QGraphicsItem* parent = 0);
LocationType itemLocation(){return m_itemLocation;}
void setItemLocation(LocationType location);