author | mickeyl <mickeyl> | 2005-01-15 23:07:36 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-01-15 23:07:36 (UTC) |
commit | 972d0500299d6bed8e0890810f9c120390268dcf (patch) (side-by-side diff) | |
tree | f38d1a12f290d4e47c012483a113a67b7dfc2f30 /noncore/games/kbill/Picture.cc | |
parent | 490b0398b7e11f1485b902a6d9b99b9152be2492 (diff) | |
download | opie-972d0500299d6bed8e0890810f9c120390268dcf.zip opie-972d0500299d6bed8e0890810f9c120390268dcf.tar.gz opie-972d0500299d6bed8e0890810f9c120390268dcf.tar.bz2 |
kbill no longer needs STL
Diffstat (limited to 'noncore/games/kbill/Picture.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/kbill/Picture.cc | 6 |
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); |