From 98841fe5a255d63ee9d05d74acc4c90c4598bb00 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:13:16 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- kttsd/plugins/festivalint/festivalintconf.cpp | 4 ++-- kttsd/plugins/hadifix/hadifixconfigui.ui.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kttsd/plugins') diff --git a/kttsd/plugins/festivalint/festivalintconf.cpp b/kttsd/plugins/festivalint/festivalintconf.cpp index 58c2bad..e7aa13b 100644 --- a/kttsd/plugins/festivalint/festivalintconf.cpp +++ b/kttsd/plugins/festivalint/festivalintconf.cpp @@ -475,8 +475,8 @@ void FestivalIntConf::scanVoices() // Iterate thru list of voice codes returned by Festival, // find matching entry in voices.xml file, and add to list of supported voices. - TQPixmap maleIcon = TDEGlobal::iconLoader()->loadIcon("male", KIcon::Small); - TQPixmap femaleIcon = TDEGlobal::iconLoader()->loadIcon("female", KIcon::Small); + TQPixmap maleIcon = TDEGlobal::iconLoader()->loadIcon("male", TDEIcon::Small); + TQPixmap femaleIcon = TDEGlobal::iconLoader()->loadIcon("female", TDEIcon::Small); TQStringList::ConstIterator itEnd = m_supportedVoiceCodes.constEnd(); for(TQStringList::ConstIterator it = m_supportedVoiceCodes.begin(); it != itEnd; ++it ) { diff --git a/kttsd/plugins/hadifix/hadifixconfigui.ui.h b/kttsd/plugins/hadifix/hadifixconfigui.ui.h index fbfa16c..9c8b14b 100644 --- a/kttsd/plugins/hadifix/hadifixconfigui.ui.h +++ b/kttsd/plugins/hadifix/hadifixconfigui.ui.h @@ -47,8 +47,8 @@ void HadifixConfigUI::frequencySlider_valueChanged (int sliderValue) { } void HadifixConfigUI::init () { - male = TDEGlobal::iconLoader()->loadIcon("male", KIcon::Small); - female = TDEGlobal::iconLoader()->loadIcon("female", KIcon::Small); + male = TDEGlobal::iconLoader()->loadIcon("male", TDEIcon::Small); + female = TDEGlobal::iconLoader()->loadIcon("female", TDEIcon::Small); } void HadifixConfigUI::addVoice (const TQString &filename, bool isMale) { -- cgit v1.2.1