diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:19:04 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:19:04 -0600 |
commit | 2e384e286e5ec2f884ceab9a360f90f544554066 (patch) | |
tree | 44e1defd7efd7f8f09d446992685d167ec546e5f /kbattleship | |
parent | 4ffd16a310c74db19a5ba0c297234470f01cd7b3 (diff) | |
download | tdegames-2e384e286e5ec2f884ceab9a360f90f544554066.tar.gz tdegames-2e384e286e5ec2f884ceab9a360f90f544554066.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kbattleship')
-rw-r--r-- | kbattleship/kbattleship/kbaiplayer.cpp | 2 | ||||
-rw-r--r-- | kbattleship/kbattleship/kbchooserstrategy.cpp | 2 | ||||
-rw-r--r-- | kbattleship/kbattleship/main.cpp | 2 |
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/"); |