summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/ttsfestival.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base/ttsfestival.cpp')
-rw-r--r--rbutil/rbutilqt/base/ttsfestival.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/base/ttsfestival.cpp b/rbutil/rbutilqt/base/ttsfestival.cpp
index b50ad516c7..d0ca400909 100644
--- a/rbutil/rbutilqt/base/ttsfestival.cpp
+++ b/rbutil/rbutilqt/base/ttsfestival.cpp
@@ -58,14 +58,17 @@ void TTSFestival::generateSettings()
EncTtsSetting::eSTRINGLIST, tr("Voice:"),
RbSettings::subValue("festival", RbSettings::TtsVoice),
getVoiceList(), EncTtsSetting::eREFRESHBTN);
- connect(setting,SIGNAL(refresh()),this,SLOT(updateVoiceList()));
- connect(setting,SIGNAL(dataChanged()),this,SLOT(clearVoiceDescription()));
+ connect(setting, &EncTtsSetting::refresh,
+ this, &TTSFestival::updateVoiceList);
+ connect(setting, &EncTtsSetting::dataChanged,
+ this, &TTSFestival::clearVoiceDescription);
insertSetting(eVOICE,setting);
//voice description
setting = new EncTtsSetting(this,EncTtsSetting::eREADONLYSTRING,
tr("Voice description:"),"",EncTtsSetting::eREFRESHBTN);
- connect(setting,SIGNAL(refresh()),this,SLOT(updateVoiceDescription()));
+ connect(setting, &EncTtsSetting::refresh,
+ this, &TTSFestival::updateVoiceDescription);
insertSetting(eVOICEDESC,setting);
}