summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-bartender/bartender.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-bartender/bartender.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-bartender/bartender.h5
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
@@ -8,12 +8,13 @@
8 * the Free Software Foundation; either version 2 of the License, or * 8 * the Free Software Foundation; either version 2 of the License, or *
9 * (at your option) any later version. * 9 * (at your option) any later version. *
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>
18#include <qfile.h> 19#include <qfile.h>
19 20
@@ -33,13 +34,13 @@ public:
33 ~Bartender(); 34 ~Bartender();
34 35
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;
40public slots: 41public slots:
41 void doEdit(); 42 void doEdit();
42 43
43protected: 44protected:
44 45
45protected slots: 46protected slots:
@@ -48,13 +49,13 @@ protected slots:
48 void cleanUp(); 49 void cleanUp();
49 void fileNew(); 50 void fileNew();
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();
59private: 60private:
60 void clearList(); 61 void clearList();