summaryrefslogtreecommitdiffstats
path: root/kspread/plugins/calculator/kcalc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/plugins/calculator/kcalc.cpp')
-rw-r--r--kspread/plugins/calculator/kcalc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kspread/plugins/calculator/kcalc.cpp b/kspread/plugins/calculator/kcalc.cpp
index c3ba18ac3..eb654706f 100644
--- a/kspread/plugins/calculator/kcalc.cpp
+++ b/kspread/plugins/calculator/kcalc.cpp
@@ -58,7 +58,7 @@ TQtCalculator :: TQtCalculator( Calculator *_corba, TQWidget *parent, const char
readSettings();
- TQFont buttonfont( KGlobalSettings::generalFont() );
+ TQFont buttonfont( TDEGlobalSettings::generalFont() );
buttonfont.setStyleStrategy( TQFont::PreferAntialias );
// Set the window caption/title
@@ -1587,7 +1587,7 @@ void TQtCalculator::readSettings()
TQColor tmpC(189, 255, 180);
TQColor blackC(0,0,0);
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup("CalcPlugin");
kcalcdefaults.forecolor = config->readColorEntry("ForeColor", &blackC);
kcalcdefaults.backcolor = config->readColorEntry("BackColor", &tmpC);
@@ -1606,7 +1606,7 @@ void TQtCalculator::readSettings()
void TQtCalculator::writeSettings()
{
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup("CalcPlugin");
config->writeEntry("ForeColor",kcalcdefaults.forecolor);