summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrDocument.cpp')
-rw-r--r--kpresenter/KPrDocument.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpresenter/KPrDocument.cpp b/kpresenter/KPrDocument.cpp
index dad2baf6..c08ab692 100644
--- a/kpresenter/KPrDocument.cpp
+++ b/kpresenter/KPrDocument.cpp
@@ -158,7 +158,7 @@ KPrDocument::KPrDocument( TQWidget *parentWidget, const char *widgetName, TQObje
KoParagStyle* m_standardStyle = new KoParagStyle( "Standard" );
m_styleColl->addStyle( m_standardStyle );
- KConfig *config = KPrFactory::global()->config();
+ TDEConfig *config = KPrFactory::global()->config();
config->setGroup("Document defaults" );
TQString defaultFontname=config->readEntry("DefaultFont");
if ( !defaultFontname.isEmpty() )
@@ -303,11 +303,11 @@ void KPrDocument::saveConfig()
{
if ( !isReadWrite())
return;
- KConfigGroup group( KoGlobal::kofficeConfig(), "Spelling" );
+ TDEConfigGroup group( KoGlobal::kofficeConfig(), "Spelling" );
group.writeEntry( "PersonalDict", m_spellCheckPersonalDict );
if ( !isEmbedded() )
{
- KConfig *config = KPrFactory::global()->config();
+ TDEConfig *config = KPrFactory::global()->config();
config->setGroup( "Interface" );
config->writeEntry( "Zoom", m_zoomHandler->zoom() );
config->writeEntry( "AllowAutoFormat" , m_bAllowAutoFormat );
@@ -322,7 +322,7 @@ void KPrDocument::saveConfig()
void KPrDocument::initConfig()
{
int zoom;
- KConfig* config = KPrFactory::global()->config();
+ TDEConfig* config = KPrFactory::global()->config();
if( config->hasGroup("Interface") ) {
config->setGroup( "Interface" );
setAutoSave( config->readNumEntry( "AutoSave", defaultAutoSave()/60 ) * 60 );
@@ -387,7 +387,7 @@ void KPrDocument::initConfig()
}
// Load personal dict
- KConfigGroup group( KoGlobal::kofficeConfig(), "Spelling" );
+ TDEConfigGroup group( KoGlobal::kofficeConfig(), "Spelling" );
m_spellCheckPersonalDict = group.readListEntry( "PersonalDict" );
// Apply configuration, without creating an undo/redo command
@@ -3621,7 +3621,7 @@ TQString KPrDocument::templateFileName( bool chooseTemplate, const TQString &the
kdDebug(33001) << "Copying template (in KPrDocument::templateFileName)" << endl
<< " from: " << src.prettyURL() << endl
<< " to: " << dest.prettyURL() << endl;
- KIO::NetAccess::file_copy( src,
+ TDEIO::NetAccess::file_copy( src,
dest,
-1, /* default permissions */
true /* overwrite */ );
@@ -4634,7 +4634,7 @@ void KPrDocument::changeBgSpellCheckingState( bool b )
{
enableBackgroundSpellCheck( b );
reactivateBgSpellChecking();
- KConfig *config = KPrFactory::global()->config();
+ TDEConfig *config = KPrFactory::global()->config();
config->setGroup("KSpell kpresenter" );
config->writeEntry( "SpellCheck", (int)b );
}
@@ -4759,7 +4759,7 @@ void KPrDocument::updateDirectCursorButton()
void KPrDocument::setInsertDirectCursor(bool _b)
{
m_bInsertDirectCursor=_b;
- KConfig *config = KPrFactory::global()->config();
+ TDEConfig *config = KPrFactory::global()->config();
config->setGroup( "Interface" );
config->writeEntry( "InsertDirectCursor", _b );
updateDirectCursorButton();