Diffstat (limited to 'noncore/games/qasteroids/toplevel.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/qasteroids/toplevel.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/noncore/games/qasteroids/toplevel.cpp b/noncore/games/qasteroids/toplevel.cpp index 9053d3d..d1e1fac 100644 --- a/noncore/games/qasteroids/toplevel.cpp +++ b/noncore/games/qasteroids/toplevel.cpp @@ -28,4 +28,5 @@ +#include <opie2/oresource.h> + #include <qpe/qpeapplication.h> -#include <qpe/resource.h> @@ -187,3 +188,3 @@ KAstTopLevel::KAstTopLevel( QWidget *parent, const char *_name, WFlags fl ) label = new QLabel( mainWin ); - label->setPixmap( Resource::loadPixmap("qasteroids/powerups/brake.png") ); + label->setPixmap( Opie::Core::OResource::loadPixmap("qasteroids/powerups/brake.png") ); label->setFixedWidth( 16 ); @@ -202,3 +203,3 @@ KAstTopLevel::KAstTopLevel( QWidget *parent, const char *_name, WFlags fl ) label = new QLabel( mainWin ); - label->setPixmap( Resource::loadPixmap("qasteroids/powerups/shield.png") ); + label->setPixmap( Opie::Core::OResource::loadPixmap("qasteroids/powerups/shield.png") ); label->setFixedWidth( 16 ); @@ -217,3 +218,3 @@ KAstTopLevel::KAstTopLevel( QWidget *parent, const char *_name, WFlags fl ) label = new QLabel( mainWin ); - label->setPixmap( Resource::loadPixmap("qasteroids/powerups/shoot.png") ); + label->setPixmap( Opie::Core::OResource::loadPixmap("qasteroids/powerups/shoot.png") ); label->setFixedWidth( 16 ); |