diff -r a5692c68d772 -r 593f946f4fec controlpanelui/src/cpplugins/personalizationplugin/src/cpprofilesettingform.cpp --- a/controlpanelui/src/cpplugins/personalizationplugin/src/cpprofilesettingform.cpp Fri Jun 25 17:12:20 2010 +0800 +++ b/controlpanelui/src/cpplugins/personalizationplugin/src/cpprofilesettingform.cpp Wed Sep 29 10:09:58 2010 +0800 @@ -36,12 +36,13 @@ CpProfileSettingForm::CpProfileSettingForm() : mModel(0), mItemDataHelper(new CpItemDataHelper( this )), mProfileModel(new CpProfileModel()), mFileIconProvider(new QFileIconProvider), - mGeneralPage(0),mMeetingPage(0),mCurrentPage( 0 ), mSettingManager(0) + mGeneralPage(0),mMeetingPage(0), mSettingManager(0), mCurrentPage(0) { this->setHeading(hbTrId("txt_cp_button_advanced_settings")); - this->setDescription(hbTrId("txt_cp_info_select_tones_that_play_when_you_select")); - + this->setDescription(hbTrId("txt_cp_info_select_tones_that_play_when_you_select")); initModel(); + connect(this, SIGNAL(activated(QModelIndex)), this, SLOT(onDataFormActivated(QModelIndex))); + } CpProfileSettingForm::~CpProfileSettingForm() @@ -52,6 +53,31 @@ delete mSettingManager; } +void CpProfileSettingForm::onDataFormActivated(const QModelIndex &index) +{ + HbDataFormModelItem *item = mModel->itemFromIndex(index); + mCurrentPage = item; +} + +QString CpProfileSettingForm::currentPageProfileName() +{ + return mCurrentPage->label(); +} + +void CpProfileSettingForm::setCurrentPageProfileName(const QString &name) +{ + mCurrentPage->setLabel(name); +} + +void CpProfileSettingForm::updateModifiedProfileName(const QString &name) +{ + if (mCurrentPage == mGeneralPage) { + mProfileModel->setProfileName(EProfileWrapperGeneralId, name); + } else if (mCurrentPage == mMeetingPage) { + mProfileModel->setProfileName(EProfileWrapperMeetingId, name); + } +} + void CpProfileSettingForm::initModel() { mModel = new HbDataFormModel(); @@ -77,7 +103,8 @@ connect(mSettingManager, SIGNAL(valueChanged (XQSettingsKey, QVariant)), this, SLOT(settingValueChanged(XQSettingsKey, QVariant))); - mGeneralPage = mModel->appendDataFormPage( generalString ); + mGeneralPage = mModel->appendDataFormPage( generalString ); + mCurrentPage = mGeneralPage; initProfileItems(EProfileWrapperGeneralId,mGeneralPage); //initGeneralTonesGroup(); @@ -137,7 +164,8 @@ //notification tones item modelItem= mModel->appendDataFormItem(HbDataFormModelItem::CheckBoxItem,QString(),parent); modelItem->setContentWidgetData("text", hbTrId("txt_cp_list_notification_tones")); - modelItem->setContentWidgetData( "checkState", profileSettings.mNotificationTone ? 2 : 0 ); + modelItem->setContentWidgetData("checkState", profileSettings.mNotificationTone ? 2 : 0); + modelItem->setContentWidgetData("objectName", "notificationTonesCheckBox" + QString::number(profileId)); if (profileId == EProfileWrapperGeneralId) { addConnection( modelItem, SIGNAL( stateChanged( int )), this, SLOT( on_general_notificationTones_stateChanged( int ))); } @@ -156,7 +184,7 @@ << QVariant(HbSlider::DecreaseElement) << QVariant(HbSlider::IconElement) << QVariant(HbSlider::TextElement); modelItem->setContentWidgetData("sliderElements",sliderElements); - + modelItem->setContentWidgetData("objectName", "keyTonesSlider" + QString::number(profileId)); //TODO: profileModel need provide Max and Min value( 0-5 ), current max value from profileModel is 3 @@ -164,13 +192,13 @@ modelItem->setContentWidgetData( QString( "maximum" ), 5 ); modelItem->setContentWidgetData( QString("value"), profileSettings.mKeyTouchScreenTone ); QMap< QString, QVariant > elements; - elements.insert(QString("IncreaseElement") , QVariant(":/icon/hb_vol_slider_increment.svg")); - elements.insert(QString("DecreaseElement"), QVariant(":/icon/hb_vol_slider_decrement.svg") ); + elements.insert(QString("IncreaseElement") , QVariant("qtg_mono_vol_up")); + elements.insert(QString("DecreaseElement"), QVariant("qtg_mono_vol_down") ); if (profileSettings.mKeyTouchScreenTone != 0) { - elements.insert(QString("IconElement"), QVariant(":/icon/hb_vol_slider_unmuted.svg") ); + elements.insert(QString("IconElement"), QVariant("qtg_mono_speaker") ); } else { - elements.insert(QString("IconElement"), QVariant(":/icon/hb_vol_slider_muted.svg") ); + elements.insert(QString("IconElement"), QVariant("qtg_mono_speaker_off") ); } modelItem->setContentWidgetData( QString( "elementIcons" ), elements ); @@ -192,13 +220,13 @@ sliderElements << QVariant(HbSlider::IncreaseElement) << QVariant(HbSlider::TrackElement) << QVariant(HbSlider::DecreaseElement); modelItem->setContentWidgetData("sliderElements",sliderElements); - + modelItem->setContentWidgetData("objectName", "vibrationSlider" + QString::number(profileId)); modelItem->setContentWidgetData( QString( "minimum" ), 0 ); modelItem->setContentWidgetData( QString( "maximum" ), 5 ); modelItem->setContentWidgetData( QString("value"), profileSettings.mKeyTouchScreenVibra ); QMap< QString, QVariant > iconElements; - iconElements.insert(QString("IncreaseElement") , QVariant(":/icon/hb_vol_slider_increment.svg")); - iconElements.insert(QString("DecreaseElement"), QVariant(":/icon/hb_vol_slider_decrement.svg") ); + iconElements.insert(QString("IncreaseElement") , QVariant("qtg_mono_vol_up")); + iconElements.insert(QString("DecreaseElement"), QVariant("qtg_mono_vol_down") ); modelItem->setContentWidgetData( QString( "elementIcons" ), iconElements ); if (profileId == EProfileWrapperGeneralId) { @@ -214,197 +242,7 @@ } -/* -void CpProfileSettingForm::initGeneralTonesGroup() -{ - CpProfileSettings profileSettings; - mProfileModel->profileSettings( EProfileWrapperGeneralId, profileSettings ); - - //HbDataFormModelItem *tonesGroup = mModel->appendDataFormGroup( - // hbTrId("txt_cp_subhead_tones"),mGeneralPage); - QFileInfo ringToneFileInfo( profileSettings.mRingTone ); - mModel->appendDataFormItem( new CpPersonalizationEntryItemData( *mItemDataHelper, - hbTrId("txt_cp_dblist_ringtone"), ringToneFileInfo.fileName(), mFileIconProvider->icon( ringToneFileInfo ) ), mGeneralPage); - - QFileInfo messageToneFileInfo( profileSettings.mMessageTone ); - mModel->appendDataFormItem( new CpPersonalizationEntryItemData( *mItemDataHelper, - hbTrId("txt_cp_dblist_message_tone"), messageToneFileInfo.fileName(), mFileIconProvider->icon( messageToneFileInfo ) ), mGeneralPage); - - QFileInfo emailToneFileInfo( profileSettings.mEmailTone ); - mModel->appendDataFormItem( new CpPersonalizationEntryItemData( *mItemDataHelper, - hbTrId("txt_cp_dblist_email_tone"), emailToneFileInfo.fileName(), mFileIconProvider->icon( emailToneFileInfo ) ), mGeneralPage); - - QFileInfo reminderToneFileInfo( profileSettings.mReminderTone ); - mModel->appendDataFormItem( new CpPersonalizationEntryItemData( *mItemDataHelper, - hbTrId("txt_cp_dblist_reminder_tone"), reminderToneFileInfo.fileName(), mFileIconProvider->icon( reminderToneFileInfo ) ), mGeneralPage); - - HbDataFormModelItem *notificationTones = mModel->appendDataFormItem(HbDataFormModelItem::CheckBoxItem,QString(),mGeneralPage); - notificationTones->setContentWidgetData("text", hbTrId("txt_cp_list_notification_tones")); - notificationTones->setContentWidgetData( "checkState", profileSettings.mNotificationTone?2:0 ); - - mGeneralKeysAndScreenToneSlider = - mModel->appendDataFormItem(HbDataFormModelItem::SliderItem ,QString(hbTrId("txt_cp_setlabel_key_and_touchscreen_tones")),mGeneralPage); - - //QMap< QString, QVariant > elements; - //elements.insert(QString("IncreaseElement") , QVariant(":/icon/hb_vol_slider_increment.svg")); - //elements.insert(QString("DecreaseElement"), QVariant(":/icon/hb_vol_slider_decrement.svg") ); - //elements.insert(QString("IconElement"), QVariant(":/icon/hb_vol_slider_muted.svg") ); - //mGeneralKeysAndScreenToneSlider->setContentWidgetData( QString( "elementIcons" ), elements ); - - //TODO: profileModel need provide Max and Min value( 0-5 ), current max value from profileModel is 3 - mGeneralKeysAndScreenToneSlider->setContentWidgetData( QString( "minimum" ), 0 ); - mGeneralKeysAndScreenToneSlider->setContentWidgetData( QString( "maximum" ), 5 ); - mGeneralKeysAndScreenToneSlider->setContentWidgetData( QString("value"), profileSettings.mKeyTouchScreenTone ); - - - mGeneralSreenVibra = mModel->appendDataFormItem( HbDataFormModelItem::SliderItem, QString( hbTrId( "txt_cp_setlabel_touch_screen_vibra" ) ), mGeneralPage ); - //TODO: profileModel need provide Max and Min value( 0-5 ), current max value from profileModel is 3 - mGeneralSreenVibra->setContentWidgetData( QString( "minimum" ), 0 ); - mGeneralSreenVibra->setContentWidgetData( QString( "maximum" ), 5 ); - mGeneralSreenVibra->setContentWidgetData( QString("value"), profileSettings.mKeyTouchScreenVibra ); - - addConnection( notificationTones, SIGNAL( stateChanged( int )), this, SLOT( on_general_notificationTones_stateChanged( int ))); - addConnection( mGeneralKeysAndScreenToneSlider, SIGNAL( valueChanged( int )), this, SLOT( on_general_keysAndScreenToneSlider_ValueChanged( int ))); - addConnection( mGeneralSreenVibra, SIGNAL( valueChanged( int )), this, SLOT( on_general_screenVibra_ValueChanged( int ))); -} -*/ -/*void CpProfileSettingForm::initGeneralVibraGroup() -{ - CpProfileSettings profileSettings; - mProfileModel->profileSettings( EProfileWrapperGeneralId, profileSettings ); - - HbDataFormModelItem *vibraGroup = mModel->appendDataFormGroup( - hbTrId( "txt_cp_subhead_vibra" ), mGeneralPage ); - HbDataFormModelItem *ringVibar = mModel->appendDataFormItem( HbDataFormModelItem::CheckBoxItem, QString(), vibraGroup ); - ringVibar->setContentWidgetData( "text", hbTrId( "txt_cp_list_ring_alet" ) ); - ringVibar->setContentWidgetData( "checkState", profileSettings.mRingAlertVibra?2:0 ); - - HbDataFormModelItem *messageVibra = mModel->appendDataFormItem( HbDataFormModelItem::CheckBoxItem, QString(), vibraGroup ); - messageVibra->setContentWidgetData( "text", hbTrId( "txt_cp_list_received_message" ) ); - messageVibra->setContentWidgetData( "checkState", profileSettings.mMessageVibra?2:0 ); - - HbDataFormModelItem *emailVibra = mModel->appendDataFormItem( HbDataFormModelItem::CheckBoxItem, QString(), vibraGroup ); - emailVibra->setContentWidgetData( "text", hbTrId( "txt_cp_list_received_email" ) ); - emailVibra->setContentWidgetData( "checkState", profileSettings.mEmailVibra?2:0 ); - - HbDataFormModelItem *reminderVibra = mModel->appendDataFormItem( HbDataFormModelItem::CheckBoxItem, QString(), vibraGroup ); - reminderVibra->setContentWidgetData( "text", hbTrId( "txt_cp_list_reminder_alert" )); - reminderVibra->setContentWidgetData( "checkState", profileSettings.mReminderAlertVibra?2:0 ); - - HbDataFormModelItem *notificationVibra = mModel->appendDataFormItem( HbDataFormModelItem::CheckBoxItem, QString(), vibraGroup ); - notificationVibra->setContentWidgetData( "text", hbTrId( "txt_cp_list_notification" ) ); - notificationVibra->setContentWidgetData( "checkState", profileSettings.mNotificationVibra?2:0 ); - - mGeneralSreenVibra = mModel->appendDataFormItem( HbDataFormModelItem::SliderItem, QString( hbTrId( "txt_cp_setlabel_touch_screen_vibra" ) ), vibraGroup ); - //TODO: profileModel need provide Max and Min value( 0-5 ), current max value from profileModel is 3 - mGeneralSreenVibra->setContentWidgetData( QString( "minimum" ), 0 ); - mGeneralSreenVibra->setContentWidgetData( QString( "maximum" ), 5 ); - mGeneralSreenVibra->setContentWidgetData( QString("value"), profileSettings.mKeyTouchScreenVibra ); - - addConnection( ringVibar, SIGNAL( stateChanged( int )), this, SLOT( on_general_ringVibar_stateChanged( int ))); - addConnection( messageVibra, SIGNAL( stateChanged( int )), this, SLOT( on_general_messageVibra_stateChanged( int ))); - addConnection( emailVibra, SIGNAL( stateChanged( int )), this, SLOT( on_general_emailVibra_stateChanged( int ))); - addConnection( reminderVibra, SIGNAL( stateChanged( int )), this, SLOT( on_general_reminderVibra_stateChanged( int ))); - addConnection( notificationVibra, SIGNAL( stateChanged( int )), this, SLOT( on_general_notificationVibra_stateChanged( int ))); - - addConnection( mGeneralSreenVibra, SIGNAL( valueChanged( int )), this, SLOT( on_general_screenVibra_ValueChanged( int ))); -}*/ - -//////////////////////////////////////////////////////////// -/*void CpProfileSettingForm::initMeetingTonesGroup() -{ - CpProfileSettings profileSettings; - mProfileModel->profileSettings( EProfileWrapperMeetingId, profileSettings ); - - //HbDataFormModelItem *tonesGroup = mModel->appendDataFormGroup( - // hbTrId("txt_cp_subhead_tones"),mMeetingPage); - QFileInfo ringToneFileInfo( profileSettings.mRingTone ); - mModel->appendDataFormItem( new CpPersonalizationEntryItemData( *mItemDataHelper, - hbTrId("txt_cp_dblist_ringtone"), ringToneFileInfo.fileName(), mFileIconProvider->icon( ringToneFileInfo ) ), mMeetingPage); - - QFileInfo messageToneFileInfo( profileSettings.mMessageTone ); - mModel->appendDataFormItem( new CpPersonalizationEntryItemData( *mItemDataHelper, - hbTrId("txt_cp_dblist_message_tone"), messageToneFileInfo.fileName(), mFileIconProvider->icon( messageToneFileInfo ) ), mMeetingPage); - - QFileInfo emailToneFileInfo( profileSettings.mEmailTone ); - mModel->appendDataFormItem( new CpPersonalizationEntryItemData( *mItemDataHelper, - hbTrId("txt_cp_dblist_email_tone"), emailToneFileInfo.fileName(), mFileIconProvider->icon( emailToneFileInfo ) ), mMeetingPage); - - QFileInfo reminderToneFileInfo( profileSettings.mReminderTone ); - mModel->appendDataFormItem( new CpPersonalizationEntryItemData( *mItemDataHelper, - hbTrId("txt_cp_dblist_reminder_tone"), reminderToneFileInfo.fileName(), mFileIconProvider->icon( reminderToneFileInfo ) ), mMeetingPage); - - HbDataFormModelItem *notificationTones = mModel->appendDataFormItem(HbDataFormModelItem::CheckBoxItem,QString(),mMeetingPage); - notificationTones->setContentWidgetData("text", hbTrId("txt_cp_list_notification_tones")); - notificationTones->setContentWidgetData( "checkState", profileSettings.mNotificationTone?2:0 ); - - mMeetingKeysAndScreenToneSlider = - mModel->appendDataFormItem(HbDataFormModelItem::SliderItem ,QString(hbTrId("txt_cp_setlabel_key_and_touchscreen_tones")),mMeetingPage); - - //QMap< QString, QVariant > elements; - //elements.insert(QString("IncreaseElement") , QVariant(":/icon/hb_vol_slider_increment.svg")); - //elements.insert(QString("DecreaseElement"), QVariant(":/icon/hb_vol_slider_decrement.svg") ); - //elements.insert(QString("IconElement"), QVariant(":/icon/hb_vol_slider_muted.svg") ); - //mMeetingkeysAndScreenSlider->setContentWidgetData( QString( "elementIcons" ), elements ); - - //TODO: profileModel need provide Max and Min value( 0-5 ), current max value from profileModel is 3 - mMeetingKeysAndScreenToneSlider->setContentWidgetData( QString( "minimum" ), 0 ); - mMeetingKeysAndScreenToneSlider->setContentWidgetData( QString( "maximum" ), 5 ); - mMeetingKeysAndScreenToneSlider->setContentWidgetData( QString("value"), profileSettings.mKeyTouchScreenTone ); - - mMeetingSreenVibra = mModel->appendDataFormItem( HbDataFormModelItem::SliderItem, QString( hbTrId( "txt_cp_setlabel_touch_screen_vibra" ) ), mMeetingPage ); - //TODO: profileModel need provide Max and Min value( 0-5 ), current max value from profileModel is 3 - mMeetingSreenVibra->setContentWidgetData( QString( "minimum" ), 0 ); - mMeetingSreenVibra->setContentWidgetData( QString( "maximum" ), 5 ); - mMeetingSreenVibra->setContentWidgetData( QString("value"), profileSettings.mKeyTouchScreenVibra ); - - addConnection( notificationTones, SIGNAL( stateChanged( int )), this, SLOT( on_meeting_notificationTones_stateChanged( int ))); - addConnection( mMeetingKeysAndScreenToneSlider, SIGNAL( valueChanged( int )), this, SLOT( on_meeting_keysAndScreenSlider_ValueChanged( int ))); - addConnection( mMeetingSreenVibra, SIGNAL( valueChanged( int )), this, SLOT( on_meeting_screenVibra_ValueChanged( int ))); -} -*/ -/*void CpProfileSettingForm::initMeetingVibraGroup() -{ - CpProfileSettings profileSettings; - mProfileModel->profileSettings( EProfileWrapperMeetingId, profileSettings ); - - HbDataFormModelItem *vibraGroup = mModel->appendDataFormGroup( - hbTrId( "txt_cp_subhead_vibra" ), mMeetingPage ); - HbDataFormModelItem *ringVibar = mModel->appendDataFormItem( HbDataFormModelItem::CheckBoxItem, QString(), vibraGroup ); - ringVibar->setContentWidgetData( "text", hbTrId( "txt_cp_list_ring_alet" ) ); - ringVibar->setContentWidgetData( "checkState", profileSettings.mRingAlertVibra?2:0 ); - - HbDataFormModelItem *messageVibra = mModel->appendDataFormItem( HbDataFormModelItem::CheckBoxItem, QString(), vibraGroup ); - messageVibra->setContentWidgetData( "text", hbTrId( "txt_cp_list_received_message" ) ); - messageVibra->setContentWidgetData( "checkState", profileSettings.mMessageVibra?2:0 ); - - HbDataFormModelItem *emailVibra = mModel->appendDataFormItem( HbDataFormModelItem::CheckBoxItem, QString(), vibraGroup ); - emailVibra->setContentWidgetData( "text", hbTrId( "txt_cp_list_received_email" ) ); - emailVibra->setContentWidgetData( "checkState", profileSettings.mEmailVibra?2:0 ); - - HbDataFormModelItem *reminderVibra = mModel->appendDataFormItem( HbDataFormModelItem::CheckBoxItem, QString(), vibraGroup ); - reminderVibra->setContentWidgetData( "text", hbTrId( "txt_cp_list_reminder_alert" )); - reminderVibra->setContentWidgetData( "checkState", profileSettings.mReminderAlertVibra?2:0 ); - - HbDataFormModelItem *notificationVibra = mModel->appendDataFormItem( HbDataFormModelItem::CheckBoxItem, QString(), vibraGroup ); - notificationVibra->setContentWidgetData( "text", hbTrId( "txt_cp_list_notification" ) ); - notificationVibra->setContentWidgetData( "checkState", profileSettings.mNotificationVibra?2:0 ); - - mMeetingSreenVibra = mModel->appendDataFormItem( HbDataFormModelItem::SliderItem, QString( hbTrId( "txt_cp_setlabel_touch_screen_vibra" ) ), vibraGroup ); - //TODO: profileModel need provide Max and Min value( 0-5 ), current max value from profileModel is 3 - mMeetingSreenVibra->setContentWidgetData( QString( "minimum" ), 0 ); - mMeetingSreenVibra->setContentWidgetData( QString( "maximum" ), 5 ); - mMeetingSreenVibra->setContentWidgetData( QString("value"), profileSettings.mKeyTouchScreenVibra ); - - addConnection( ringVibar, SIGNAL( stateChanged( int )), this, SLOT( on_meeting_ringVibar_stateChanged( int ))); - addConnection( messageVibra, SIGNAL( stateChanged( int )), this, SLOT( on_meeting_messageVibra_stateChanged( int ))); - addConnection( emailVibra, SIGNAL( stateChanged( int )), this, SLOT( on_meeting_emailVibra_stateChanged( int ))); - addConnection( reminderVibra, SIGNAL( stateChanged( int )), this, SLOT( on_meeting_reminderVibra_stateChanged( int ))); - addConnection( notificationVibra, SIGNAL( stateChanged( int )), this, SLOT( on_meeting_notificationVibra_stateChanged( int ))); - - addConnection( mMeetingSreenVibra, SIGNAL( valueChanged( int )), this, SLOT( on_meeting_screenVibra_ValueChanged( int ))); -}*/ //////////////////////////////////////////////////// //general tones @@ -425,26 +263,6 @@ //general vibra -void CpProfileSettingForm::on_general_ringVibar_stateChanged( int state ) -{ - mProfileModel->setRingAlertVibra( EProfileWrapperGeneralId, checkBoxStateToBool( state ) ); -} -void CpProfileSettingForm::on_general_messageVibra_stateChanged( int state ) -{ - mProfileModel->setMessageVibra( EProfileWrapperGeneralId, checkBoxStateToBool( state ) ); -} -void CpProfileSettingForm::on_general_emailVibra_stateChanged( int state ) -{ - mProfileModel->setEmailVibra( EProfileWrapperGeneralId, checkBoxStateToBool( state ) ); -} -void CpProfileSettingForm::on_general_reminderVibra_stateChanged( int state ) -{ - mProfileModel->setReminderVibra( EProfileWrapperGeneralId, checkBoxStateToBool( state ) ); -} -void CpProfileSettingForm::on_general_notificationVibra_stateChanged( int state ) -{ - mProfileModel->setNotificationVibra( EProfileWrapperGeneralId, checkBoxStateToBool( state ) ); -} void CpProfileSettingForm::on_general_screenVibra_ValueChanged( int value ) { mProfileModel->setKeyTouchScreenVibra( EProfileWrapperGeneralId, value ); @@ -474,28 +292,6 @@ } } - -//meeting vibra -void CpProfileSettingForm::on_meeting_ringVibar_stateChanged( int state ) -{ - mProfileModel->setRingAlertVibra( EProfileWrapperMeetingId, checkBoxStateToBool( state ) ); -} -void CpProfileSettingForm::on_meeting_messageVibra_stateChanged( int state ) -{ - mProfileModel->setMessageVibra( EProfileWrapperMeetingId, checkBoxStateToBool( state ) ); -} -void CpProfileSettingForm::on_meeting_emailVibra_stateChanged( int state ) -{ - mProfileModel->setEmailVibra( EProfileWrapperMeetingId, checkBoxStateToBool( state ) ); -} -void CpProfileSettingForm::on_meeting_reminderVibra_stateChanged( int state ) -{ - mProfileModel->setReminderVibra( EProfileWrapperMeetingId, checkBoxStateToBool( state ) ); -} -void CpProfileSettingForm::on_meeting_notificationVibra_stateChanged( int state ) -{ - mProfileModel->setNotificationVibra( EProfileWrapperMeetingId, checkBoxStateToBool( state ) ); -} void CpProfileSettingForm::on_meeting_screenVibra_ValueChanged( int value ) { mProfileModel->setKeyTouchScreenVibra( EProfileWrapperMeetingId, value ); @@ -572,10 +368,10 @@ QMap elements = sliderItem->contentWidgetData("elementIcons").toMap(); if (isMute) { - elements.insert(QString("IconElement"), QVariant(":/icon/hb_vol_slider_muted.svg")); + elements.insert(QString("IconElement"), QVariant("qtg_mono_speaker_off")); } else { - elements.insert(QString("IconElement"), QVariant(":/icon/hb_vol_slider_unmuted.svg")); + elements.insert(QString("IconElement"), QVariant("qtg_mono_speaker")); } sliderItem->setContentWidgetData( QString( "elementIcons" ), elements ); }