diff options
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")); } |