summaryrefslogtreecommitdiffstats
path: root/libksirtet/common
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 /libksirtet/common
parentd6f3812c8d969a673b420beca2482804177704fb (diff)
downloadtdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.tar.gz
tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'libksirtet/common')
-rw-r--r--libksirtet/common/ai.cpp4
-rw-r--r--libksirtet/common/highscores.cpp2
-rw-r--r--libksirtet/common/main.cpp2
-rw-r--r--libksirtet/common/main.h2
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);