diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:10:32 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:10:32 -0600 |
commit | 3fe437def8063926892bddf2dcc733861308836d (patch) | |
tree | 021d66ad023a32bc8ea0074a1ab3d01316aff8b0 /kword/KWDocument.cpp | |
parent | 5b8ab149469c8e186ee8b05d90c0103ae722dd85 (diff) | |
download | koffice-3fe437def8063926892bddf2dcc733861308836d.tar.gz koffice-3fe437def8063926892bddf2dcc733861308836d.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kword/KWDocument.cpp')
-rw-r--r-- | kword/KWDocument.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kword/KWDocument.cpp b/kword/KWDocument.cpp index 94651cf8..01236753 100644 --- a/kword/KWDocument.cpp +++ b/kword/KWDocument.cpp @@ -257,7 +257,7 @@ KWDocument::KWDocument(TQWidget *parentWidget, const char *widname, TQObject* pa initConfig(); // Get default font from the KWord config file - KConfig *config = KWFactory::instance()->config(); + TDEConfig *config = KWFactory::instance()->config(); config->setGroup("Document defaults" ); TQString defaultFontname=config->readEntry("DefaultFont"); if ( !defaultFontname.isEmpty() ) @@ -314,7 +314,7 @@ KWDocument::~KWDocument() void KWDocument::initConfig() { - KConfig *config = KWFactory::instance()->config(); + TDEConfig *config = KWFactory::instance()->config(); if( config->hasGroup("KSpell kword" ) ) { config->setGroup( "KSpell kword" ); @@ -411,7 +411,7 @@ void KWDocument::initConfig() } // Load personal dict - KConfigGroup group( KoGlobal::kofficeConfig(), "Spelling" ); + TDEConfigGroup group( KoGlobal::kofficeConfig(), "Spelling" ); m_spellCheckPersonalDict = group.readListEntry( "PersonalDict" ); } @@ -419,14 +419,14 @@ void KWDocument::saveConfig() { if ( !isReadWrite() ) return; - KConfigGroup group( KoGlobal::kofficeConfig(), "Spelling" ); + TDEConfigGroup group( KoGlobal::kofficeConfig(), "Spelling" ); group.writeEntry( "PersonalDict", m_spellCheckPersonalDict ); if ( !isEmbedded() ) { // Only save the config that is manipulated by the UI directly. // The config from the config dialog is saved by the dialog itself. - KConfig *config = KWFactory::instance()->config(); + TDEConfig *config = KWFactory::instance()->config(); config->setGroup( "Interface" ); config->writeEntry( "ViewFormattingChars", m_viewFormattingChars ); config->writeEntry( "ViewFormattingBreaks", m_viewFormattingBreak ); @@ -5135,7 +5135,7 @@ void KWDocument::changeBgSpellCheckingState( bool b ) { enableBackgroundSpellCheck( b ); reactivateBgSpellChecking(); - KConfig *config = KWFactory::instance()->config(); + TDEConfig *config = KWFactory::instance()->config(); config->setGroup("KSpell kword" ); config->writeEntry( "SpellCheck", (int)b ); } @@ -5340,7 +5340,7 @@ void KWDocument::updateDirectCursorButton() void KWDocument::setInsertDirectCursor(bool b) { m_bInsertDirectCursor=b; - KConfig *config = KWFactory::instance()->config(); + TDEConfig *config = KWFactory::instance()->config(); config->setGroup( "Interface" ); config->writeEntry( "InsertDirectCursor", b ); updateDirectCursorButton(); |