diff options
Diffstat (limited to 'lib/kformula/fontstyle.cc')
-rw-r--r-- | lib/kformula/fontstyle.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kformula/fontstyle.cc b/lib/kformula/fontstyle.cc index 0df68fcb..94f3c241 100644 --- a/lib/kformula/fontstyle.cc +++ b/lib/kformula/fontstyle.cc @@ -118,21 +118,21 @@ void FontStyle::installFonts() for (TQStringList::iterator it = missing.begin(); it != missing.end(); ++it) { if ( *it == "arev sans" ) { - if (!KIO::NetAccess::exists("fonts:/Personal/Arev.ttf", true, NULL)) + if (!TDEIO::NetAccess::exists("fonts:/Personal/Arev.ttf", true, NULL)) urlList.append(locate("data", "kformula/fonts/Arev.ttf")); - if (!KIO::NetAccess::exists("fonts:/Personal/ArevIt.ttf", true, NULL)) + if (!TDEIO::NetAccess::exists("fonts:/Personal/ArevIt.ttf", true, NULL)) urlList.append(locate("data", "kformula/fonts/ArevIt.ttf")); - if (!KIO::NetAccess::exists("fonts:/Personal/ArevBd.ttf", true, NULL)) + if (!TDEIO::NetAccess::exists("fonts:/Personal/ArevBd.ttf", true, NULL)) urlList.append(locate("data", "kformula/fonts/ArevBd.ttf")); - if (!KIO::NetAccess::exists("fonts:/Personal/ArevBI.ttf", true, NULL)) + if (!TDEIO::NetAccess::exists("fonts:/Personal/ArevBI.ttf", true, NULL)) urlList.append(locate("data", "kformula/fonts/ArevBI.ttf")); } else { - if (!KIO::NetAccess::exists("fonts:/Personal/" + *it + ".ttf", true, NULL)) + if (!TDEIO::NetAccess::exists("fonts:/Personal/" + *it + ".ttf", true, NULL)) urlList.append(locate("data", "kformula/fonts/" + *it + ".ttf")); } } - KIO::copy(urlList, "fonts:/Personal/", false); + TDEIO::copy(urlList, "fonts:/Personal/", false); KMessageBox::information(tqApp->mainWidget(), i18n("Some fonts have been installed to assure that symbols in formulas are properly visualized. You must restart the application in order so that changes take effect")); } |