From cee429821aa6f1acc97fb482d325fb4eb37376ca Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:44:46 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kturtle/src/kturtle.cpp | 2 +- kturtle/src/kturtle.kcfg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kturtle/src') diff --git a/kturtle/src/kturtle.cpp b/kturtle/src/kturtle.cpp index 0d827d88..02ecddb8 100644 --- a/kturtle/src/kturtle.cpp +++ b/kturtle/src/kturtle.cpp @@ -930,7 +930,7 @@ void MainWindow::slotSettings() TQStringList LogoLanguageList = Settings::logoLanguageList(); // Add the full language names to the items for ( TQStringList::Iterator it = LogoLanguageList.begin(); it != LogoLanguageList.end(); ++it ) { - *it = KGlobal::locale()->twoAlphaToLanguageName( (*it).left(2) ) + " (" + *it + ")"; + *it = TDEGlobal::locale()->twoAlphaToLanguageName( (*it).left(2) ) + " (" + *it + ")"; } kcfg_LanguageComboBox->insertStringList(LogoLanguageList); diff --git a/kturtle/src/kturtle.kcfg b/kturtle/src/kturtle.kcfg index dd57013a..f3fec672 100644 --- a/kturtle/src/kturtle.kcfg +++ b/kturtle/src/kturtle.kcfg @@ -26,7 +26,7 @@ // We assume keyword and highlight files come in pairs (if not there will be no highlight style) - TQStringList xmlFiles = KGlobal::dirs()->findAllResources("data", "kturtle/data/*.xml"); + TQStringList xmlFiles = TDEGlobal::dirs()->findAllResources("data", "kturtle/data/*.xml"); TQStringList LogoLanguageList; TQString xmlTranslationFiles; // for debug purposes for ( TQStringList::Iterator it = xmlFiles.begin(); it != xmlFiles.end(); ++it ) { @@ -52,7 +52,7 @@ // The KconfigXT framework makes shure the value that is saved in the kturtlerc file will be used in stead of the defaultLanguage that we find here. // Get the desktops language - KConfigBase *globalConf = KGlobal::config(); + KConfigBase *globalConf = TDEGlobal::config(); globalConf->setGroup("Locale"); TQString desktopLanguage = globalConf->readEntry("Language"); kdDebug(0) << "desktopLanguage: "<< desktopLanguage <<endl; -- cgit v1.2.1