Diffstat (limited to 'noncore/games/kbill/MCursor.cc') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/kbill/MCursor.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/games/kbill/MCursor.cc b/noncore/games/kbill/MCursor.cc index c581693..93dd559 100644 --- a/noncore/games/kbill/MCursor.cc +++ b/noncore/games/kbill/MCursor.cc @@ -21,5 +21,6 @@ #include <kstandarddirs.h> #endif -#include <iostream> +#include <opie2/odebug.h> +using namespace Opie::Core; #include <qpe/resource.h> MCursor::~MCursor() { @@ -38,5 +39,5 @@ void MCursor::load(const char *name, int masked) { QBitmap bitmap, mask; if (bitmap.load(file) == FALSE) { - std::cerr << "cannot open " << file << std::endl; + oerr << "cannot open " << file << oendl; exit(1); } @@ -45,5 +46,5 @@ void MCursor::load(const char *name, int masked) { mfile = file = dirs.findResource("data","kbill/bitmaps/" + QString::fromLocal8Bit(name) + "_mask.xbm"); if (mask.load(mfile) == FALSE) { - std::cerr << "cannot open " << file << std::endl; + oerr << "cannot open " << file << oendl; exit(1); } |