diff options
Diffstat (limited to 'kttsd/plugins/hadifix/hadifixconf.cpp')
-rw-r--r-- | kttsd/plugins/hadifix/hadifixconf.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kttsd/plugins/hadifix/hadifixconf.cpp b/kttsd/plugins/hadifix/hadifixconf.cpp index 6ff806f..642e722 100644 --- a/kttsd/plugins/hadifix/hadifixconf.cpp +++ b/kttsd/plugins/hadifix/hadifixconf.cpp @@ -92,15 +92,15 @@ class HadifixConfPrivate { TQString name = TQFileInfo(*it).fileName(); gender = HadifixProc::determineGender(defaultMbrolaExec, *it); if (gender == HadifixProc::MaleGender) - configWidget->addVoice(*it, true, i18n("Male voice \"%1\"").tqarg(name)); + configWidget->addVoice(*it, true, i18n("Male voice \"%1\"").arg(name)); else if (gender == HadifixProc::FemaleGender) - configWidget->addVoice(*it, false, i18n("Female voice \"%1\"").tqarg(name)); + configWidget->addVoice(*it, false, i18n("Female voice \"%1\"").arg(name)); else { if (name == "de1") - configWidget->addVoice(*it, false, i18n("Female voice \"%1\"").tqarg(name)); + configWidget->addVoice(*it, false, i18n("Female voice \"%1\"").arg(name)); else { - configWidget->addVoice(*it, true, i18n("Unknown voice \"%1\"").tqarg(name)); - configWidget->addVoice(*it, false, i18n("Unknown voice \"%1\"").tqarg(name)); + configWidget->addVoice(*it, true, i18n("Unknown voice \"%1\"").arg(name)); + configWidget->addVoice(*it, false, i18n("Unknown voice \"%1\"").arg(name)); } } } @@ -284,12 +284,12 @@ TQString HadifixConf::getTalkerCode() "<voice lang=\"%1\" name=\"%2\" gender=\"%3\" />" "<prosody volume=\"%4\" rate=\"%5\" />" "<kttsd synthesizer=\"%6\" />") - .tqarg(d->languageCode) - .tqarg(voiceCode) - .tqarg(gender) - .tqarg(volume) - .tqarg(rate) - .tqarg("Hadifix"); + .arg(d->languageCode) + .arg(voiceCode) + .arg(gender) + .arg(volume) + .arg(rate) + .arg("Hadifix"); } } return TQString(); |