lib

KoTextParagCommand Class Reference

#include <KoTextCommand.h>

Public Member Functions

 KoTextParagCommand (KoTextDocument *d, int fParag, int lParag, const TQValueList< KoParagLayout > &oldParagLayouts, KoParagLayout newParagLayout, int flags, TQStyleSheetItem::Margin margin=(TQStyleSheetItem::Margin) -1)
KoTextCursor * execute (KoTextCursor *c)
KoTextCursor * unexecute (KoTextCursor *c)

Protected Attributes

int firstParag
int lastParag
TQValueList< KoParagLayout > m_oldParagLayouts
KoParagLayout m_newParagLayout
int m_flags
int m_margin

Detailed Description

Command created when changing paragraph attributes.

Definition at line 86 of file KoTextCommand.h.

Constructor & Destructor Documentation

◆ KoTextParagCommand()

KoTextParagCommand::KoTextParagCommand ( KoTextDocument * d,
int fParag,
int lParag,
const TQValueList< KoParagLayout > & oldParagLayouts,
KoParagLayout newParagLayout,
int flags,
TQStyleSheetItem::Margin margin = (TQStyleSheetItem::Margin)-1 )

Definition at line 112 of file KoTextCommand.cpp.

Member Function Documentation

◆ execute()

KoTextCursor * KoTextParagCommand::execute ( KoTextCursor * c)

Definition at line 124 of file KoTextCommand.cpp.

◆ unexecute()

KoTextCursor * KoTextParagCommand::unexecute ( KoTextCursor * c)

Definition at line 151 of file KoTextCommand.cpp.

Member Data Documentation

◆ firstParag

int KoTextParagCommand::firstParag
protected

Definition at line 98 of file KoTextCommand.h.

◆ lastParag

int KoTextParagCommand::lastParag
protected

Definition at line 98 of file KoTextCommand.h.

◆ m_flags

int KoTextParagCommand::m_flags
protected

Definition at line 101 of file KoTextCommand.h.

◆ m_margin

int KoTextParagCommand::m_margin
protected

Definition at line 102 of file KoTextCommand.h.

◆ m_newParagLayout

KoParagLayout KoTextParagCommand::m_newParagLayout
protected

Definition at line 100 of file KoTextCommand.h.

◆ m_oldParagLayouts

TQValueList<KoParagLayout> KoTextParagCommand::m_oldParagLayouts
protected

Definition at line 99 of file KoTextCommand.h.


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