Sets the value for the given key to the inputed value.
        
        :param      key | <str>
                    value | <variant>

def setValue(self, key, value):
        """
        Sets the value for the given key to the inputed value.
        
        :param      key | <str>
                    value | <variant>
        """
        if self._customFormat:
            self._customFormat.setValue(key, value)
        else:
            super(XSettings, self).setValue(key, wrapVariant(value))