kword

KWFramePropertiesCommand Class Reference

#include <KWCommand.h>

List of all members.


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
KWFramem_frameBefore
KWFramem_frameAfter

Constructor & Destructor Documentation

KWFramePropertiesCommand::KWFramePropertiesCommand ( const QString &  name,
KWFrame _frameBefore,
KWFrame _frameAfter 
)

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:
KDE Home | KDE Accessibility Home | Description of Access Keys