Add minor improvements in QWrappedObject

Change-Id: Ie2578aa8709a4c38256b6fa2f71f98bb1f363725
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>