Fix build after 9ab62fb867
It missed to propagate the const changes to a derived class.
CCMAIL: montel@kde.org