summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_doc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_doc.cc')
-rw-r--r--kspread/kspread_doc.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/kspread/kspread_doc.cc b/kspread/kspread_doc.cc
index 983e75ef..ad28bb78 100644
--- a/kspread/kspread_doc.cc
+++ b/kspread/kspread_doc.cc
@@ -284,7 +284,7 @@ bool Doc::initDoc(InitDocFlags flags, TQWidget* parentWidget)
if (flags==KoDocument::InitDocEmpty)
{
- KConfig *config = Factory::global()->config();
+ TDEConfig *config = Factory::global()->config();
int _page=1;
if( config->hasGroup("Parameters" ))
{
@@ -329,7 +329,7 @@ bool Doc::initDoc(InitDocFlags flags, TQWidget* parentWidget)
if ( ret == KoTemplateChooseDia::Empty )
{
- KConfig *config = Factory::global()->config();
+ TDEConfig *config = Factory::global()->config();
int _page=1;
if( config->hasGroup("Parameters" ))
{
@@ -377,7 +377,7 @@ void Doc::openTemplate (const TQString& file)
void Doc::initEmpty()
{
- KConfig *config = Factory::global()->config();
+ TDEConfig *config = Factory::global()->config();
int _page=1;
if( config->hasGroup("Parameters" ))
{
@@ -434,7 +434,7 @@ void Doc::saveConfig()
{
if ( isEmbedded() ||!isReadWrite())
return;
- KConfig *config = Factory::global()->config();
+ TDEConfig *config = Factory::global()->config();
config->setGroup( "Parameters" );
config->writeEntry( "Zoom", m_zoom );
@@ -442,7 +442,7 @@ void Doc::saveConfig()
void Doc::initConfig()
{
- KConfig *config = Factory::global()->config();
+ TDEConfig *config = Factory::global()->config();
if( config->hasGroup("KSpread Page Layout" ))
{
@@ -1478,7 +1478,7 @@ KSpellConfig * Doc::getKSpellConfig()
{
KSpellConfig ksconfig;
- KConfig *config = Factory::global()->config();
+ TDEConfig *config = Factory::global()->config();
if( config->hasGroup("KSpell kspread" ) )
{
config->setGroup( "KSpell kspread" );