diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:25:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:25:24 -0600 |
commit | ab53bd0c4c1b842b7b08a6cd2152e8f3c2fb9c1f (patch) | |
tree | 67a8034612360e6be97edb94b4d006ec22e4a92f | |
parent | a30d06da0a367afb11039f6f6ecf26257ae18106 (diff) | |
download | tdeaccessibility-ab53bd0c4c1b842b7b08a6cd2152e8f3c2fb9c1f.tar.gz tdeaccessibility-ab53bd0c4c1b842b7b08a6cd2152e8f3c2fb9c1f.zip |
Rename KStandard for enhanced compatibility with KDE4
-rw-r--r-- | kmouth/wordcompletion/dictionarycreationwizard.cpp | 2 | ||||
-rw-r--r-- | kttsd/kcmkttsmgr/selectevent.cpp | 2 | ||||
-rw-r--r-- | kttsd/kttsd/speaker.cpp | 4 | ||||
-rw-r--r-- | kttsd/plugins/hadifix/initialconfig.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/kmouth/wordcompletion/dictionarycreationwizard.cpp b/kmouth/wordcompletion/dictionarycreationwizard.cpp index dff21e8..997e5d3 100644 --- a/kmouth/wordcompletion/dictionarycreationwizard.cpp +++ b/kmouth/wordcompletion/dictionarycreationwizard.cpp @@ -224,7 +224,7 @@ TQString DictionaryCreationWizard::createDictionary() { filename = TQString("wordcompletion%1.dict").arg(dictnumber); dictionaryFile = TDEApplication::kApplication()->dirs()->findResource("appdata", filename); } - while (KStandardDirs::exists(dictionaryFile)); + while (TDEStandardDirs::exists(dictionaryFile)); dictionaryFile = TDEApplication::kApplication()->dirs()->saveLocation ("appdata", "/") + filename; if (WordList::saveWordList (map, dictionaryFile)) diff --git a/kttsd/kcmkttsmgr/selectevent.cpp b/kttsd/kcmkttsmgr/selectevent.cpp index c8e8466..35a3ff6 100644 --- a/kttsd/kcmkttsmgr/selectevent.cpp +++ b/kttsd/kcmkttsmgr/selectevent.cpp @@ -47,7 +47,7 @@ SelectEvent::SelectEvent(TQWidget* parent, const char* name, WFlags fl, const TQ for ( ; it != fullpaths.end(); ++it) { TQString relativePath = *it; - if ( relativePath.at(0) == '/' && KStandardDirs::exists( relativePath ) ) + if ( relativePath.at(0) == '/' && TDEStandardDirs::exists( relativePath ) ) { relativePath = makeRelative( relativePath ); relativePaths.append(relativePath); diff --git a/kttsd/kttsd/speaker.cpp b/kttsd/kttsd/speaker.cpp index 35a3356..1ba1f46 100644 --- a/kttsd/kttsd/speaker.cpp +++ b/kttsd/kttsd/speaker.cpp @@ -498,7 +498,7 @@ void Speaker::doUtterances() // See if synthesis is completed. if (it->plugin->getState() == psFinished) { - it->audioUrl = KStandardDirs::realFilePath(it->plugin->getFilename()); + it->audioUrl = TDEStandardDirs::realFilePath(it->plugin->getFilename()); // kdDebug() << "Speaker::doUtterances: synthesized filename: " << it->audioUrl << endl; it->plugin->ackFinished(); it->state = usSynthed; @@ -1507,7 +1507,7 @@ TQString Speaker::makeSuggestedFilename() tempFile.close(); TQFile::remove(waveFile); // kdDebug() << "Speaker::makeSuggestedFilename: Suggesting filename: " << waveFile << endl; - return KStandardDirs::realFilePath(waveFile); + return TDEStandardDirs::realFilePath(waveFile); } /** diff --git a/kttsd/plugins/hadifix/initialconfig.h b/kttsd/plugins/hadifix/initialconfig.h index 1db8eb2..f5f4c7a 100644 --- a/kttsd/plugins/hadifix/initialconfig.h +++ b/kttsd/plugins/hadifix/initialconfig.h @@ -57,7 +57,7 @@ TQString findExecutable (const TQStringList &names, const TQString &possiblePath TQStringList::ConstIterator it; TQStringList::ConstIterator itEnd = names.constEnd(); for (it = names.constBegin(); it != itEnd; ++it) { - TQString executable = KStandardDirs::findExe (*it); + TQString executable = TDEStandardDirs::findExe (*it); if (!executable.isNull() && !executable.isEmpty()) return executable; } |