9#include <klocalizedstring.h>
15 , m_rectangle(rectangle)
16 , m_newCornerRadiusX(cornerRadiusX)
17 , m_newCornerRadiusY(cornerRadiusY)
void setText(const KUndo2MagicString &text)
void update() const override
reimplemented
The undo / redo command for configuring a rectangle shape.
RectangleShape * m_rectangle
RectangleShapeConfigCommand(RectangleShape *rectangle, qreal cornerRadiusX, qreal cornerRadiusY, KUndo2Command *parent=0)
void undo() override
revert the actions done in redo
bool mergeWith(const KUndo2Command *command) override
void redo() override
redo the command
qreal cornerRadiusX() const
Returns the corner radius in x-direction.
void setCornerRadiusY(qreal radius)
void setCornerRadiusX(qreal radius)
qreal cornerRadiusY() const
Returns the corner radius in y-direction.
KUndo2MagicString kundo2_i18n(const char *text)