kword
KWFramePropertiesCommand Class Reference
#include <KWCommand.h>
Detailed Description
Command created when the properties of a frame are changed (e.g.using frame dialog). In the long run, KWFrameBackGroundColorCommand, KWFrameBorderCommand etc. could be removed and KWFramePropertiesCommand could be used instead. #### This solution is memory eating though, since all settings of the frame are copied. TODO: evaluate using graphite's GenericCommand instead.
Definition at line 296 of file KWCommand.h.
Public Member Functions | |
KWFramePropertiesCommand (const QString &name, KWFrame *_frameBefore, KWFrame *_frameAfter) | |
~KWFramePropertiesCommand () | |
void | execute () |
void | unexecute () |
Protected Attributes | |
FrameIndex | m_frameIndex |
KWFrame * | m_frameBefore |
KWFrame * | m_frameAfter |
Constructor & Destructor Documentation
|
A copy of frameAfter is done internally. But make sure frameBefore is already a copy, its ownership is moved to the command. Definition at line 968 of file KWCommand.cpp. |
The documentation for this class was generated from the following files: