Commit 9606e86d authored by C. Boemann's avatar C. Boemann

Add unde/redo command for changing of runaround properties

parent deb11e21
......@@ -163,6 +163,7 @@ set(flake_SRCS
commands/KoEventActionAddCommand.cpp
commands/KoEventActionRemoveCommand.cpp
commands/KoShapeRenameCommand.cpp
commands/KoShapeRunAroundCommand.cpp
commands/KoPathPointMergeCommand.cpp
commands/KoShapeTransparencyCommand.cpp
commands/KoShapeClipCommand.cpp
......
......@@ -844,7 +844,7 @@ KoShape::TextRunAroundSide KoShape::textRunAroundSide() const
return d->textRunAroundSide;
}
void KoShape::setTextRunAroundSide(TextRunAroundSide side, Through runThrought)
void KoShape::setTextRunAroundSide(TextRunAroundSide side, RunThroughLevel runThrought)
{
Q_D(KoShape);
......
......@@ -147,7 +147,7 @@ public:
/**
* TODO
*/
enum Through {
enum RunThroughLevel {
Background,
Foreground
};
......@@ -370,7 +370,7 @@ public:
* @param side the requested side
* @param runThrought run through the foreground or background or...
*/
void setTextRunAroundSide(TextRunAroundSide side, Through runThrought = Background);
void setTextRunAroundSide(TextRunAroundSide side, RunThroughLevel runThrough = Background);
/**
* The space between this shape's edge and text that runs around this shape.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment