summaryrefslogtreecommitdiffstats
path: root/kolf/objects/test
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:32:59 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:32:59 -0600
commit2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d (patch)
treeea24a96bad3bb7356ec1a2dca2a1338692d79745 /kolf/objects/test
parentd6f3812c8d969a673b420beca2482804177704fb (diff)
downloadtdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.tar.gz
tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kolf/objects/test')
-rw-r--r--kolf/objects/test/test.cpp6
-rw-r--r--kolf/objects/test/test.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/kolf/objects/test/test.cpp b/kolf/objects/test/test.cpp
index eabc2e7e..331975fc 100644
--- a/kolf/objects/test/test.cpp
+++ b/kolf/objects/test/test.cpp
@@ -52,14 +52,14 @@ void Test::advance(int phase)
}
}
-void Test::save(KConfig *cfg)
+void Test::save(TDEConfig *cfg)
{
// save our option from the course
- // (courses are represented as KConfig files)
+ // (courses are represented as TDEConfig files)
cfg->writeEntry("switchEvery", switchEvery());
}
-void Test::load(KConfig *cfg)
+void Test::load(TDEConfig *cfg)
{
// load our option
setSwitchEvery(cfg->readNumEntry("switchEvery", 50));
diff --git a/kolf/objects/test/test.h b/kolf/objects/test/test.h
index b7aa0be5..db4a6205 100644
--- a/kolf/objects/test/test.h
+++ b/kolf/objects/test/test.h
@@ -9,7 +9,7 @@
#include <kolf/canvasitem.h>
#include <kolf/object.h>
-class KConfig;
+class TDEConfig;
class TestFactory : KLibFactory {
Q_OBJECT
@@ -25,8 +25,8 @@ public:
Test(TQCanvas *canvas);
virtual Config *config(TQWidget *parent);
- virtual void save(KConfig *cfg);
- virtual void load(KConfig *cfg);
+ virtual void save(TDEConfig *cfg);
+ virtual void load(TDEConfig *cfg);
virtual void advance(int phase);