9#include <klocalizedstring.h>
26 for (
int i = 0; i < subpathCount; ++i)
void setText(const KUndo2MagicString &text)
The undo / redo command for reversing path directions.
void redo() override
redo the command
QList< KoPathShape * > paths
~KoPathReverseCommand() override
Private(const QList< KoPathShape * > &p)
KoPathReverseCommand(const QList< KoPathShape * > &paths, KUndo2Command *parent=0)
void undo() override
revert the actions done in redo
The position of a path point within a path shape.
bool reverseSubpath(int subpathIndex)
Reverse subpath.
int subpathCount() const
Returns the number of subpaths in the path.
KUndo2MagicString kundo2_i18n(const char *text)