mirror of
https://github.com/fralx/LimeReport.git
synced 2025-10-02 19:56:58 +03:00
Replaced the deprecated Q_ENUMS() with the currently supported Q_ENUM()
This commit is contained in:
@@ -36,7 +36,6 @@ namespace LimeReport{
|
||||
class ImageItem : public ItemDesignIntf, public IPainterProxy
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_ENUMS(Format)
|
||||
Q_PROPERTY(QImage image READ image WRITE setImage)
|
||||
Q_PROPERTY(int opacity READ opacity WRITE setOpacity)
|
||||
Q_PROPERTY(QString datasource READ datasource WRITE setDatasource)
|
||||
@@ -57,6 +56,7 @@ public:
|
||||
Hex = 1,
|
||||
Base64 = 2
|
||||
};
|
||||
Q_ENUM(Format)
|
||||
|
||||
ImageItem(QObject *owner, QGraphicsItem *parent);
|
||||
virtual void paint(QPainter *ppainter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
||||
|
Reference in New Issue
Block a user