diff options
author | gregory guy <[email protected]> | 2021-04-26 18:28:44 +0200 |
---|---|---|
committer | gregory guy <[email protected]> | 2021-05-20 20:16:35 +0200 |
commit | b0ef1b76e6bc94f5a8a35b9a43573eab81bca459 (patch) | |
tree | fe7fdded9638b88d7bf5243358d9a1bb7b5caf66 /asciiquarium/src/aasaver.h | |
parent | 1837fdeebf16e0430674131621907e6e71dd409f (diff) | |
download | tdeartwork-b0ef1b76e6bc94f5a8a35b9a43573eab81bca459.tar.gz tdeartwork-b0ef1b76e6bc94f5a8a35b9a43573eab81bca459.zip |
asciiquarium: Convert to tdelibs library.
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'asciiquarium/src/aasaver.h')
-rw-r--r-- | asciiquarium/src/aasaver.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/asciiquarium/src/aasaver.h b/asciiquarium/src/aasaver.h index 725378c4..94a95b36 100644 --- a/asciiquarium/src/aasaver.h +++ b/asciiquarium/src/aasaver.h @@ -28,8 +28,8 @@ #ifndef AA_AASAVER_H #define AA_AASAVER_H -#include <kscreensaver.h> -#include <kapplication.h> +#include <tdescreensaver.h> +#include <tdeapplication.h> #include <stdlib.h> @@ -83,13 +83,13 @@ public: /// Returns a random double between [0.0, limit). static double doubleRand(double limit) { - return (limit * (static_cast<double>(KApplication::random()) / RAND_MAX)); + return (limit * (static_cast<double>(TDEApplication::random()) / RAND_MAX)); } /// Returns a random integer between [0, limit) static int intRand(int limit) { - return KApplication::random() % limit; + return TDEApplication::random() % limit; } /** |