summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoAutoFormat.cpp
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/kotext/KoAutoFormat.cpp
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/kotext/KoAutoFormat.cpp')
-rw-r--r--lib/kotext/KoAutoFormat.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kotext/KoAutoFormat.cpp b/lib/kotext/KoAutoFormat.cpp
index 7ca6f1a7..84ec27d5 100644
--- a/lib/kotext/KoAutoFormat.cpp
+++ b/lib/kotext/KoAutoFormat.cpp
@@ -251,8 +251,8 @@ void KoAutoFormat::updateMaxWords()
void KoAutoFormat::loadListOfWordCompletion()
{
- KConfig* config = KoGlobal::kofficeConfig();
- KConfigGroupSaver cgs( config, "Completion Word" );
+ TDEConfig* config = KoGlobal::kofficeConfig();
+ TDEConfigGroupSaver cgs( config, "Completion Word" );
m_listCompletion->insertItems(config->readListEntry( "list" ));
}
@@ -263,8 +263,8 @@ void KoAutoFormat::readConfig(bool force)
// so that loading is faster and to avoid doing it for readonly documents.
if ( m_configRead && !force )
return;
- KConfig* config = KoGlobal::kofficeConfig();
- KConfigGroupSaver cgs( config, "AutoFormat" );
+ TDEConfig* config = KoGlobal::kofficeConfig();
+ TDEConfigGroupSaver cgs( config, "AutoFormat" );
//when we force don't load format language.
if ( !force)
m_autoFormatLanguage = config->readEntry("formatLanguage", TQString());
@@ -615,10 +615,10 @@ void KoAutoFormat::loadEntry( const TQDomElement &nl, bool _allLanguages)
void KoAutoFormat::saveConfig()
{
- KConfig* config = KoGlobal::kofficeConfig();
+ TDEConfig* config = KoGlobal::kofficeConfig();
KLocale klocale(m_doc->instance()->instanceName());
- KConfigGroupSaver cgs( config, "AutoFormat" );
+ TDEConfigGroupSaver cgs( config, "AutoFormat" );
config->writeEntry( "ConvertUpperCase", m_convertUpperCase );
config->writeEntry( "formatLanguage", m_autoFormatLanguage=="all_languages" ? klocale.languageList().front() : m_autoFormatLanguage);