Fix various typos in source documentation and comments (cont.)

Found via `codespell`
This commit is contained in:
luz paz
2022-12-04 08:21:12 -05:00
committed by Laurent Trinques
parent a76e5446aa
commit 1994235bc5
102 changed files with 277 additions and 277 deletions

View File

@@ -36,7 +36,7 @@ class Diagram;
This interface work like this :
You need to create an interface and call diagram::setEventInterface(pointer_of_your_interface).
When a diagram get an event (mouse or key) if they have an event interface,
they send the event (with the status accepted to false) to the interface (for exemple mousePressEvent).
they send the event (with the status accepted to false) to the interface (for example mousePressEvent).
If the interface do something with this event, you need to set to true the accepted status of the event, then diagram do nothing.
When the interface job is done, we need to emit the signal finish(), the diagram use this signal to delete the interface.
Be carreful with the destructor, diagram can at any time (even if interface is still running) delete the interface,
@@ -61,7 +61,7 @@ class DiagramEventInterface : public QObject
virtual void init();
signals:
void finish(); //Emited when the interface finish is job.
void finish(); //Emitted when the interface finishes its job.
protected:
QPointer<Diagram> m_diagram;