controlpanelui/src/cpplugins/volumeplugin/src/cpvolumecontroller.h
changeset 19 36aa4756ee82
parent 12 624337f114fe
child 28 e0b83131558d
child 40 593f946f4fec
--- a/controlpanelui/src/cpplugins/volumeplugin/src/cpvolumecontroller.h	Mon May 03 12:32:06 2010 +0300
+++ b/controlpanelui/src/cpplugins/volumeplugin/src/cpvolumecontroller.h	Fri May 14 13:21:08 2010 +0800
@@ -22,6 +22,9 @@
 class CpProfileModel;
 class HbDataFormModelItem;
 class CpItemDataHelper;
+class XQSettingsManager;
+class XQSettingsKey;
+class QVariant;
 
 class CpVolumeController : public QObject
 {
@@ -41,14 +44,18 @@
     void silenceModeChange(bool isSilence);
     void masterVolumeChange(int value);
     void masterVibraChange(int state);
+    
+    void settingValueChanged(const XQSettingsKey &key, const QVariant &value);
+    
 private:
-	void update();
+	void updateUi();
 	int volumeLevelToInt( CpVolumeController::VolumeLevel volumeLevel );
 	CpVolumeController::VolumeLevel intToVolumeLevel( int value );
 	
 private:
 	CpProfileModel *mProfileModel;
 	QList<HbDataFormModelItem *> mItemList;
+	XQSettingsManager *mSettingManager;
 };
 
 #endif