summaryrefslogtreecommitdiff
path: root/noncore/games/kbill/Picture.cc
Side-by-side diff
Diffstat (limited to 'noncore/games/kbill/Picture.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/kbill/Picture.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/games/kbill/Picture.cc b/noncore/games/kbill/Picture.cc
index 9d46257..cf96ddf 100644
--- a/noncore/games/kbill/Picture.cc
+++ b/noncore/games/kbill/Picture.cc
@@ -13,14 +13,14 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "Picture.h"
-#include <iostream>
-
+#include <opie2/odebug.h>
+using namespace Opie::Core;
#include <qpe/resource.h>
#ifdef KDEVER
#include <kapp.h>
#include <kstandarddirs.h>
#include <kdebug.h>
#endif
@@ -45,13 +45,13 @@ void Picture::load(const char *name, int index) {
} else {
file = dirs.findResource("data","kbill/pixmaps/" + QString::fromLocal8Bit(name) + ".xpm");
}
kdDebug() << file << std::endl;
pix = new QPixmap();
if (pix->load(file) == FALSE)
- std::cerr << "cannot open " << file << std::endl;
+ oerr << "cannot open " << file << oendl;
width = pix->width();
height = pix->height();
#endif
QString sindex;
pix = new QPixmap();
sindex.setNum(index);