<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_inasafe_default_value_qsetting( qsetting, category, inasafe_field_key, value):
 """Helper method to set inasafe default value to qsetting. :param qsetting: QSettings. :type qsetting: QSettings :param category: Category of the default value. It can be global or recent. Global means the global setting for default value. Recent means the last set custom for default value from the user. :type category: str :param inasafe_field_key: Key for the field. :type inasafe_field_key: str :param value: Value of the inasafe_default_value. :type value: float, int """

    key = 'inasafe/default_value/%s/%s' % (category, inasafe_field_key)
    qsetting.setValue(key, value)