reapply r926394 - it now also compiles on linux
reapply r926394 - it now also compiles on linux

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

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