libs/flake

KoPathFillRuleCommand Class Reference

The undo / redo command for setting the fill rule of a path shape. More...

#include <KoPathFillRuleCommand.h>

Inheritance diagram for KoPathFillRuleCommand:

List of all members.

Public Member Functions

 KoPathFillRuleCommand (const QList< KoPathShape * > &shapes, Qt::FillRule fillRule, QUndoCommand *parent=0)
virtual ~KoPathFillRuleCommand ()
void redo ()
void undo ()

Detailed Description

The undo / redo command for setting the fill rule of a path shape.

Definition at line 31 of file KoPathFillRuleCommand.h.


Constructor & Destructor Documentation

KoPathFillRuleCommand::KoPathFillRuleCommand ( const QList< KoPathShape * > &  shapes,
Qt::FillRule  fillRule,
QUndoCommand parent = 0 
)

Command to set a new shape background.

Parameters:
shapes a set of all the path shapes that should get the new fill rule
fillRule the new fill rule
parent the parent command used for macro commands

Definition at line 36 of file KoPathFillRuleCommand.cpp.

KoPathFillRuleCommand::~KoPathFillRuleCommand (  )  [virtual]

Definition at line 47 of file KoPathFillRuleCommand.cpp.


Member Function Documentation

void KoPathFillRuleCommand::redo (  ) 

redo the command

Reimplemented from QUndoCommand.

Definition at line 52 of file KoPathFillRuleCommand.cpp.

void KoPathFillRuleCommand::undo (  ) 

revert the actions done in redo

Reimplemented from QUndoCommand.

Definition at line 61 of file KoPathFillRuleCommand.cpp.


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