summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-bartender/bartender.h
authorzecke <zecke>2004-11-14 21:58:26 (UTC)
committer zecke <zecke>2004-11-14 21:58:26 (UTC)
commit3e23af22643ac0ff3740f37803a94f81d6b15fe1 (patch) (side-by-side diff)
tree1f08bde3533ac0ea7fc6f5bc470bc910fe6cc172 /noncore/apps/opie-bartender/bartender.h
parent7a8f86ed0f1d160e9c2a4794e297ba49fd9ac712 (diff)
downloadopie-3e23af22643ac0ff3740f37803a94f81d6b15fe1.zip
opie-3e23af22643ac0ff3740f37803a94f81d6b15fe1.tar.gz
opie-3e23af22643ac0ff3740f37803a94f81d6b15fe1.tar.bz2
Make Bartender Quick Launchable
Diffstat (limited to 'noncore/apps/opie-bartender/bartender.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-bartender/bartender.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-bartender/bartender.h b/noncore/apps/opie-bartender/bartender.h
index df1af76..27362df 100644
--- a/noncore/apps/opie-bartender/bartender.h
+++ b/noncore/apps/opie-bartender/bartender.h
@@ -1,63 +1,65 @@
/****************************************************************************
** Created: Sat Jul 20 08:10:31 2002
** by: L.J. Potter <ljp@llornkcor.com>
** copyright : (C) 2002 by ljp
email : ljp@llornkcor.com
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
#ifndef BARTENDER_H
#define BARTENDER_H
#include "newdrinks.h"
#include <qvariant.h>
#include <qwidget.h>
#include <qmainwindow.h>
#include <qfile.h>
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QListView;
class QListViewItem;
class QToolBar;
class Bartender : public QMainWindow
{
Q_OBJECT
public:
Bartender( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~Bartender();
+ static QString appName() { return QString::fromLatin1("bartender"); }
+
QToolBar* ToolBar1;
QListView* DrinkView;
QFile dbFile;
public slots:
void doEdit();
protected:
protected slots:
void fileMenuActivated(int);
void editMenuActivated(int);
void cleanUp();
void fileNew();
void showDrink( QListViewItem *);
void showDrink(int, QListViewItem *, const QPoint&, int);
void initDrinkDb();
void doSearchByName();
void doSearchByDrink();
void showSearchResult(QStringList &);
void doBac();
void openCurrentDrink();
void askSearch();
private:
void clearList();
void fillList();
};
#endif // BARTENDER_H