Référence de la classe KoPointJoinCommand

The undo / redo command for joining two start/end path points. Plus de détails...

#include <KoPathCommand.h>

Graphe d'héritage de KoPointJoinCommand:

[légende]
Graphe de collaboration de KoPointJoinCommand:
[légende]
Liste de tous les membres

Fonctions membres publiques

 KoPointJoinCommand (KoPathShape *shape, KoPathPoint *point1, KoPathPoint *point2)
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

KoPathPointm_point1
KoPathPointm_point2
bool m_joined

Description détaillée

The undo / redo command for joining two start/end path points.

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


Documentation des contructeurs et destructeur

KoPointJoinCommand::KoPointJoinCommand ( KoPathShape shape,
KoPathPoint point1,
KoPathPoint point2 
)

Command to join two start/end path points.

Paramètres:
shape the path shape whose points to join
point1 the first point of the subpath to join
point2 the second point of the subpath to join

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


Documentation des fonctions membres

void KoPointJoinCommand::execute (  ) 

execute the command

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

Références KoPathShape::joinBetween(), m_joined, m_point1, m_point2, KoPathBaseCommand::m_shape, et KoShape::repaint().

Voici le graphe d'appel pour cette fonction :

void KoPointJoinCommand::unexecute (  ) 

revert the actions done in execute

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

Références KoPathShape::breakAt(), m_joined, m_point1, m_point2, KoPathBaseCommand::m_shape, et KoShape::repaint().

Voici le graphe d'appel pour cette fonction :

QString KoPointJoinCommand::name (  )  const

return the name of this command

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


Documentation des données membres

KoPathPoint* KoPointJoinCommand::m_point1 [private]

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

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

KoPathPoint* KoPointJoinCommand::m_point2 [private]

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

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

bool KoPointJoinCommand::m_joined [private]

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

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


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