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