summaryrefslogtreecommitdiffstats
path: root/kmouth/wordcompletion/wordcompletion.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:14:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:14:36 -0600
commit98ed486e2f25cfd58e6cc036862bcac0e988f361 (patch)
tree23b89d4f0244fad16b66aeca0b23f9dd0053fc7e /kmouth/wordcompletion/wordcompletion.cpp
parent7c140ea1cb70b8a6ecb34454514dcf91d7bcd0c7 (diff)
downloadtdeaccessibility-98ed486e2f25cfd58e6cc036862bcac0e988f361.tar.gz
tdeaccessibility-98ed486e2f25cfd58e6cc036862bcac0e988f361.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kmouth/wordcompletion/wordcompletion.cpp')
-rw-r--r--kmouth/wordcompletion/wordcompletion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmouth/wordcompletion/wordcompletion.cpp b/kmouth/wordcompletion/wordcompletion.cpp
index 5abd4b7..7936044 100644
--- a/kmouth/wordcompletion/wordcompletion.cpp
+++ b/kmouth/wordcompletion/wordcompletion.cpp
@@ -144,7 +144,7 @@ bool WordCompletion::setWordList(const TQString &wordlist) {
d->current = d->dictionaries[0];
TQString filename = d->dictDetails[d->current].filename;
- TQString dictionaryFile = KApplication::kApplication()->dirs()->findResource("appdata", filename);
+ TQString dictionaryFile = TDEApplication::kApplication()->dirs()->findResource("appdata", filename);
TQFile file(dictionaryFile);
if (file.exists() && file.open(IO_ReadOnly)) {
TQTextStream stream(&file);
@@ -195,7 +195,7 @@ void WordCompletion::addSentence (const TQString &sentence) {
void WordCompletion::save () {
if (d->wordsToSave) {
TQString filename = d->dictDetails[d->current].filename;
- TQString dictionaryFile = KApplication::kApplication()->dirs()->findResource("appdata", filename);
+ TQString dictionaryFile = TDEApplication::kApplication()->dirs()->findResource("appdata", filename);
TQFile file(dictionaryFile);
if (!file.exists())
return;