summaryrefslogtreecommitdiffstats
path: root/kmouth/wordcompletion/dictionarycreationwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmouth/wordcompletion/dictionarycreationwizard.cpp')
-rw-r--r--kmouth/wordcompletion/dictionarycreationwizard.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmouth/wordcompletion/dictionarycreationwizard.cpp b/kmouth/wordcompletion/dictionarycreationwizard.cpp
index 5574c97..1346722 100644
--- a/kmouth/wordcompletion/dictionarycreationwizard.cpp
+++ b/kmouth/wordcompletion/dictionarycreationwizard.cpp
@@ -222,11 +222,11 @@ TQString DictionaryCreationWizard::createDictionary() {
do {
dictnumber++;
filename = TQString("wordcompletion%1.dict").arg(dictnumber);
- dictionaryFile = KApplication::kApplication()->dirs()->findResource("appdata", filename);
+ dictionaryFile = TDEApplication::kApplication()->dirs()->findResource("appdata", filename);
}
while (KStandardDirs::exists(dictionaryFile));
- dictionaryFile = KApplication::kApplication()->dirs()->saveLocation ("appdata", "/") + filename;
+ dictionaryFile = TDEApplication::kApplication()->dirs()->saveLocation ("appdata", "/") + filename;
if (WordList::saveWordList (map, dictionaryFile))
return filename;
else
@@ -319,7 +319,7 @@ TQMap <TQString, int> MergeWidget::mergeParameters () {
for (; it.current(); ++it) {
if (it.current()->isChecked()) {
TQString name = it.currentKey();
- TQString dictionaryFile = KApplication::kApplication()->dirs()->findResource("appdata", name);
+ TQString dictionaryFile = TDEApplication::kApplication()->dirs()->findResource("appdata", name);
files[dictionaryFile] = weights[name]->value();
}
}
@@ -363,7 +363,7 @@ void CompletionWizardWidget::ok (KConfig *config) {
TQString filename;
TQString dictionaryFile;
- dictionaryFile = KApplication::kApplication()->dirs()->saveLocation ("appdata", "/") + "wordcompletion1.dict";
+ dictionaryFile = TDEApplication::kApplication()->dirs()->saveLocation ("appdata", "/") + "wordcompletion1.dict";
if (WordList::saveWordList (map, dictionaryFile)) {
config->setGroup("Dictionary 0");
config->writeEntry ("Filename", "wordcompletion1.dict");