summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoVariable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoVariable.cpp')
-rw-r--r--lib/kotext/KoVariable.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kotext/KoVariable.cpp b/lib/kotext/KoVariable.cpp
index 6b040905..770c1da2 100644
--- a/lib/kotext/KoVariable.cpp
+++ b/lib/kotext/KoVariable.cpp
@@ -1390,10 +1390,10 @@ TQCString KoDateVariable::formatStr(int & correct)
DateFormatWidget* widget=new DateFormatWidget(dialog);
int count=0;
dialog->setMainWidget(widget);
- KConfig* config = KoGlobal::kofficeConfig();
+ TDEConfig* config = KoGlobal::kofficeConfig();
if( config->hasGroup("Date format history") )
{
- KConfigGroupSaver cgs( config, "Date format history");
+ TDEConfigGroupSaver cgs( config, "Date format history");
const int noe=config->readNumEntry("Number Of Entries", 5);
for(int i=0;i<noe;i++)
{
@@ -1601,11 +1601,11 @@ TQCString KoTimeVariable::formatStr(int & _correct)
KDialogBase* dialog=new KDialogBase(0, 0, true, i18n("Time Format"), KDialogBase::Ok|KDialogBase::Cancel);
TimeFormatWidget* widget=new TimeFormatWidget(dialog);
dialog->setMainWidget(widget);
- KConfig* config = KoGlobal::kofficeConfig();
+ TDEConfig* config = KoGlobal::kofficeConfig();
int count=0;
if( config->hasGroup("Time format history") )
{
- KConfigGroupSaver cgs( config, "Time format history" );
+ TDEConfigGroupSaver cgs( config, "Time format history" );
const int noe=config->readNumEntry("Number Of Entries", 5);
for(int i=0;i<noe;i++)
{