-rw-r--r-- | noncore/apps/opie-bartender/drinkdata.cpp | 9 | ||||
-rw-r--r-- | noncore/apps/opie-bartender/drinkdata.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/noncore/apps/opie-bartender/drinkdata.cpp b/noncore/apps/opie-bartender/drinkdata.cpp index 8856e46..53e7b8d 100644 --- a/noncore/apps/opie-bartender/drinkdata.cpp +++ b/noncore/apps/opie-bartender/drinkdata.cpp | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <fcntl.h> | 18 | #include <fcntl.h> |
19 | #include <unistd.h> | 19 | #include <unistd.h> |
20 | #include <stdlib.h> | 20 | #include <stdlib.h> |
21 | #include <iostream> | ||
22 | #include <errno.h> | 21 | #include <errno.h> |
23 | 22 | ||
24 | #include "drinkdata.h" | 23 | #include "drinkdata.h" |
@@ -66,14 +65,6 @@ bool DrinkData::read(void) { | |||
66 | return true; | 65 | return true; |
67 | } | 66 | } |
68 | 67 | ||
69 | void DrinkData::print(void) { | ||
70 | DrinkList::Iterator it = items.begin(); | ||
71 | while ( it != items.end() ) { | ||
72 | std::cout << (*it).getName() << '\n'; | ||
73 | ++it; | ||
74 | } | ||
75 | } | ||
76 | |||
77 | void DrinkData::addDrink(const QString &name, const QString &ingredients) { | 68 | void DrinkData::addDrink(const QString &name, const QString &ingredients) { |
78 | DrinkItem item(name, ingredients); | 69 | DrinkItem item(name, ingredients); |
79 | items.append(item); | 70 | items.append(item); |
diff --git a/noncore/apps/opie-bartender/drinkdata.h b/noncore/apps/opie-bartender/drinkdata.h index bcc3022..2b96d1d 100644 --- a/noncore/apps/opie-bartender/drinkdata.h +++ b/noncore/apps/opie-bartender/drinkdata.h | |||
@@ -25,7 +25,6 @@ public: | |||
25 | void setFile(const QString &filename); | 25 | void setFile(const QString &filename); |
26 | bool writeChanges(void); | 26 | bool writeChanges(void); |
27 | bool read(void); | 27 | bool read(void); |
28 | void print(void); | ||
29 | void addDrink(const QString &name, const QString &ingredients); | 28 | void addDrink(const QString &name, const QString &ingredients); |
30 | DrinkList::Iterator getBegin(void); | 29 | DrinkList::Iterator getBegin(void); |
31 | DrinkList::Iterator getEnd(void); | 30 | DrinkList::Iterator getEnd(void); |