kword

#include <KWCommand.h>

Inherits KNamedCommand.

Public Types

enum  VariableProperties { VS_DISPLAYLINK , VS_UNDERLINELINK , VS_DISPLAYCOMMENT , VS_DISPLAYFIELDCODE }
 

Public Member Functions

 KWChangeVariableSettingsCommand (const TQString &name, KWDocument *_doc, bool _oldDisplay, bool _newDisplay, VariableProperties _type)
 
void execute ()
 
void unexecute ()
 

Protected Member Functions

void changeValue (bool b)
 

Protected Attributes

KWDocument * m_doc
 
VariableProperties type
 
bool m_bOldValue
 
bool m_bNewValue
 

Detailed Description

Command to display link setting.

Definition at line 626 of file KWCommand.h.

Member Enumeration Documentation

◆ VariableProperties

enum KWChangeVariableSettingsCommand::VariableProperties

Definition at line 629 of file KWCommand.h.

Constructor & Destructor Documentation

◆ KWChangeVariableSettingsCommand()

KWChangeVariableSettingsCommand::KWChangeVariableSettingsCommand ( const TQString &  name,
KWDocument *  _doc,
bool  _oldDisplay,
bool  _newDisplay,
VariableProperties  _type 
)

Definition at line 1544 of file KWCommand.cpp.

◆ ~KWChangeVariableSettingsCommand()

KWChangeVariableSettingsCommand::~KWChangeVariableSettingsCommand ( )
inline

Definition at line 631 of file KWCommand.h.

Member Function Documentation

◆ changeValue()

void KWChangeVariableSettingsCommand::changeValue ( bool  b)
protected

Definition at line 1553 of file KWCommand.cpp.

◆ execute()

void KWChangeVariableSettingsCommand::execute ( )

Definition at line 1579 of file KWCommand.cpp.

◆ unexecute()

void KWChangeVariableSettingsCommand::unexecute ( )

Definition at line 1584 of file KWCommand.cpp.

Member Data Documentation

◆ m_bNewValue

bool KWChangeVariableSettingsCommand::m_bNewValue
protected

Definition at line 640 of file KWCommand.h.

◆ m_bOldValue

bool KWChangeVariableSettingsCommand::m_bOldValue
protected

Definition at line 639 of file KWCommand.h.

◆ m_doc

KWDocument* KWChangeVariableSettingsCommand::m_doc
protected

Definition at line 637 of file KWCommand.h.

◆ type

VariableProperties KWChangeVariableSettingsCommand::type
protected

Definition at line 638 of file KWCommand.h.


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