Added handlePressed() and handleReleased() signals.