Diffstat (limited to 'noncore/games/snake/target.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/snake/target.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/games/snake/target.cpp b/noncore/games/snake/target.cpp index a09af69..f20eb93 100644 --- a/noncore/games/snake/target.cpp +++ b/noncore/games/snake/target.cpp @@ -12,32 +12,32 @@ ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "target.h" #include "codes.h" -#include <qpe/resource.h> +#include <opie2/oresource.h> #include <stdlib.h> Target::Target(QCanvas* canvas) : QCanvasSprite(0, canvas) { - mouse = new QCanvasPixmapArray(Resource::findPixmap("snake/mouse")); + mouse = new QCanvasPixmapArray(Opie::Core::OResource::findPixmap("snake/mouse")); setSequence(mouse); newTarget(); } void Target::newTarget() { static bool first_time = TRUE; if (first_time) { first_time = FALSE; QTime midnight(0, 0, 0); srand(midnight.secsTo(QTime::currentTime()) ); } |