Diffstat (limited to 'noncore/games/kbill/Picture.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/kbill/Picture.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/games/kbill/Picture.cc b/noncore/games/kbill/Picture.cc index fe0eff8..9d46257 100644 --- a/noncore/games/kbill/Picture.cc +++ b/noncore/games/kbill/Picture.cc | |||
@@ -6,29 +6,27 @@ | |||
6 | email : j.h.loonstra@st.hanze.nl | 6 | email : j.h.loonstra@st.hanze.nl |
7 | ***************************************************************************/ | 7 | ***************************************************************************/ |
8 | 8 | ||
9 | /*************************************************************************** | 9 | /*************************************************************************** |
10 | * * | 10 | * * |
11 | * This program is free software; you can redistribute it and/or modify * | 11 | * This program is free software; you can redistribute it and/or modify * |
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * |
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * |
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | #include "Picture.h" | 17 | #include "Picture.h" |
18 | #include "objects.h" | ||
19 | 18 | ||
20 | #include <iostream> | 19 | #include <iostream> |
21 | 20 | ||
22 | #include <qstring.h> | ||
23 | #include <qpe/resource.h> | 21 | #include <qpe/resource.h> |
24 | #ifdef KDEVER | 22 | #ifdef KDEVER |
25 | #include <kapp.h> | 23 | #include <kapp.h> |
26 | #include <kstandarddirs.h> | 24 | #include <kstandarddirs.h> |
27 | #include <kdebug.h> | 25 | #include <kdebug.h> |
28 | #endif | 26 | #endif |
29 | void Picture::load(const char *name, int index) { | 27 | void Picture::load(const char *name, int index) { |
30 | //QString dir = KApplication::kde_datadir(), file; | 28 | //QString dir = KApplication::kde_datadir(), file; |
31 | // QString dir = locate("data",""),file; | 29 | // QString dir = locate("data",""),file; |
32 | // dir += "/kbill/"; | 30 | // dir += "/kbill/"; |
33 | // if (index>=0) | 31 | // if (index>=0) |
34 | // file.sprintf ("%spixmaps/%s_%d.xpm", (const char *)dir, name, index); | 32 | // file.sprintf ("%spixmaps/%s_%d.xpm", (const char *)dir, name, index); |