kword

KWDeleteFrameCommand Class Reference

#include <KWCommand.h>

Inheritance diagram for KWDeleteFrameCommand:
KWCreateFrameCommand

Public Member Functions

 KWDeleteFrameCommand (const TQString &name, KWFrame *frame)
 
 KWDeleteFrameCommand (const FrameIndex &frameIndex)
 
void execute ()
 
void unexecute ()
 

Protected Attributes

FrameIndex m_frameIndex
 
KWFrame * m_copyFrame
 

Detailed Description

Command created when deleting a frame.

Definition at line 414 of file KWCommand.h.

Constructor & Destructor Documentation

◆ KWDeleteFrameCommand() [1/2]

KWDeleteFrameCommand::KWDeleteFrameCommand ( const TQString &  name,
KWFrame *  frame 
)

Definition at line 1082 of file KWCommand.cpp.

◆ KWDeleteFrameCommand() [2/2]

KWDeleteFrameCommand::KWDeleteFrameCommand ( const FrameIndex &  frameIndex)

Constructor to be used for chaining commands, i.e.

inside another command.

Parameters
frameIndexa frameIndex object that specifies which frame to delete

Definition at line 1089 of file KWCommand.cpp.

◆ ~KWDeleteFrameCommand()

KWDeleteFrameCommand::~KWDeleteFrameCommand ( )

Definition at line 1096 of file KWCommand.cpp.

Member Function Documentation

◆ execute()

void KWDeleteFrameCommand::execute ( )

Definition at line 1102 of file KWCommand.cpp.

◆ unexecute()

void KWDeleteFrameCommand::unexecute ( )

Definition at line 1126 of file KWCommand.cpp.

Member Data Documentation

◆ m_copyFrame

KWFrame* KWDeleteFrameCommand::m_copyFrame
protected

Definition at line 429 of file KWCommand.h.

◆ m_frameIndex

FrameIndex KWDeleteFrameCommand::m_frameIndex
protected

Definition at line 428 of file KWCommand.h.


The documentation for this class was generated from the following files: