Is there a quick way to unmask and ~amd64 kde-4.0.0 and all its dependencies (instead of discovering them one at a time)?
emerge autounmask
It'll take a while to run, but it should do the trick. Just to be on the safe side do a search as someone mentioned that autounmask might unmask some ...