summaryrefslogtreecommitdiff
path: root/noncore
authordrw <drw>2004-02-23 18:59:17 (UTC)
committer drw <drw>2004-02-23 18:59:17 (UTC)
commit4f8be1658bc82040bac404aa98fe70c24239f10c (patch) (unidiff)
treeb502a5f03f488065d7b9868b79116fb0846d2994 /noncore
parentd66f871dfeae78babeb1fa0b8a3e1c72dd10ea2b (diff)
downloadopie-4f8be1658bc82040bac404aa98fe70c24239f10c.zip
opie-4f8be1658bc82040bac404aa98fe70c24239f10c.tar.gz
opie-4f8be1658bc82040bac404aa98fe70c24239f10c.tar.bz2
Fixed control file so ipkg will build and commented out an unused include (but did convert to libopie2)
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-bartender/bartender.cpp36
-rw-r--r--noncore/apps/opie-bartender/opie-bartender.control4
2 files changed, 20 insertions, 20 deletions
diff --git a/noncore/apps/opie-bartender/bartender.cpp b/noncore/apps/opie-bartender/bartender.cpp
index cd0a364..740478f 100644
--- a/noncore/apps/opie-bartender/bartender.cpp
+++ b/noncore/apps/opie-bartender/bartender.cpp
@@ -21,3 +21,3 @@
21#include <qmenubar.h> 21#include <qmenubar.h>
22#include <opie/colorpopupmenu.h> 22//#include <opie2/colorpopupmenu.h>
23#include <qpe/qpeapplication.h> 23#include <qpe/qpeapplication.h>
@@ -78,3 +78,3 @@ Bartender::Bartender( QWidget* parent, const char* name, WFlags fl )
78 fileMenu->insertItem(tr("Find by Alcohol")); 78 fileMenu->insertItem(tr("Find by Alcohol"));
79 79
80 QPopupMenu *editMenu; 80 QPopupMenu *editMenu;
@@ -83,3 +83,3 @@ Bartender::Bartender( QWidget* parent, const char* name, WFlags fl )
83 editMenu->insertItem(tr("edit")); 83 editMenu->insertItem(tr("edit"));
84 84
85 connect( fileMenu, SIGNAL( activated(int) ), this, SLOT( fileMenuActivated(int) )); 85 connect( fileMenu, SIGNAL( activated(int) ), this, SLOT( fileMenuActivated(int) ));
@@ -107,6 +107,6 @@ Bartender::Bartender( QWidget* parent, const char* name, WFlags fl )
107 connect( t, SIGNAL( clicked() ), this, SLOT( doBac() ) ); 107 connect( t, SIGNAL( clicked() ), this, SLOT( doBac() ) );
108 108
109 DrinkView = new QListView( this, "DrinkView" ); 109 DrinkView = new QListView( this, "DrinkView" );
110 DrinkView->addColumn( tr( "Name of Drink" ) ); 110 DrinkView->addColumn( tr( "Name of Drink" ) );
111// DrinkView->setRootIsDecorated( TRUE ); 111// DrinkView->setRootIsDecorated( TRUE );
112 DrinkView->header()->hide(); 112 DrinkView->header()->hide();
@@ -188,6 +188,6 @@ void Bartender::fileNew() {
188 dbFile.close(); 188 dbFile.close();
189 189
190 initDrinkDb(); 190 initDrinkDb();
191 } 191 }
192 delete newDrinks; 192 delete newDrinks;
193} 193}
@@ -212,3 +212,3 @@ void Bartender::showDrink( QListViewItem *item) {
212 QTextStream t( &dbFile); 212 QTextStream t( &dbFile);
213 213
214 QString s, s2; 214 QString s, s2;
@@ -277,3 +277,3 @@ void Bartender::doSearchByDrink() {
277 QString searchForDrinkName, lastDrinkName, tempName; 277 QString searchForDrinkName, lastDrinkName, tempName;
278 278
279 InputDialog *fileDlg; 279 InputDialog *fileDlg;
@@ -286,3 +286,3 @@ void Bartender::doSearchByDrink() {
286 QTextStream t( &dbFile); 286 QTextStream t( &dbFile);
287 287
288 QString s, s2; 288 QString s, s2;
@@ -291,3 +291,3 @@ void Bartender::doSearchByDrink() {
291 if(s.find("#",0,TRUE) != -1) { 291 if(s.find("#",0,TRUE) != -1) {
292 lastDrinkName=s.right(s.length()-2); 292 lastDrinkName=s.right(s.length()-2);
293// qDebug("last drink name "+lastDrinkName); 293// qDebug("last drink name "+lastDrinkName);
@@ -315,3 +315,3 @@ void Bartender::showSearchResult(QStringList &searchList) {
315 searchList.sort(); 315 searchList.sort();
316 316
317 searchDlg = new Search_Results(this, "Search Results", TRUE); 317 searchDlg = new Search_Results(this, "Search Results", TRUE);
@@ -377,3 +377,3 @@ void Bartender::doEdit() {
377 lseek( fd, foundAt, SEEK_SET); 377 lseek( fd, foundAt, SEEK_SET);
378 378
379// dbFile.at( foundAt); 379// dbFile.at( foundAt);
@@ -386,5 +386,5 @@ void Bartender::doEdit() {
386 clearList(); 386 clearList();
387 387
388 dbFile.flush(); 388 dbFile.flush();
389 389
390 initDrinkDb(); 390 initDrinkDb();
@@ -426,3 +426,3 @@ void Bartender::fileMenuActivated( int item) {
426 break; 426 break;
427 427
428 } 428 }
@@ -437,5 +437,5 @@ void Bartender::editMenuActivated(int item) {
437 case -8: 437 case -8:
438 doEdit() ; 438 doEdit() ;
439 break; 439 break;
440 440
441 } 441 }
diff --git a/noncore/apps/opie-bartender/opie-bartender.control b/noncore/apps/opie-bartender/opie-bartender.control
index acd3304..a8bf860 100644
--- a/noncore/apps/opie-bartender/opie-bartender.control
+++ b/noncore/apps/opie-bartender/opie-bartender.control
@@ -7,4 +7,4 @@ Architecture: arm
7Version: $QPE_VERSION-$SUB_VERSION 7Version: $QPE_VERSION-$SUB_VERSION
8Depends: qpe-base ($QPE_VERSION) 8Depends: task-opie-minimal
9Description: Bartender drink receipe database lookup, and 9Description: Bartender drink receipe database lookup, and
10blood alcohol estimator. 10 blood alcohol estimator.