Référence de la classe KoPathCombineCommand

The undo / redo command for combining two or more paths into one. Plus de détails...

#include <KoPathCommand.h>

Graphe de collaboration de KoPathCombineCommand:

[légende]
Liste de tous les membres

Fonctions membres publiques

 KoPathCombineCommand (KoShapeControllerBase *controller, const QList< KoPathShape * > &paths)
virtual ~KoPathCombineCommand ()
void execute ()
 execute the command
void unexecute ()
 revert the actions done in execute
QString name () const
 return the name of this command

Attributs privés

KoShapeControllerBasem_controller
QList< KoPathShape * > m_paths
KoPathShapem_combinedPath
bool m_isCombined

Description détaillée

The undo / redo command for combining two or more paths into one.

Définition à la ligne 278 du fichier KoPathCommand.h.


Documentation des contructeurs et destructeur

KoPathCombineCommand::KoPathCombineCommand ( KoShapeControllerBase controller,
const QList< KoPathShape * > &  paths 
)

Command for combining a list of paths into one single path.

Paramètres:
controller the controller to used for removing/inserting.
paths the list of paths to combine

Définition à la ligne 598 du fichier KoPathCommand.cpp.

KoPathCombineCommand::~KoPathCombineCommand (  )  [virtual]

Définition à la ligne 606 du fichier KoPathCommand.cpp.

Références m_combinedPath, m_controller, m_isCombined, et m_paths.


Documentation des fonctions membres

void KoPathCombineCommand::execute (  ) 

execute the command

Définition à la ligne 617 du fichier KoPathCommand.cpp.

Références KoShapeControllerBase::addShape(), KoPathShape::combine(), m_combinedPath, m_controller, m_isCombined, m_paths, KoShapeControllerBase::removeShape(), KoShape::setBorder(), et KoShape::setShapeId().

Voici le graphe d'appel pour cette fonction :

void KoPathCombineCommand::unexecute (  ) 

revert the actions done in execute

Définition à la ligne 643 du fichier KoPathCommand.cpp.

Références KoShapeControllerBase::addShape(), m_combinedPath, m_controller, m_isCombined, m_paths, et KoShapeControllerBase::removeShape().

Voici le graphe d'appel pour cette fonction :

QString KoPathCombineCommand::name (  )  const

return the name of this command

Définition à la ligne 658 du fichier KoPathCommand.cpp.


Documentation des données membres

KoShapeControllerBase* KoPathCombineCommand::m_controller [private]

Définition à la ligne 295 du fichier KoPathCommand.h.

Référencé par execute(), unexecute(), et ~KoPathCombineCommand().

QList<KoPathShape*> KoPathCombineCommand::m_paths [private]

Définition à la ligne 296 du fichier KoPathCommand.h.

Référencé par execute(), unexecute(), et ~KoPathCombineCommand().

KoPathShape* KoPathCombineCommand::m_combinedPath [private]

Définition à la ligne 297 du fichier KoPathCommand.h.

Référencé par execute(), unexecute(), et ~KoPathCombineCommand().

bool KoPathCombineCommand::m_isCombined [private]

Définition à la ligne 298 du fichier KoPathCommand.h.

Référencé par execute(), unexecute(), et ~KoPathCombineCommand().


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:47:37 2006 pour KPlato par  doxygen 1.5.1-p1