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; }