Rapatriement dans la branche 0.3 des revisions 839 a 853.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@854 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2010-02-14 16:28:45 +00:00
parent a9b7aea2b8
commit 9a52ef4688
168 changed files with 493 additions and 15 deletions

View File

@@ -356,4 +356,31 @@ class AllowInternalConnectionsCommand : public QUndoCommand {
/// autorisation des connexions internes apres modification
bool ic;
};
/**
Cette classe represente l'action de changer les informations
complementaires d'un element.
*/
class ChangeInformationsCommand : public QUndoCommand {
// constructeurs, destructeur
public:
ChangeInformationsCommand(ElementScene *, const QString &, const QString &, QUndoCommand * = 0);
virtual ~ChangeInformationsCommand();
private:
ChangeInformationsCommand(const ChangeInformationsCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// Element edite auquel il faut appliquer les modifications
ElementScene *element;
/// Informations avant modification
QString old_informations_;
/// Informations apres modification
QString new_informations_;
};
#endif