diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:20:30 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:20:30 +0000 |
commit | 28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c (patch) | |
tree | a2f011f22aa31d0839c6e2118501b7a6d2f2ae96 /kttsd/plugins/hadifix/hadifixconfigui.ui.h | |
parent | 0285229d858c8f03cde7354c679a752598cf4515 (diff) | |
download | tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.tar.gz tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kttsd/plugins/hadifix/hadifixconfigui.ui.h')
-rw-r--r-- | kttsd/plugins/hadifix/hadifixconfigui.ui.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kttsd/plugins/hadifix/hadifixconfigui.ui.h b/kttsd/plugins/hadifix/hadifixconfigui.ui.h index e3a7a04..7c21c54 100644 --- a/kttsd/plugins/hadifix/hadifixconfigui.ui.h +++ b/kttsd/plugins/hadifix/hadifixconfigui.ui.h @@ -51,7 +51,7 @@ void HadifixConfigUI::init () { female = KGlobal::iconLoader()->loadIcon("female", KIcon::Small); } -void HadifixConfigUI::addVoice (const QString &filename, bool isMale) { +void HadifixConfigUI::addVoice (const TQString &filename, bool isMale) { if (isMale) { if (!maleVoices.contains(filename)) { int id = voiceCombo->count(); @@ -68,7 +68,7 @@ void HadifixConfigUI::addVoice (const QString &filename, bool isMale) { } } -void HadifixConfigUI::addVoice (const QString &filename, bool isMale, const QString &displayname) { +void HadifixConfigUI::addVoice (const TQString &filename, bool isMale, const TQString &displayname) { addVoice (filename, isMale); if (isMale) { @@ -81,7 +81,7 @@ void HadifixConfigUI::addVoice (const QString &filename, bool isMale, const QStr } } -void HadifixConfigUI::setVoice (const QString &filename, bool isMale) { +void HadifixConfigUI::setVoice (const TQString &filename, bool isMale) { addVoice (filename, isMale); if (isMale) voiceCombo->setCurrentItem (maleVoices[filename]); @@ -89,10 +89,10 @@ void HadifixConfigUI::setVoice (const QString &filename, bool isMale) { voiceCombo->setCurrentItem (femaleVoices[filename]); } -QString HadifixConfigUI::getVoiceFilename() { +TQString HadifixConfigUI::getVoiceFilename() { int curr = voiceCombo->currentItem(); - QString filename = voiceCombo->text(curr); + TQString filename = voiceCombo->text(curr); if (defaultVoices.contains(curr)) filename = defaultVoices[curr]; @@ -101,7 +101,7 @@ QString HadifixConfigUI::getVoiceFilename() { bool HadifixConfigUI::isMaleVoice() { int curr = voiceCombo->currentItem(); - QString filename = getVoiceFilename(); + TQString filename = getVoiceFilename(); if (maleVoices.contains(filename)) return maleVoices[filename] == curr; @@ -109,6 +109,6 @@ bool HadifixConfigUI::isMaleVoice() { return false; } -void HadifixConfigUI::changed (const QString &) { +void HadifixConfigUI::changed (const TQString &) { emit changed (true); } |