The "Use" checkbox is what you're trying to toggle programmatically, right?
In .pro files, this is stored as a single bit which is in flags_ext.
I'm saying that hopefully there are equivalent flags in SSL too, defined as a constant in a header, and they might be a bitset too.
I'll see if I can...