From 2e384e286e5ec2f884ceab9a360f90f544554066 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:19:04 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- libtdegames/highscore/khighscore.h | 2 +- libtdegames/kcarddialog.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libtdegames') 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")); } -- cgit v1.2.1