diff options
author | gregory guy <gregory-tde@laposte.net> | 2021-04-26 18:27:39 +0200 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-05-21 12:19:15 +0900 |
commit | 75814a8af5c999a4aa51424b9efdc09b27487a17 (patch) | |
tree | d7016aeb0c813626df88a8a60194c70e1cce4f10 /asciiquarium/src/sprite.h | |
parent | e195d279b81235a9e53d8036d170b22cb187fad9 (diff) | |
download | tdeartwork-75814a8af5c999a4aa51424b9efdc09b27487a17.tar.gz tdeartwork-75814a8af5c999a4aa51424b9efdc09b27487a17.zip |
asciiquarium: Convert to tqt3 library.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit 1837fdeebf16e0430674131621907e6e71dd409f)
Diffstat (limited to 'asciiquarium/src/sprite.h')
-rw-r--r-- | asciiquarium/src/sprite.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asciiquarium/src/sprite.h b/asciiquarium/src/sprite.h index 14fb1c19..927c149c 100644 --- a/asciiquarium/src/sprite.h +++ b/asciiquarium/src/sprite.h @@ -28,7 +28,7 @@ #ifndef AA_SPRITE_H #define AA_SPRITE_H -#include <qvaluevector.h> +#include <ntqvaluevector.h> #include "frame.h" /** @@ -53,7 +53,7 @@ protected: int m_y; ///< Our current logical y position. int m_z; ///< Our current depth. - QValueVector<Frame> m_frames; ///< Array of animation frames. + TQValueVector<Frame> m_frames; ///< Array of animation frames. bool m_isKilled; ///< True if we've been killed. bool m_killAfterLastFrame; ///< True if we should auto-kill after the last frame. int m_ticksSinceFrameChange; ///< Number of timer ticks since we last changed frame. @@ -165,7 +165,7 @@ public: * @return The rectangular geometry of this object in the Pixel coordinate * system. */ - QRect geom() const; + TQRect geom() const; /** * Erases this Sprite from its Screen, using the current animation frame to |