diff options
Diffstat (limited to 'libksirtet/common')
-rw-r--r-- | libksirtet/common/ai.cpp | 4 | ||||
-rw-r--r-- | libksirtet/common/highscores.cpp | 2 | ||||
-rw-r--r-- | libksirtet/common/main.cpp | 2 | ||||
-rw-r--r-- | libksirtet/common/main.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/libksirtet/common/ai.cpp b/libksirtet/common/ai.cpp index 3f48035f..578c71d5 100644 --- a/libksirtet/common/ai.cpp +++ b/libksirtet/common/ai.cpp @@ -343,14 +343,14 @@ TQCString AIConfig::coefficientKey(const char *name) double AIConfig::coefficient(const AI::Data &data) { - KConfigSkeletonItem *item = CommonPrefs::self()->findItem( TQString("Coefficient_%1").arg(data.name) ); + TDEConfigSkeletonItem *item = CommonPrefs::self()->findItem( TQString("Coefficient_%1").arg(data.name) ); assert(item); return item->property().toDouble(); } int AIConfig::trigger(const AI::Data &data) { - KConfigSkeletonItem *item = CommonPrefs::self()->findItem( TQString("Trigger_%1").arg(data.name) ); + TDEConfigSkeletonItem *item = CommonPrefs::self()->findItem( TQString("Trigger_%1").arg(data.name) ); assert(item); return item->property().toInt(); } diff --git a/libksirtet/common/highscores.cpp b/libksirtet/common/highscores.cpp index bd9be550..29774d71 100644 --- a/libksirtet/common/highscores.cpp +++ b/libksirtet/common/highscores.cpp @@ -20,7 +20,7 @@ CommonHighscores::CommonHighscores() void CommonHighscores::convertLegacy(uint) { - KConfigGroupSaver cg(kapp->config(), "High Scores"); + TDEConfigGroupSaver cg(kapp->config(), "High Scores"); for (uint i=0; i<10; i++) { TQString name = cg.config()->readEntry(TQString("name%1").arg(i), TQString()); diff --git a/libksirtet/common/main.cpp b/libksirtet/common/main.cpp index 8856a726..4383243f 100644 --- a/libksirtet/common/main.cpp +++ b/libksirtet/common/main.cpp @@ -10,7 +10,7 @@ #include "inter.h" #include "factory.h" -void MainWindow::addConfig(KConfigDialog *dialog) +void MainWindow::addConfig(TDEConfigDialog *dialog) { TQWidget *w = cfactory->createAIConfig(); if (w) dialog->addPage(w, i18n("A.I."), "personal"); diff --git a/libksirtet/common/main.h b/libksirtet/common/main.h index ccf15403..daafca74 100644 --- a/libksirtet/common/main.h +++ b/libksirtet/common/main.h @@ -14,7 +14,7 @@ public: protected: void init(); - void addConfig(KConfigDialog *); + void addConfig(TDEConfigDialog *); void addKeys(KKeyDialog &); void saveKeys(); virtual void focusInEvent(TQFocusEvent *e); |