Fix wrong include in class.cpp template file

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