Add missing QT_BEGIN/END_NAMESPACE in model .cpp files

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