camerauis/cameraxui/cxengine/src/cxesettingsimp.cpp
changeset 52 7e18d488ac5f
parent 46 c826656d6714
equal deleted inserted replaced
46:c826656d6714 52:7e18d488ac5f
    66 {
    66 {
    67     CX_DEBUG_ENTER_FUNCTION();
    67     CX_DEBUG_ENTER_FUNCTION();
    68     delete mSettingStore;
    68     delete mSettingStore;
    69 
    69 
    70     mVariationSettings.clear();
    70     mVariationSettings.clear();
       
    71     mSettingListeners.clear();
    71     CX_DEBUG_EXIT_FUNCTION();
    72     CX_DEBUG_EXIT_FUNCTION();
    72 }
    73 }
    73 
    74 
    74 /*
    75 /*
    75 * Reads a value from cenrep
    76 * Reads a value from cenrep
   133 
   134 
   134 
   135 
   135 /*!
   136 /*!
   136  * Add listener for changes in one setting. When the value of the setting changes, the given
   137  * Add listener for changes in one setting. When the value of the setting changes, the given
   137  * slot is invoked on given object.
   138  * slot is invoked on given object.
       
   139  * The validity of the settingKey is not checked.
   138  *
   140  *
   139  * @param settingKey Setting to listen to
   141  * @param settingKey Setting to listen to
   140  * @param target Object that the slot will be invoked for
   142  * @param target Object that the slot will be invoked for
   141  * @param slot Slot that will be invoked. The slot can have either of these two signatures:
   143  * @param slot Slot that will be invoked. The slot can have either of these two signatures:
   142  *   slotName(const QVariant&)    only new value of setting is passed as parameter
   144  *   slotName(const QVariant&)    only new value of setting is passed as parameter