Close Intevation merge issue 45, forward port of enterprise commit 716376.
svn path=/branches/work/kdab-post-4.0/kdepimlibs/; revision=719321