From cc74f360bb40da3d79f58048f8e8611804980aa6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:30:47 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kcontrol/kfontinst/lib/FcEngine.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kcontrol/kfontinst/lib/FcEngine.cpp') diff --git a/kcontrol/kfontinst/lib/FcEngine.cpp b/kcontrol/kfontinst/lib/FcEngine.cpp index 3c2320588..57fb765f1 100644 --- a/kcontrol/kfontinst/lib/FcEngine.cpp +++ b/kcontrol/kfontinst/lib/FcEngine.cpp @@ -687,7 +687,7 @@ bool CFcEngine::draw(const KURL &url, int w, int h, TQPixmap &pix, int faceNo, b TQString CFcEngine::getPreviewString() { - KConfig cfg(KFI_UI_CFG_FILE); + TDEConfig cfg(KFI_UI_CFG_FILE); cfg.setGroup(KFI_PREVIEW_GROUP); @@ -700,7 +700,7 @@ TQString CFcEngine::getPreviewString() void CFcEngine::setPreviewString(const TQString &str) { - KConfig cfg(KFI_UI_CFG_FILE); + TDEConfig cfg(KFI_UI_CFG_FILE); cfg.setGroup(KFI_PREVIEW_GROUP); cfg.writeEntry(KFI_PREVIEW_STRING_KEY, str); @@ -911,17 +911,17 @@ bool CFcEngine::parseUrl(const KURL &url, int faceNo, bool all) // if(KFI_KIO_FONTS_PROTOCOL==url.protocol()) { - KIO::UDSEntry udsEntry; + TDEIO::UDSEntry udsEntry; TQString name; FcInitReinitialize(); - if(KIO::NetAccess::stat(url, udsEntry, NULL)) // Need to stat the url to get its font name... + if(TDEIO::NetAccess::stat(url, udsEntry, NULL)) // Need to stat the url to get its font name... { - KIO::UDSEntry::Iterator it(udsEntry.begin()), + TDEIO::UDSEntry::Iterator it(udsEntry.begin()), end(udsEntry.end()); for( ; it != end; ++it) - if (KIO::UDS_NAME==(*it).m_uds) + if (TDEIO::UDS_NAME==(*it).m_uds) { name=(*it).m_str; break; -- cgit v1.2.1