summaryrefslogtreecommitdiffstats
path: root/lib/kformula/fontstyle.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:10:32 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:10:32 -0600
commit3fe437def8063926892bddf2dcc733861308836d (patch)
tree021d66ad023a32bc8ea0074a1ab3d01316aff8b0 /lib/kformula/fontstyle.cc
parent5b8ab149469c8e186ee8b05d90c0103ae722dd85 (diff)
downloadkoffice-3fe437def8063926892bddf2dcc733861308836d.tar.gz
koffice-3fe437def8063926892bddf2dcc733861308836d.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'lib/kformula/fontstyle.cc')
-rw-r--r--lib/kformula/fontstyle.cc12
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"));
}