There's a QCop message to disable power off, it was mentioned in the forum, and will also be on the trolltech website.
I'd re-name xmms, create a script in it's place and call this command before and after the xmms binary to disable, then re-enable power-off.
Si