#include <KoPathCommand.h>
Graphe de collaboration de KoPathSeparateCommand:
Fonctions membres publiques | |
KoPathSeparateCommand (KoShapeControllerBase *controller, const QList< KoPathShape * > &paths) | |
virtual | ~KoPathSeparateCommand () |
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 | |
KoShapeControllerBase * | m_controller |
QList< KoPathShape * > | m_paths |
QList< KoPathShape * > | m_separatedPaths |
bool | m_isSeparated |
Définition à la ligne 339 du fichier KoPathCommand.h.
KoPathSeparateCommand::KoPathSeparateCommand | ( | KoShapeControllerBase * | controller, | |
const QList< KoPathShape * > & | paths | |||
) |
Command for separating subpaths of a list of paths into different paths.
controller | the controller to used for removing/inserting. | |
paths | the list of paths to separate |
Définition à la ligne 721 du fichier KoPathCommand.cpp.
KoPathSeparateCommand::~KoPathSeparateCommand | ( | ) | [virtual] |
Définition à la ligne 728 du fichier KoPathCommand.cpp.
Références m_controller, m_isSeparated, m_paths, et m_separatedPaths.
void KoPathSeparateCommand::execute | ( | ) |
execute the command
Définition à la ligne 742 du fichier KoPathCommand.cpp.
Références KoShapeControllerBase::addShape(), m_controller, m_isSeparated, m_paths, m_separatedPaths, KoShapeControllerBase::removeShape(), KoShape::repaint(), et KoPathShape::separate().
Voici le graphe d'appel pour cette fonction :
void KoPathSeparateCommand::unexecute | ( | ) |
revert the actions done in execute
Définition à la ligne 767 du fichier KoPathCommand.cpp.
Références KoShapeControllerBase::addShape(), m_controller, m_isSeparated, m_paths, m_separatedPaths, KoShapeControllerBase::removeShape(), et KoShape::repaint().
Voici le graphe d'appel pour cette fonction :
QString KoPathSeparateCommand::name | ( | ) | const |
Définition à la ligne 356 du fichier KoPathCommand.h.
Référencé par execute(), unexecute(), et ~KoPathSeparateCommand().
QList<KoPathShape*> KoPathSeparateCommand::m_paths [private] |
Définition à la ligne 357 du fichier KoPathCommand.h.
Référencé par execute(), unexecute(), et ~KoPathSeparateCommand().
QList<KoPathShape*> KoPathSeparateCommand::m_separatedPaths [private] |
Définition à la ligne 358 du fichier KoPathCommand.h.
Référencé par execute(), unexecute(), et ~KoPathSeparateCommand().
bool KoPathSeparateCommand::m_isSeparated [private] |
Définition à la ligne 359 du fichier KoPathCommand.h.
Référencé par execute(), unexecute(), et ~KoPathSeparateCommand().