fixed non-accepted argument

Mywriter.writeslots()-Function does take a temporary QString only as its
argument instead a function which returns a QString directly.
Merge pull request #14 from devjb/carsten

fixed non-accepted argument