Diffstat (limited to 'noncore/apps/opie-bartender/bartender.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-bartender/bartender.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/opie-bartender/bartender.h b/noncore/apps/opie-bartender/bartender.h index 27362df..9970ef1 100644 --- a/noncore/apps/opie-bartender/bartender.h +++ b/noncore/apps/opie-bartender/bartender.h | |||
@@ -10,8 +10,9 @@ | |||
10 | ***************************************************************************/ | 10 | ***************************************************************************/ |
11 | #ifndef BARTENDER_H | 11 | #ifndef BARTENDER_H |
12 | #define BARTENDER_H | 12 | #define BARTENDER_H |
13 | #include "newdrinks.h" | 13 | #include "newdrinks.h" |
14 | #include "drinkdata.h" | ||
14 | 15 | ||
15 | #include <qvariant.h> | 16 | #include <qvariant.h> |
16 | #include <qwidget.h> | 17 | #include <qwidget.h> |
17 | #include <qmainwindow.h> | 18 | #include <qmainwindow.h> |
@@ -35,9 +36,9 @@ public: | |||
35 | static QString appName() { return QString::fromLatin1("bartender"); } | 36 | static QString appName() { return QString::fromLatin1("bartender"); } |
36 | 37 | ||
37 | QToolBar* ToolBar1; | 38 | QToolBar* ToolBar1; |
38 | QListView* DrinkView; | 39 | QListView* DrinkView; |
39 | QFile dbFile; | 40 | DrinkData drinkDB; |
40 | public slots: | 41 | public slots: |
41 | void doEdit(); | 42 | void doEdit(); |
42 | 43 | ||
43 | protected: | 44 | protected: |
@@ -50,9 +51,9 @@ protected slots: | |||
50 | void showDrink( QListViewItem *); | 51 | void showDrink( QListViewItem *); |
51 | void showDrink(int, QListViewItem *, const QPoint&, int); | 52 | void showDrink(int, QListViewItem *, const QPoint&, int); |
52 | void initDrinkDb(); | 53 | void initDrinkDb(); |
53 | void doSearchByName(); | 54 | void doSearchByName(); |
54 | void doSearchByDrink(); | 55 | void doSearchByIngredient(); |
55 | void showSearchResult(QStringList &); | 56 | void showSearchResult(QStringList &); |
56 | void doBac(); | 57 | void doBac(); |
57 | void openCurrentDrink(); | 58 | void openCurrentDrink(); |
58 | void askSearch(); | 59 | void askSearch(); |