summaryrefslogtreecommitdiff
path: root/noncore/games/zlines/ballpainter.cpp
Unidiff
Diffstat (limited to 'noncore/games/zlines/ballpainter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/zlines/ballpainter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/games/zlines/ballpainter.cpp b/noncore/games/zlines/ballpainter.cpp
index 622ec29..e7596c4 100644
--- a/noncore/games/zlines/ballpainter.cpp
+++ b/noncore/games/zlines/ballpainter.cpp
@@ -14,13 +14,13 @@
14 * it under the terms of the GNU General Public License as published by * 14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or * 15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. * 16 * (at your option) any later version. *
17 * * 17 * *
18 ***************************************************************************/ 18 ***************************************************************************/
19 19
20#include <qpe/resource.h> 20#include <opie2/oresource.h>
21 21
22#include "ballpainter.h" 22#include "ballpainter.h"
23//#include "shotcounter.h" 23//#include "shotcounter.h"
24#include <qpainter.h> 24#include <qpainter.h>
25//#include <qcolor.h> 25//#include <qcolor.h>
26 26
@@ -56,13 +56,13 @@ QPixmap* BallPainter::pixmap( enum Pixmaps pix )
56 break; 56 break;
57 case Fire: 57 case Fire:
58 name = QString::fromLatin1("zlines/fire"); 58 name = QString::fromLatin1("zlines/fire");
59 break; 59 break;
60 } 60 }
61 61
62 return new QPixmap(Resource::loadPixmap(name) ); 62 return new QPixmap(Opie::Core::OResource::loadPixmap(name) );
63} 63}
64 64
65void BallPainter::createPixmap() 65void BallPainter::createPixmap()
66{ 66{
67 // warning( kapp->kde_datadir() +"/klines/data/balls.bmp"); 67 // warning( kapp->kde_datadir() +"/klines/data/balls.bmp");
68 backgroundPix = pixmap(Field); 68 backgroundPix = pixmap(Field);