-rw-r--r-- | noncore/apps/opie-bartender/bac.cpp | 3 | ||||
-rw-r--r-- | noncore/apps/opie-bartender/bartender.cpp | 11 | ||||
-rw-r--r-- | noncore/apps/opie-bartender/inputDialog.cpp | 4 | ||||
-rw-r--r-- | noncore/apps/opie-bartender/newdrinks.cpp | 7 | ||||
-rw-r--r-- | noncore/apps/opie-bartender/searchresults.cpp | 9 | ||||
-rw-r--r-- | noncore/apps/opie-bartender/showdrinks.cpp | 9 |
6 files changed, 0 insertions, 43 deletions
diff --git a/noncore/apps/opie-bartender/bac.cpp b/noncore/apps/opie-bartender/bac.cpp index ac8a83e..c97a253 100644 --- a/noncore/apps/opie-bartender/bac.cpp +++ b/noncore/apps/opie-bartender/bac.cpp | |||
@@ -8,27 +8,24 @@ | |||
8 | * it under the terms of the GNU General Public License as published by * | 8 | * it under the terms of the GNU General Public License as published by * |
9 | * the Free Software Foundation; either version 2 of the License, or * | 9 | * the Free Software Foundation; either version 2 of the License, or * |
10 | * (at your option) any later version. * | 10 | * (at your option) any later version. * |
11 | ***************************************************************************/ | 11 | ***************************************************************************/ |
12 | #include "bac.h" | 12 | #include "bac.h" |
13 | 13 | ||
14 | #include <qcombobox.h> | 14 | #include <qcombobox.h> |
15 | #include <qlabel.h> | 15 | #include <qlabel.h> |
16 | #include <qlcdnumber.h> | 16 | #include <qlcdnumber.h> |
17 | #include <qpushbutton.h> | 17 | #include <qpushbutton.h> |
18 | #include <qspinbox.h> | 18 | #include <qspinbox.h> |
19 | #include <qlayout.h> | 19 | #include <qlayout.h> |
20 | #include <qvariant.h> | ||
21 | #include <qtooltip.h> | ||
22 | #include <qwhatsthis.h> | ||
23 | BacDialog::BacDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) | 20 | BacDialog::BacDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) |
24 | : QDialog( parent, name, modal, fl ) | 21 | : QDialog( parent, name, modal, fl ) |
25 | { | 22 | { |
26 | if ( !name ) | 23 | if ( !name ) |
27 | setName( "BacDialog" ); | 24 | setName( "BacDialog" ); |
28 | setCaption( tr( "Blood Alcohol Estimator" ) ); | 25 | setCaption( tr( "Blood Alcohol Estimator" ) ); |
29 | 26 | ||
30 | Layout7 = new QVBoxLayout( this); | 27 | Layout7 = new QVBoxLayout( this); |
31 | Layout7->setSpacing( 6 ); | 28 | Layout7->setSpacing( 6 ); |
32 | Layout7->setMargin( 0 ); | 29 | Layout7->setMargin( 0 ); |
33 | 30 | ||
34 | Layout1 = new QHBoxLayout; | 31 | Layout1 = new QHBoxLayout; |
diff --git a/noncore/apps/opie-bartender/bartender.cpp b/noncore/apps/opie-bartender/bartender.cpp index 740478f..3c010e9 100644 --- a/noncore/apps/opie-bartender/bartender.cpp +++ b/noncore/apps/opie-bartender/bartender.cpp | |||
@@ -2,57 +2,46 @@ | |||
2 | ** | 2 | ** |
3 | ** Created: Sat Jul 20 08:10:53 2002 | 3 | ** Created: Sat Jul 20 08:10:53 2002 |
4 | ** by: L.J. Potter <ljp@llornkcor.com> | 4 | ** by: L.J. Potter <ljp@llornkcor.com> |
5 | ** copyright : (C) 2002 by ljp | 5 | ** copyright : (C) 2002 by ljp |
6 | email : ljp@llornkcor.com | 6 | email : ljp@llornkcor.com |
7 | * This program is free software; you can redistribute it and/or modify * | 7 | * This program is free software; you can redistribute it and/or modify * |
8 | * it under the terms of the GNU General Public License as published by * | 8 | * it under the terms of the GNU General Public License as published by * |
9 | * the Free Software Foundation; either version 2 of the License, or * | 9 | * the Free Software Foundation; either version 2 of the License, or * |
10 | * (at your option) any later version. * | 10 | * (at your option) any later version. * |
11 | ***************************************************************************/ | 11 | ***************************************************************************/ |
12 | 12 | ||
13 | #include "bartender.h" | 13 | #include "bartender.h" |
14 | #include "newdrinks.h" | ||
15 | #include "showdrinks.h" | 14 | #include "showdrinks.h" |
16 | #include "inputDialog.h" | 15 | #include "inputDialog.h" |
17 | #include "searchresults.h" | 16 | #include "searchresults.h" |
18 | #include "bac.h" | 17 | #include "bac.h" |
19 | 18 | ||
20 | #include <qpe/qpetoolbar.h> | 19 | #include <qpe/qpetoolbar.h> |
21 | #include <qmenubar.h> | 20 | #include <qmenubar.h> |
22 | //#include <opie2/colorpopupmenu.h> | 21 | //#include <opie2/colorpopupmenu.h> |
23 | #include <qpe/qpeapplication.h> | 22 | #include <qpe/qpeapplication.h> |
24 | #include <qpe/resource.h> | 23 | #include <qpe/resource.h> |
25 | 24 | ||
26 | #include <qcstring.h> | ||
27 | #include <qlineedit.h> | 25 | #include <qlineedit.h> |
28 | #include <qdir.h> | 26 | #include <qdir.h> |
29 | #include <qpushbutton.h> | 27 | #include <qpushbutton.h> |
30 | #include <qlistbox.h> | 28 | #include <qlistbox.h> |
31 | #include <qstringlist.h> | ||
32 | #include <qmultilineedit.h> | 29 | #include <qmultilineedit.h> |
33 | #include <qmessagebox.h> | 30 | #include <qmessagebox.h> |
34 | #include <qfile.h> | ||
35 | #include <qtextstream.h> | 31 | #include <qtextstream.h> |
36 | #include <qfile.h> | ||
37 | #include <qaction.h> | 32 | #include <qaction.h> |
38 | #include <qheader.h> | 33 | #include <qheader.h> |
39 | #include <qlistview.h> | 34 | #include <qlistview.h> |
40 | #include <qwidget.h> | ||
41 | #include <qlayout.h> | 35 | #include <qlayout.h> |
42 | #include <qvariant.h> | ||
43 | #include <qtooltip.h> | ||
44 | #include <qwhatsthis.h> | ||
45 | #include <qimage.h> | ||
46 | #include <qpixmap.h> | ||
47 | 36 | ||
48 | #include <fcntl.h> | 37 | #include <fcntl.h> |
49 | #include <unistd.h> | 38 | #include <unistd.h> |
50 | #include <stdlib.h> | 39 | #include <stdlib.h> |
51 | #include <stdio.h> | 40 | #include <stdio.h> |
52 | #include <errno.h> | 41 | #include <errno.h> |
53 | 42 | ||
54 | 43 | ||
55 | Bartender::Bartender( QWidget* parent, const char* name, WFlags fl ) | 44 | Bartender::Bartender( QWidget* parent, const char* name, WFlags fl ) |
56 | : QMainWindow( parent, name, fl ) { | 45 | : QMainWindow( parent, name, fl ) { |
57 | if ( !name ) | 46 | if ( !name ) |
58 | setName( "Bartender" ); | 47 | setName( "Bartender" ); |
diff --git a/noncore/apps/opie-bartender/inputDialog.cpp b/noncore/apps/opie-bartender/inputDialog.cpp index 4f4cb84..29643ff 100644 --- a/noncore/apps/opie-bartender/inputDialog.cpp +++ b/noncore/apps/opie-bartender/inputDialog.cpp | |||
@@ -7,28 +7,24 @@ | |||
7 | ** by: L.J. Potter <ljp@llornkcor.com> | 7 | ** by: L.J. Potter <ljp@llornkcor.com> |
8 | ** copyright : (C) 2002 by ljp | 8 | ** copyright : (C) 2002 by ljp |
9 | email : ljp@llornkcor.com | 9 | email : ljp@llornkcor.com |
10 | * This program is free software; you can redistribute it and/or modify * | 10 | * This program is free software; you can redistribute it and/or modify * |
11 | * it under the terms of the GNU General Public License as published by * | 11 | * it under the terms of the GNU General Public License as published by * |
12 | * the Free Software Foundation; either version 2 of the License, or * | 12 | * the Free Software Foundation; either version 2 of the License, or * |
13 | * (at your option) any later version. * | 13 | * (at your option) any later version. * |
14 | ***************************************************************************/ | 14 | ***************************************************************************/ |
15 | 15 | ||
16 | #include "inputDialog.h" | 16 | #include "inputDialog.h" |
17 | 17 | ||
18 | #include <qlineedit.h> | 18 | #include <qlineedit.h> |
19 | #include <qlayout.h> | ||
20 | #include <qvariant.h> | ||
21 | #include <qtooltip.h> | ||
22 | #include <qwhatsthis.h> | ||
23 | 19 | ||
24 | 20 | ||
25 | InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) | 21 | InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) |
26 | : QDialog( parent, name, modal, fl ) | 22 | : QDialog( parent, name, modal, fl ) |
27 | { | 23 | { |
28 | if ( !name ) | 24 | if ( !name ) |
29 | setName( "InputDialog" ); | 25 | setName( "InputDialog" ); |
30 | resize( 234, 50 ); | 26 | resize( 234, 50 ); |
31 | setMaximumSize( QSize( 240, 50 ) ); | 27 | setMaximumSize( QSize( 240, 50 ) ); |
32 | setCaption( tr(name ) ); | 28 | setCaption( tr(name ) ); |
33 | 29 | ||
34 | LineEdit1 = new QLineEdit( this, "LineEdit1" ); | 30 | LineEdit1 = new QLineEdit( this, "LineEdit1" ); |
diff --git a/noncore/apps/opie-bartender/newdrinks.cpp b/noncore/apps/opie-bartender/newdrinks.cpp index 86bcc3c..a7ada3a 100644 --- a/noncore/apps/opie-bartender/newdrinks.cpp +++ b/noncore/apps/opie-bartender/newdrinks.cpp | |||
@@ -1,36 +1,29 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** Created: Sat Jul 20 08:23:27 2002 | 2 | ** Created: Sat Jul 20 08:23:27 2002 |
3 | ** by: L.J. Potter <ljp@llornkcor.com> | 3 | ** by: L.J. Potter <ljp@llornkcor.com> |
4 | ** copyright : (C) 2002 by ljp | 4 | ** copyright : (C) 2002 by ljp |
5 | email : ljp@llornkcor.com | 5 | email : ljp@llornkcor.com |
6 | * This program is free software; you can redistribute it and/or modify * | 6 | * This program is free software; you can redistribute it and/or modify * |
7 | * it under the terms of the GNU General Public License as published by * | 7 | * it under the terms of the GNU General Public License as published by * |
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 | #include "newdrinks.h" | 11 | #include "newdrinks.h" |
12 | 12 | ||
13 | #include <qpe/resource.h> | ||
14 | 13 | ||
15 | #include <qaction.h> | ||
16 | #include <qlabel.h> | 14 | #include <qlabel.h> |
17 | #include <qlineedit.h> | 15 | #include <qlineedit.h> |
18 | #include <qmultilineedit.h> | 16 | #include <qmultilineedit.h> |
19 | #include <qpushbutton.h> | ||
20 | #include <qwidget.h> | ||
21 | #include <qlayout.h> | 17 | #include <qlayout.h> |
22 | #include <qvariant.h> | ||
23 | #include <qtooltip.h> | ||
24 | #include <qwhatsthis.h> | ||
25 | 18 | ||
26 | New_Drink::New_Drink( QWidget* parent, const char* name, bool modal, WFlags fl ) | 19 | New_Drink::New_Drink( QWidget* parent, const char* name, bool modal, WFlags fl ) |
27 | : QDialog( parent, name, modal, fl ) | 20 | : QDialog( parent, name, modal, fl ) |
28 | { | 21 | { |
29 | QString drinkName = name; | 22 | QString drinkName = name; |
30 | if ( !name ) | 23 | if ( !name ) |
31 | setName( drinkName ); | 24 | setName( drinkName ); |
32 | setCaption( drinkName); | 25 | setCaption( drinkName); |
33 | 26 | ||
34 | Layout5 = new QGridLayout( this); | 27 | Layout5 = new QGridLayout( this); |
35 | Layout5->setSpacing( 6 ); | 28 | Layout5->setSpacing( 6 ); |
36 | Layout5->setMargin( 4 ); | 29 | Layout5->setMargin( 4 ); |
diff --git a/noncore/apps/opie-bartender/searchresults.cpp b/noncore/apps/opie-bartender/searchresults.cpp index 1a82c6c..4900d1f 100644 --- a/noncore/apps/opie-bartender/searchresults.cpp +++ b/noncore/apps/opie-bartender/searchresults.cpp | |||
@@ -1,36 +1,27 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** Created: Sat Jul 20 08:23:27 2002 | 2 | ** Created: Sat Jul 20 08:23:27 2002 |
3 | ** by: L.J. Potter <ljp@llornkcor.com> | 3 | ** by: L.J. Potter <ljp@llornkcor.com> |
4 | ** copyright : (C) 2002 by ljp | 4 | ** copyright : (C) 2002 by ljp |
5 | email : ljp@llornkcor.com | 5 | email : ljp@llornkcor.com |
6 | * This program is free software; you can redistribute it and/or modify * | 6 | * This program is free software; you can redistribute it and/or modify * |
7 | * it under the terms of the GNU General Public License as published by * | 7 | * it under the terms of the GNU General Public License as published by * |
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 | #include "searchresults.h" | 11 | #include "searchresults.h" |
12 | 12 | ||
13 | #include <qpe/resource.h> | ||
14 | 13 | ||
15 | #include <qaction.h> | ||
16 | #include <qlabel.h> | ||
17 | #include <qlineedit.h> | ||
18 | #include <qlistbox.h> | 14 | #include <qlistbox.h> |
19 | #include <qpushbutton.h> | ||
20 | #include <qwidget.h> | ||
21 | #include <qlayout.h> | 15 | #include <qlayout.h> |
22 | #include <qvariant.h> | ||
23 | #include <qtooltip.h> | ||
24 | #include <qwhatsthis.h> | ||
25 | 16 | ||
26 | Search_Results::Search_Results( QWidget* parent, const char* name, bool modal, WFlags fl ) | 17 | Search_Results::Search_Results( QWidget* parent, const char* name, bool modal, WFlags fl ) |
27 | : QDialog( parent, name, modal, fl ) { | 18 | : QDialog( parent, name, modal, fl ) { |
28 | if ( !name ) | 19 | if ( !name ) |
29 | setName( drinkName); | 20 | setName( drinkName); |
30 | 21 | ||
31 | drinkName = name; | 22 | drinkName = name; |
32 | setCaption( drinkName ); | 23 | setCaption( drinkName ); |
33 | 24 | ||
34 | Layout5 = new QGridLayout( this ); | 25 | Layout5 = new QGridLayout( this ); |
35 | Layout5->setSpacing( 6 ); | 26 | Layout5->setSpacing( 6 ); |
36 | Layout5->setMargin( 4 ); | 27 | Layout5->setMargin( 4 ); |
diff --git a/noncore/apps/opie-bartender/showdrinks.cpp b/noncore/apps/opie-bartender/showdrinks.cpp index 745f7db..dcfce16 100644 --- a/noncore/apps/opie-bartender/showdrinks.cpp +++ b/noncore/apps/opie-bartender/showdrinks.cpp | |||
@@ -1,37 +1,28 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** Created: Sat Jul 20 08:23:27 2002 | 2 | ** Created: Sat Jul 20 08:23:27 2002 |
3 | ** by: L.J. Potter <ljp@llornkcor.com> | 3 | ** by: L.J. Potter <ljp@llornkcor.com> |
4 | ** copyright : (C) 2002 by ljp | 4 | ** copyright : (C) 2002 by ljp |
5 | email : ljp@llornkcor.com | 5 | email : ljp@llornkcor.com |
6 | * This program is free software; you can redistribute it and/or modify * | 6 | * This program is free software; you can redistribute it and/or modify * |
7 | * it under the terms of the GNU General Public License as published by * | 7 | * it under the terms of the GNU General Public License as published by * |
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 | #include "showdrinks.h" | 11 | #include "showdrinks.h" |
12 | #include "bartender.h" | ||
13 | 12 | ||
14 | #include <qpe/resource.h> | ||
15 | 13 | ||
16 | #include <qaction.h> | ||
17 | #include <qlabel.h> | ||
18 | #include <qlineedit.h> | ||
19 | #include <qmultilineedit.h> | 14 | #include <qmultilineedit.h> |
20 | #include <qpushbutton.h> | 15 | #include <qpushbutton.h> |
21 | #include <qwidget.h> | ||
22 | #include <qlayout.h> | 16 | #include <qlayout.h> |
23 | #include <qvariant.h> | ||
24 | #include <qtooltip.h> | ||
25 | #include <qwhatsthis.h> | ||
26 | 17 | ||
27 | //extern Bartender *bart; | 18 | //extern Bartender *bart; |
28 | 19 | ||
29 | Show_Drink::Show_Drink( QWidget* parent, const char* name, bool modal, WFlags fl ) | 20 | Show_Drink::Show_Drink( QWidget* parent, const char* name, bool modal, WFlags fl ) |
30 | : QDialog( parent, name, modal, fl ) { | 21 | : QDialog( parent, name, modal, fl ) { |
31 | if ( !name ) | 22 | if ( !name ) |
32 | setName( drinkName); | 23 | setName( drinkName); |
33 | 24 | ||
34 | drinkName = name; | 25 | drinkName = name; |
35 | setCaption( drinkName ); | 26 | setCaption( drinkName ); |
36 | 27 | ||
37 | Layout5 = new QGridLayout( this); | 28 | Layout5 = new QGridLayout( this); |