kpresenter

#include <KPrCommand.h>

Public Types

enum  VariableProperties { VS_DISPLAYLINK , VS_UNDERLINELINK , VS_DISPLAYCOMMENT , VS_DISPLAYFIELDCODE }

Public Member Functions

 KPrChangeVariableSettingsCommand (const TQString &name, KPrDocument *_doc, bool _oldValue, bool _newValue, VariableProperties _type)
void execute ()
void unexecute ()

Protected Member Functions

void changeValue (bool b)

Protected Attributes

KPrDocument * m_doc
VariableProperties type
bool m_bOldValue
bool m_bNewValue

Detailed Description

Command to display link setting.

Definition at line 816 of file KPrCommand.h.

Member Enumeration Documentation

◆ VariableProperties

enum KPrChangeVariableSettingsCommand::VariableProperties

Definition at line 819 of file KPrCommand.h.

Constructor & Destructor Documentation

◆ KPrChangeVariableSettingsCommand()

KPrChangeVariableSettingsCommand::KPrChangeVariableSettingsCommand ( const TQString & name,
KPrDocument * _doc,
bool _oldValue,
bool _newValue,
VariableProperties _type )

Definition at line 2012 of file KPrCommand.cpp.

◆ ~KPrChangeVariableSettingsCommand()

KPrChangeVariableSettingsCommand::~KPrChangeVariableSettingsCommand ( )
inline

Definition at line 822 of file KPrCommand.h.

Member Function Documentation

◆ changeValue()

void KPrChangeVariableSettingsCommand::changeValue ( bool b)
protected

Definition at line 2023 of file KPrCommand.cpp.

◆ execute()

void KPrChangeVariableSettingsCommand::execute ( )

Definition at line 2046 of file KPrCommand.cpp.

◆ unexecute()

void KPrChangeVariableSettingsCommand::unexecute ( )

Definition at line 2051 of file KPrCommand.cpp.

Member Data Documentation

◆ m_bNewValue

bool KPrChangeVariableSettingsCommand::m_bNewValue
protected

Definition at line 831 of file KPrCommand.h.

◆ m_bOldValue

bool KPrChangeVariableSettingsCommand::m_bOldValue
protected

Definition at line 830 of file KPrCommand.h.

◆ m_doc

KPrDocument* KPrChangeVariableSettingsCommand::m_doc
protected

Definition at line 828 of file KPrCommand.h.

◆ type

VariableProperties KPrChangeVariableSettingsCommand::type
protected

Definition at line 829 of file KPrCommand.h.


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