Simplify the code using QSettings
- The code did not compile with msvc because of arguments of FormatMessageW(). QSettings in Qt4 provides native registry access.
- Use HKCU, not HKLM.
- Messages improved using KUIT.
svn path=/trunk/KDE/kdepim/kleopatra/; revision=792167