summaryrefslogtreecommitdiffstats
path: root/kcontrol/kfontinst/lib/FcEngine.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /kcontrol/kfontinst/lib/FcEngine.cpp
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kcontrol/kfontinst/lib/FcEngine.cpp')
-rw-r--r--kcontrol/kfontinst/lib/FcEngine.cpp12
1 files changed, 6 insertions, 6 deletions
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;