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 @@ | |||
22 | 22 | ||
23 | #include <qpe/resource.h> | 23 | #include <opie2/oresource.h> |
24 | 24 | ||
@@ -33,3 +33,3 @@ SnakeGame::SnakeGame(QWidget* parent, const char* name, WFlags f) : | |||
33 | QPEApplication::setInputMethodHint(this, QPEApplication::AlwaysOff ); | 33 | QPEApplication::setInputMethodHint(this, QPEApplication::AlwaysOff ); |
34 | QPixmap bg = Resource::loadPixmap("snake/grass"); | 34 | QPixmap bg = Opie::Core::OResource::loadPixmap("snake/grass"); |
35 | canvas.setBackgroundPixmap(bg); | 35 | canvas.setBackgroundPixmap(bg); |
@@ -48,3 +48,3 @@ SnakeGame::SnakeGame(QWidget* parent, const char* name, WFlags f) : | |||
48 | 48 | ||
49 | QPixmap newicon = Resource::loadPixmap("ksnake"); | 49 | QPixmap newicon = Opie::Core::OResource::loadPixmap("ksnake"); |
50 | setIcon(newicon); | 50 | setIcon(newicon); |
@@ -88,3 +88,3 @@ void SnakeGame::welcomescreen() | |||
88 | title->show(); | 88 | title->show(); |
89 | QCanvasPixmapArray* titlearray = new QCanvasPixmapArray(Resource::findPixmap("snake/title")); | 89 | QCanvasPixmapArray* titlearray = new QCanvasPixmapArray(Opie::Core::OResource::findPixmap("snake/title")); |
90 | QCanvasSprite* titlepic = new QCanvasSprite(titlearray, &canvas); | 90 | QCanvasSprite* titlepic = new QCanvasSprite(titlearray, &canvas); |