camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakesettings.cpp
changeset 37 64817133cd1d
parent 19 d9aefe59d544
child 45 24fd82631616
--- a/camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakesettings.cpp	Wed Jun 23 17:59:54 2010 +0300
+++ b/camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakesettings.cpp	Tue Jul 06 14:04:02 2010 +0300
@@ -58,12 +58,14 @@
 CxeError::Id CxeFakeSettings::set(const QString& key, int newValue)
 {
     mSettingKeyHash[key] = QVariant(newValue);
+    emit settingValueChanged(key, newValue);
     return CxeError::None;
 }
 
 CxeError::Id CxeFakeSettings::set(const QString &key, const QString &newValue)
 {
     mSettingKeyHash[key] = QVariant(newValue);
+    emit settingValueChanged(key, newValue);
     return CxeError::None;
 }
 
@@ -72,6 +74,7 @@
 CxeError::Id CxeFakeSettings::set(const QString &key, qreal newValue)
 {
     mSettingKeyHash[key] = QVariant(newValue);
+    emit settingValueChanged(key, newValue);
     return CxeError::None;
 }
 
@@ -80,3 +83,8 @@
 {
 }
 
+
+void CxeFakeSettings::emulate(long int uid, unsigned long int key, QVariant value)
+{
+    emit settingValueChanged(uid, key, value);
+}