--- a/controlpanelui/src/inc/cpprofilemodel.h Thu Aug 05 11:28:29 2010 +0800
+++ b/controlpanelui/src/inc/cpprofilemodel.h Tue Aug 24 10:56:32 2010 +0800
@@ -44,11 +44,6 @@
bool mNotificationTone;
int mKeyTouchScreenTone; // 0-5
- bool mRingAlertVibra;
- bool mMessageVibra;
- bool mEmailVibra;
- bool mReminderAlertVibra;
- bool mNotificationVibra;
int mKeyTouchScreenVibra; //0-5
};
class PROFILE_WRAPPER_EXPORT CpProfileModel : QObject
@@ -59,23 +54,17 @@
~CpProfileModel();
public:
- int initiationFlag();
QString profileName(int profileId)const;
QStringList profileNames()const;
int activateProfile(int profileId);
int activeProfileId() const;
- void profileSettings(int profileId, CpProfileSettings& profileSettings);
- int setProfileSettings(int profileId, CpProfileSettings& profileSettings );
- /*!
- * set ring tone in personalization group in control panel's homeview
- */
+ void profileSettings(int profileId, CpProfileSettings& profileSettings);
+ void setProfileSettings(int profileId, CpProfileSettings& profileSettings );
+
QString ringTone() const;
void setRingTone(const QString& filePath);
- /* QString alarmTone();
- void setAlarmTone(const QString& filePath);*/
-
int masterVolume() const;
void setMasterVolume(int volume);
@@ -86,9 +75,6 @@
bool silenceMode() const;
void setSilenceMode(bool isSlience);
- bool offLineMode() const;
- void setOffLineMode(bool isOffLine);
-
/*!
* For profile settings
*/
@@ -108,21 +94,6 @@
int keyTouchScreenTone(int profileId) const;
void setKeyTouchScreenTone(int profileId, int level);
- bool ringAlertVibra(int profileId) const;
- void setRingAlertVibra(int profileId, bool isActive);
-
- bool messageVibra(int profileId) const;
- void setMessageVibra(int profileId, bool isActive);
-
- bool emailVibra(int profileId) const;
- void setEmailVibra(int profileId, bool isActive);
-
- bool reminderVibra(int profileId) const;
- void setReminderVibra(int profileId, bool isActive);
-
- bool notificationVibra(int profileId) const;
- void setNotificationVibra(int profileId, bool isActive);
-
int keyTouchScreenVibra(int profileId)const;
void setKeyTouchScreenVibra(int profileId, int level);