There is a tutorial on defining your own rules for the behaviour of specific windows on the KWin Rules pages.