diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:40:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:40:41 -0600 |
commit | 0b54abbdf80cef08e5cb8ef7b8b7af31c54dd9b4 (patch) | |
tree | 322767e10a0d28887f54f3cefe6399098713dc82 /kmouth/wordcompletion/wordcompletionwidget.cpp | |
parent | 11f5b1c38c194ef53638bafa0df70e821a7a6427 (diff) | |
download | tdeaccessibility-0b54abbdf80cef08e5cb8ef7b8b7af31c54dd9b4.tar.gz tdeaccessibility-0b54abbdf80cef08e5cb8ef7b8b7af31c54dd9b4.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kmouth/wordcompletion/wordcompletionwidget.cpp')
-rw-r--r-- | kmouth/wordcompletion/wordcompletionwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmouth/wordcompletion/wordcompletionwidget.cpp b/kmouth/wordcompletion/wordcompletionwidget.cpp index 7e54fe4..b5e34d6 100644 --- a/kmouth/wordcompletion/wordcompletionwidget.cpp +++ b/kmouth/wordcompletion/wordcompletionwidget.cpp @@ -70,7 +70,7 @@ public: } void setLanguage (TQString languageCode) { - TQString filename = KGlobal::dirs()->findResource("locale", + TQString filename = TDEGlobal::dirs()->findResource("locale", languageCode + TQString::fromLatin1("/entry.desktop")); KSimpleConfig entry(filename); @@ -141,7 +141,7 @@ void WordCompletionWidget::load() { // Clean up disc space for (TQStringList::Iterator it = newDictionaryFiles.begin(); it != newDictionaryFiles.end(); ++it) { - TQString filename = KGlobal::dirs()->findResource ("appdata", *it); + TQString filename = TDEGlobal::dirs()->findResource ("appdata", *it); if (!filename.isEmpty() && !filename.isNull()) TQFile::remove (filename); } @@ -171,7 +171,7 @@ void WordCompletionWidget::save() { // Clean up disc space for (TQStringList::Iterator it = removedDictionaryFiles.begin(); it != removedDictionaryFiles.end(); ++it) { - TQString filename = KGlobal::dirs()->findResource ("appdata", *it); + TQString filename = TDEGlobal::dirs()->findResource ("appdata", *it); if (!filename.isEmpty() && !filename.isNull()) TQFile::remove (filename); } @@ -257,7 +257,7 @@ void WordCompletionWidget::exportDictionary() { } } KURL src; - src.setPath( KGlobal::dirs()->findResource ("appdata", item->filename()) ); + src.setPath( TDEGlobal::dirs()->findResource ("appdata", item->filename()) ); KIO::NetAccess::copy (src, url, this); } } |