Less code duplication, for lower performance, and working around dashbot's nested bind problem.
Less code duplication, for lower performance, and working around dashbot's nested bind problem.

svn path=/trunk/KDE/kdepim/kleopatra/; revision=779498

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi