Skip to content

Commit

Permalink
📝 Fix signal name
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierLDff committed Apr 12, 2021
1 parent d287d85 commit a3af0f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ But those signals are not very convenient to use as a end user. That's why `QOlm

`qolm::QOlmBase` provide basic signal to react to `QObject` insert/remove/move operation.

* `onObjectInserted(QObject* object, int index)`
* `onObjectRemoved(QObject* object, int index)`
* `onObjectMoved(QObject* object, int from, int to)`
* `objectInserted(QObject* object, int index)`
* `objectRemoved(QObject* object, int index)`
* `objectMoved(QObject* object, int from, int to)`

They are call when the model can safely be iterated. You can simply retrieve a correct pointer by using `qobject_cast<_Object*>(object)`.

Expand Down

0 comments on commit a3af0f2

Please sign in to comment.