Partly revert r727015
Partly revert r727015

BUG:244498

svn path=/trunk/KDE/kdelibs/kate/; revision=1166732

hlamer/kate,hlamer/kate,hlamer/kate,DickJ/kate,hlamer/kate,sandsmark/kate,jfmcarreira/kate,hlamer/kate,DickJ/kate,cmacq2/kate,sandsmark/kate,DickJ/kate,sandsmark/kate,hlamer/kate,DickJ/kate,hlamer/kate,jfmcarreira/kate,hlamer/kate,cmacq2/kate,hlamer/kate,sandsmark/kate,cmacq2/kate,hlamer/kate,jfmcarreira/kate