Everything seems fine. Maybe you have somewhere another scriptmanager.h which is included accidentally?
Ah, um, well...
You might be on to something.
There is another scriptmanager.h on the system, installed by the tdelibs package. :)
/opt/trinity/include/scriptmanager.h
GIT sources: tdelibs/interfaces/kscript/scriptmanager.h
So how do I edit CMakeLists.txt, or amarokdcophandler.cpp or amarokdcophandler.h to use the local scriptmanager.h and not the one installed in /opt/trinity/include?
Darrell