I was wondering if it was possible with Qt to access HKEY_CLASSES_ROOT

like so:
Qt Code:
  1. QSettings settings;
  2. if(settings.value("HKEY_CLASSES_ROOT\\Cool\\Shell\\open\\ddeexec\\Topic", QString("")) == QString("")){
  3. settings.setValue("HKEY_CLASSES_ROOT\\Cool", "AValue");
  4. // more registry values.
  5. }
To copy to clipboard, switch view to plain text mode 

I wasn't able to get it to work, and if someone can show me a way it would be great, because I tried to read through the Settings docs for hours...

Thanks,.