summaryrefslogtreecommitdiffstats
path: root/kbattleship
diff options
context:
space:
mode:
Diffstat (limited to 'kbattleship')
-rw-r--r--kbattleship/kbattleship/kbaiplayer.cpp2
-rw-r--r--kbattleship/kbattleship/kbchooserstrategy.cpp2
-rw-r--r--kbattleship/kbattleship/main.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kbattleship/kbattleship/kbaiplayer.cpp b/kbattleship/kbattleship/kbaiplayer.cpp
index 3381c00c..0a30913a 100644
--- a/kbattleship/kbattleship/kbaiplayer.cpp
+++ b/kbattleship/kbattleship/kbaiplayer.cpp
@@ -29,7 +29,7 @@ KBAIPlayer::KBAIPlayer()
m_ownShipList = 0;
m_battleField = 0;
m_masterStrategy = 0;
- m_randomSeq = new KRandomSequence(KApplication::random());
+ m_randomSeq = new KRandomSequence(TDEApplication::random());
}
KBAIPlayer::~KBAIPlayer()
diff --git a/kbattleship/kbattleship/kbchooserstrategy.cpp b/kbattleship/kbattleship/kbchooserstrategy.cpp
index 6473e73b..723c2932 100644
--- a/kbattleship/kbattleship/kbchooserstrategy.cpp
+++ b/kbattleship/kbattleship/kbchooserstrategy.cpp
@@ -32,7 +32,7 @@ KBChooserStrategy::KBChooserStrategy(KBStrategy *parent) : KBStrategy(parent)
m_child = 0;
- m_random = new KRandomSequence(KApplication::random());
+ m_random = new KRandomSequence(TDEApplication::random());
}
KBChooserStrategy::~KBChooserStrategy()
diff --git a/kbattleship/kbattleship/main.cpp b/kbattleship/kbattleship/main.cpp
index b003851e..79fd5574 100644
--- a/kbattleship/kbattleship/main.cpp
+++ b/kbattleship/kbattleship/main.cpp
@@ -48,7 +48,7 @@ int main(int argc, char *argv[])
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
- KApplication app;
+ TDEApplication app;
KGlobal::locale()->insertCatalogue("libtdegames");
TQString picDirCheck = locate("data", "kbattleship/pictures/");