11#include <klocalizedstring.h>
32 for (
int i = 0; i <
m_shapes.count(); ++i) {
40 for (
int i = 0; i <
m_shapes.count(); ++i) {
void setText(const KUndo2MagicString &text)
KoShapeLockCommand(const QList< KoShape * > &shapes, const QList< bool > &oldLock, const QList< bool > &newLock, KUndo2Command *parent=0)
void undo() override
revert the actions done in redo
QList< KoShape * > m_shapes
QList< bool > m_newLock
old lock states
~KoShapeLockCommand() override
QList< bool > m_oldLock
the shapes to set background for
void redo() override
redo the command
KUndo2MagicString kundo2_i18n(const char *text)