From 8cb8ba0f957e8a164cdcfbc2685b14d8d0a5c9a5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:15:51 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- klatin/klatin/klatin.cpp | 2 +- klatin/klatin/klatingrammar.cpp | 4 ++-- klatin/klatin/klatinverbs.cpp | 6 +++--- klatin/klatin/klatinvocab.cpp | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'klatin') diff --git a/klatin/klatin/klatin.cpp b/klatin/klatin/klatin.cpp index 71eb82e6..b6fdaddb 100644 --- a/klatin/klatin/klatin.cpp +++ b/klatin/klatin/klatin.cpp @@ -184,7 +184,7 @@ void KLatin::resetGUI() // various options that are available to choose // and setCentralWidget it. klatinchoose = new KLatinChoose(this); - klatinchoose->QuitButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("exit", KIcon::Small)); + klatinchoose->QuitButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("exit", TDEIcon::Small)); klatinchoose->show(); setCentralWidget(klatinchoose); diff --git a/klatin/klatin/klatingrammar.cpp b/klatin/klatin/klatingrammar.cpp index b8037c95..ef42f25e 100644 --- a/klatin/klatin/klatingrammar.cpp +++ b/klatin/klatin/klatingrammar.cpp @@ -38,8 +38,8 @@ KLatinGrammar::KLatinGrammar(TQWidget* parent, const char *name) m_totalCorrect = 0; m_numWrong = 0; - OKButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("button_ok", KIcon::Small)); - BackButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("back", KIcon::Small)); + OKButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("button_ok", TDEIcon::Small)); + BackButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("back", TDEIcon::Small)); // Set connections connect(BackButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(goBack())); diff --git a/klatin/klatin/klatinverbs.cpp b/klatin/klatin/klatinverbs.cpp index e0ec76fa..e7d06e88 100644 --- a/klatin/klatin/klatinverbs.cpp +++ b/klatin/klatin/klatinverbs.cpp @@ -33,9 +33,9 @@ KLatinVerbs::KLatinVerbs(TQWidget* parent, const char *name) : KLatinVerbsWidget(parent, name) { - OKButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("button_ok", KIcon::Small)); - BackButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("back", KIcon::Small)); - ChangeButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("apply", KIcon::Small)); + OKButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("button_ok", TDEIcon::Small)); + BackButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("back", TDEIcon::Small)); + ChangeButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("apply", TDEIcon::Small)); ChooseConjugation->insertItem(i18n("1st")); ChooseConjugation->insertItem(i18n("2nd")); diff --git a/klatin/klatin/klatinvocab.cpp b/klatin/klatin/klatinvocab.cpp index 1d577b57..d8844647 100644 --- a/klatin/klatin/klatinvocab.cpp +++ b/klatin/klatin/klatinvocab.cpp @@ -35,7 +35,7 @@ KLatinVocab::KLatinVocab(TQWidget* parent, const char *name) : KLatinVocabWidget(parent, name) { - BackButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("back", KIcon::Small)); + BackButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("back", TDEIcon::Small)); m_vocabFile = TQString(); -- cgit v1.2.1