Diffstat (limited to 'noncore/games/snake/interface.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/snake/interface.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/games/snake/interface.cpp b/noncore/games/snake/interface.cpp index 9d9550a..1eeb337 100644 --- a/noncore/games/snake/interface.cpp +++ b/noncore/games/snake/interface.cpp @@ -22,3 +22,3 @@ -#include <qpe/resource.h> +#include <opie2/oresource.h> @@ -33,3 +33,3 @@ SnakeGame::SnakeGame(QWidget* parent, const char* name, WFlags f) : QPEApplication::setInputMethodHint(this, QPEApplication::AlwaysOff ); - QPixmap bg = Resource::loadPixmap("snake/grass"); + QPixmap bg = Opie::Core::OResource::loadPixmap("snake/grass"); canvas.setBackgroundPixmap(bg); @@ -48,3 +48,3 @@ SnakeGame::SnakeGame(QWidget* parent, const char* name, WFlags f) : - QPixmap newicon = Resource::loadPixmap("ksnake"); + QPixmap newicon = Opie::Core::OResource::loadPixmap("ksnake"); setIcon(newicon); @@ -88,3 +88,3 @@ void SnakeGame::welcomescreen() title->show(); - QCanvasPixmapArray* titlearray = new QCanvasPixmapArray(Resource::findPixmap("snake/title")); + QCanvasPixmapArray* titlearray = new QCanvasPixmapArray(Opie::Core::OResource::findPixmap("snake/title")); QCanvasSprite* titlepic = new QCanvasSprite(titlearray, &canvas); |