Unfortunately I can't quite work out what they're doing. That QSettings thing is specific to QT, as far as I can tell. There must be a Cocoa equivalent, but I don't know what it is.
I'll re-open the bug report, since I already closed it. :)