summaryrefslogtreecommitdiffstats
path: root/kolf/slope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/slope.cpp')
-rw-r--r--kolf/slope.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kolf/slope.cpp b/kolf/slope.cpp
index a6a1abf1..b01385bf 100644
--- a/kolf/slope.cpp
+++ b/kolf/slope.cpp
@@ -207,7 +207,7 @@ void Slope::updateZ(TQCanvasRectangle *vStrut)
setZ(((double)1 / (area == 0? 1 : area)) + newZ);
}
-void Slope::load(KConfig *cfg)
+void Slope::load(TDEConfig *cfg)
{
stuckOnGround = cfg->readBoolEntry("stuckOnGround", stuckOnGround);
grade = cfg->readDoubleNumEntry("grade", grade);
@@ -221,7 +221,7 @@ void Slope::load(KConfig *cfg)
setGradient(gradientType);
}
-void Slope::save(KConfig *cfg)
+void Slope::save(TDEConfig *cfg)
{
cfg->writeEntry("reversed", reversed);
cfg->writeEntry("width", width());