By that removing lots of duplicated code from CoverSwitch. svn path=/trunk/KDE/kdebase/workspace/; revision=1046395