summaryrefslogtreecommitdiffstats
path: root/kiten/asyndeta.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kiten/asyndeta.cpp
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kiten/asyndeta.cpp')
-rw-r--r--kiten/asyndeta.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kiten/asyndeta.cpp b/kiten/asyndeta.cpp
index 387a84ce..4a377eb0 100644
--- a/kiten/asyndeta.cpp
+++ b/kiten/asyndeta.cpp
@@ -23,7 +23,7 @@
#include <klocale.h>
#include <kstandarddirs.h>
-#include <qfile.h>
+#include <tqfile.h>
#include "asyndeta.h"
#include "dict.h"
@@ -62,23 +62,23 @@ void Asyndeta::readKitenConfiguration()
KStandardDirs *dirs = KGlobal::dirs();
KConfig config(dirs->findResource("config", "kitenrc"));
- QString globaledict = dirs->findResource("data", "kiten/edict");
- QString globalkanjidic = dirs->findResource("data", "kiten/kanjidic");
+ TQString globaledict = dirs->findResource("data", "kiten/edict");
+ TQString globalkanjidic = dirs->findResource("data", "kiten/kanjidic");
config.setGroup("edict");
bool edictUseGlobal = config.readBoolEntry("__useGlobal", true);
- QStringList DictNameList = config.readListEntry("__NAMES");
- QStringList DictList;
+ TQStringList DictNameList = config.readListEntry("__NAMES");
+ TQStringList DictList;
- QStringList::Iterator it;
+ TQStringList::Iterator it;
for (it = DictNameList.begin(); it != DictNameList.end(); ++it)
DictList.append(config.readEntry(*it));
- QString personalDict(personalDictionaryLocation());
- if (QFile::exists(personalDict))
+ TQString personalDict(personalDictionaryLocation());
+ if (TQFile::exists(personalDict))
{
DictList.prepend(personalDict);
DictNameList.prepend(i18n("Personal"));
@@ -111,7 +111,7 @@ void Asyndeta::readKitenConfiguration()
index->setKanjiDictList(DictList, DictNameList);
}
-QString Asyndeta::personalDictionaryLocation()
+TQString Asyndeta::personalDictionaryLocation()
{
return KGlobal::dirs()->saveLocation("data", "kiten/dictionaries/", true).append("personal");
}