From 8c0ea4fa2a208ba5079da31ba8e1c86980946752 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:13:05 -0600 Subject: [PATCH] Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- src/kvirc/kernel/kvi_app_setup.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/kvirc/kernel/kvi_app_setup.cpp b/src/kvirc/kernel/kvi_app_setup.cpp index 65090d1..e2d0514 100644 --- a/src/kvirc/kernel/kvi_app_setup.cpp +++ b/src/kvirc/kernel/kvi_app_setup.cpp @@ -648,10 +648,10 @@ bool KviApp::findLocalKvircDirectory() #ifdef COMPILE_TDE_SUPPORT if(m_szConfigFile.isEmpty()) { // don't do that if user supplied a config file :) - KConfig * cfg = config(); + TDEConfig * cfg = config(); if(cfg) { - if(cfg->getConfigState() == KConfig::ReadWrite) + if(cfg->getConfigState() == TDEConfig::ReadWrite) { cfg->setGroup("Main"); m_szLocalKvircDir = cfg->readEntry("LocalKvircDirectory",""); @@ -824,10 +824,10 @@ void KviApp::saveKvircDirectory() // In KDE we use the application config file if(m_szConfigFile.isEmpty()) { // not if user supplied a config file - KConfig * cfg = config(); + TDEConfig * cfg = config(); if(cfg) { - if(cfg->getConfigState() == KConfig::ReadWrite) + if(cfg->getConfigState() == TDEConfig::ReadWrite) { cfg->setGroup("Main"); cfg->writeEntry("LocalKvircDirectory",m_szLocalKvircDir);