summaryrefslogtreecommitdiffstats
path: root/kturtle/src/kturtle.kcfg
diff options
context:
space:
mode:
Diffstat (limited to 'kturtle/src/kturtle.kcfg')
-rw-r--r--kturtle/src/kturtle.kcfg18
1 files changed, 9 insertions, 9 deletions
diff --git a/kturtle/src/kturtle.kcfg b/kturtle/src/kturtle.kcfg
index 1dba5092..dd57013a 100644
--- a/kturtle/src/kturtle.kcfg
+++ b/kturtle/src/kturtle.kcfg
@@ -26,11 +26,11 @@
// We assume keyword and highlight files come in pairs (if not there will be no highlight style)
- QStringList xmlFiles = KGlobal::dirs()->findAllResources("data", "kturtle/data/*.xml");
- QStringList LogoLanguageList;
- QString xmlTranslationFiles; // for debug purposes
- for ( QStringList::Iterator it = xmlFiles.begin(); it != xmlFiles.end(); ++it ) {
- QString xmlFile(*it);
+ TQStringList xmlFiles = KGlobal::dirs()->findAllResources("data", "kturtle/data/*.xml");
+ TQStringList LogoLanguageList;
+ TQString xmlTranslationFiles; // for debug purposes
+ for ( TQStringList::Iterator it = xmlFiles.begin(); it != xmlFiles.end(); ++it ) {
+ TQString xmlFile(*it);
xmlTranslationFiles += xmlFile.section('.', -2, -2).append(", "); // for debug purposes
// build list of language codes (en_US, nl, etc.)
LogoLanguageList += xmlFile.section('.', -2, -2);
@@ -54,13 +54,13 @@
// Get the desktops language
KConfigBase *globalConf = KGlobal::config();
globalConf->setGroup("Locale");
- QString desktopLanguage = globalConf->readEntry("Language");
+ TQString desktopLanguage = globalConf->readEntry("Language");
kdDebug(0) << "desktopLanguage: "<< desktopLanguage <<endl;
- QString defaultLanguage = "en_US"; // init to the fall back value
+ TQString defaultLanguage = "en_US"; // init to the fall back value
int itemCount = 0; // for the LanguageComboBox
- for (QStringList::Iterator it = LogoLanguageList.begin(); it != LogoLanguageList.end(); ++it ) {
- QString testLanguage(*it);
+ for (TQStringList::Iterator it = LogoLanguageList.begin(); it != LogoLanguageList.end(); ++it ) {
+ TQString testLanguage(*it);
if (testLanguage == desktopLanguage) { // exact match
defaultLanguage = testLanguage;
break;