summaryrefslogtreecommitdiffstats
path: root/tdeprint/kmfactory.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:35:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:35:07 -0600
commit703fb0c89c2eee56a1e613e67a446db9d4287929 (patch)
treedd8c5ca66075cd89c2638a2b48cf78386a9870a7 /tdeprint/kmfactory.cpp
parent818e7abec3d5d3809b6b77293558678371c16b71 (diff)
downloadtdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.tar.gz
tdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'tdeprint/kmfactory.cpp')
-rw-r--r--tdeprint/kmfactory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeprint/kmfactory.cpp b/tdeprint/kmfactory.cpp
index 661d97764..a1b4ad4ee 100644
--- a/tdeprint/kmfactory.cpp
+++ b/tdeprint/kmfactory.cpp
@@ -224,11 +224,11 @@ void KMFactory::loadFactory(const TQString& syst)
}
}
-KConfig* KMFactory::printConfig(const TQString& group)
+TDEConfig* KMFactory::printConfig(const TQString& group)
{
if (!m_printconfig)
{
- m_printconfig = new KConfig("tdeprintrc");
+ m_printconfig = new TDEConfig("tdeprintrc");
TQ_CHECK_PTR(m_printconfig);
}
if (!group.isEmpty())
@@ -238,7 +238,7 @@ KConfig* KMFactory::printConfig(const TQString& group)
TQString KMFactory::printSystem()
{
- KConfig *conf = printConfig();
+ TDEConfig *conf = printConfig();
conf->setGroup("General");
TQString sys = conf->readEntry("PrintSystem");
if (sys.isEmpty())
@@ -276,7 +276,7 @@ void KMFactory::reload(const TQString& syst, bool saveSyst)
unload();
if (saveSyst)
{
- KConfig *conf = printConfig();
+ TDEConfig *conf = printConfig();
conf->setGroup("General");
conf->writeEntry("PrintSystem", syst);
conf->sync();
@@ -403,7 +403,7 @@ void KMFactory::slot_configChanged()
void KMFactory::saveConfig()
{
- KConfig *conf = printConfig();
+ TDEConfig *conf = printConfig();
conf->sync();
kdDebug(500) << "KMFactory (" << getpid() << ") emitting DCOP signal configChanged()" << endl;
emit configChanged();