diff options
author | Timothy Pearson <[email protected]> | 2013-01-20 00:19:04 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-20 00:19:04 -0600 |
commit | 2e384e286e5ec2f884ceab9a360f90f544554066 (patch) | |
tree | 44e1defd7efd7f8f09d446992685d167ec546e5f /libtdegames | |
parent | 4ffd16a310c74db19a5ba0c297234470f01cd7b3 (diff) | |
download | tdegames-2e384e286e5ec2f884ceab9a360f90f544554066.tar.gz tdegames-2e384e286e5ec2f884ceab9a360f90f544554066.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'libtdegames')
-rw-r--r-- | libtdegames/highscore/khighscore.h | 2 | ||||
-rw-r--r-- | libtdegames/kcarddialog.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libtdegames/highscore/khighscore.h b/libtdegames/highscore/khighscore.h index 6929cb23..81ee562e 100644 --- a/libtdegames/highscore/khighscore.h +++ b/libtdegames/highscore/khighscore.h @@ -117,7 +117,7 @@ public: * effective group id is completely dropped afterwards. * * Note: this method should be called in main() before creating a - * KApplication and doing anything else (KApplication checks that the + * TDEApplication and doing anything else (TDEApplication checks that the * program is not suid/sgid and will exit the program for security * reason if it is the case). */ diff --git a/libtdegames/kcarddialog.cpp b/libtdegames/kcarddialog.cpp index 542fb5f8..937eb26b 100644 --- a/libtdegames/kcarddialog.cpp +++ b/libtdegames/kcarddialog.cpp @@ -579,7 +579,7 @@ TQString KCardDialog::getRandomDeck() if (list.isEmpty()) return TQString(); - int d = KApplication::random() % list.count(); + int d = TDEApplication::random() % list.count(); return getDeckName(*list.at(d)); } @@ -591,7 +591,7 @@ TQString KCardDialog::getRandomCardDir() if (list.isEmpty()) return TQString(); - int d = KApplication::random() % list.count(); + int d = TDEApplication::random() % list.count(); TQString entry = *list.at(d); return entry.left(entry.length() - strlen("index.desktop")); } |