def set(self, key, value): """ Set the value of a config parameter """ strval = value if (isinstance(value, QString)): strval = str(value) Config.set(self, key, strval)