Kmenu > System > KDE System Guard

or

[ctrl] [esc] (results will vary depending on what the application is and what state it's in!)

or (from the command line)

top

then kill (pid)

man top and man kill for details.

If all else fails (and sometimes it does) go to log out then log in as different user and choose restart X server. Then log in as yourself.