Fix EnginioModel::setData

The code was not checking for rows indexes smaller then 0.

Change-Id: I39d4fad06809977e3cec0f7b7dc85f3814c0dcfa
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Add more tests for fake replies

Change-Id: Ib5824d9363d2c3bf51aee5ddba03051e09990a1c
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Remove redundant check

Successful remove operation on ACL requires the valid property name.

Change-Id: I1f1489703ec52b96f9f82267943ccf3b6e232db3
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Fix constructErrorMessage function

De-inline error message construction function, there is not point
in duplicating the code in the binary. The function was hidden
into a struct namespace and exported. Parameters were modified
to accept const reference.

Change-Id: Ib7c4f36b7484be523b81b7ade1011f7a5a2e890f
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Add test for re-assigning the same object as qml model query

Change-Id: I05471f898c37e2184e4a8fb8a59e23c29dcb270b
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Make code a bit more verbose.

There was too many "->" to understand it.

Change-Id: Id47dc32b31309a5183e23be74ee44afb308dbf16
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Fix forward declare struct / class mismatch warning.

Change-Id: I369fad1d0f68773d97c309d4b139a49f3d28bd9f
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>