Strange UHT build error (wrong superclass?)

Hi guys,

Since some point I can not build my project. Inclusion of two classes into the project leads to very strange UHT error, “Wrong superclass”. More info here:
Has anyone faced such an error? I am sorry to post it here, aside from answers, but me and my team are stuck with this error, and it prevents us from continuing development process.

We are using 4.0.1. I am going to try to build project in 4.1, but don’t think it will resolve that error.