author | chicken <chicken> | 2004-03-02 15:11:14 (UTC) |
---|---|---|
committer | chicken <chicken> | 2004-03-02 15:11:14 (UTC) |
commit | b48c5437e9631094d15ec7280a9d1cf212b3eb28 (patch) (unidiff) | |
tree | 4c0095e58acc98ba6e8ba40240c491d03b99be92 /noncore/multimedia/powerchord | |
parent | 12dd57c04b42d4517061ed847b1aa041dd8af841 (diff) | |
download | opie-b48c5437e9631094d15ec7280a9d1cf212b3eb28.zip opie-b48c5437e9631094d15ec7280a9d1cf212b3eb28.tar.gz opie-b48c5437e9631094d15ec7280a9d1cf212b3eb28.tar.bz2 |
fix includes
-rw-r--r-- | noncore/multimedia/powerchord/fretboard.cpp | 1 | ||||
-rw-r--r-- | noncore/multimedia/powerchord/gs.cpp | 2 | ||||
-rw-r--r-- | noncore/multimedia/powerchord/powerchord.cpp | 1 | ||||
-rw-r--r-- | noncore/multimedia/powerchord/powerchordbase.cpp | 7 |
4 files changed, 0 insertions, 11 deletions
diff --git a/noncore/multimedia/powerchord/fretboard.cpp b/noncore/multimedia/powerchord/fretboard.cpp index 0687d00..bf78e4c 100644 --- a/noncore/multimedia/powerchord/fretboard.cpp +++ b/noncore/multimedia/powerchord/fretboard.cpp | |||
@@ -14,25 +14,24 @@ | |||
14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | // GNU General Public License for more details. | 16 | // GNU General Public License for more details. |
17 | // | 17 | // |
18 | // You should have received a copy of the GNU General Public License | 18 | // You should have received a copy of the GNU General Public License |
19 | // along with this program; if not, write to the Free Software | 19 | // along with this program; if not, write to the Free Software |
20 | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 20 | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21 | 21 | ||
22 | //#include <FL/Fl.H> | 22 | //#include <FL/Fl.H> |
23 | //#include <FL/Fl_Widget.H> | 23 | //#include <FL/Fl_Widget.H> |
24 | //#include <FL/fl_draw.H> | 24 | //#include <FL/fl_draw.H> |
25 | #include <stdio.h> | 25 | #include <stdio.h> |
26 | #include <qpixmap.h> | ||
27 | #include <qpe/resource.h> | 26 | #include <qpe/resource.h> |
28 | #include "fretboard.h" | 27 | #include "fretboard.h" |
29 | #include <qpainter.h> | 28 | #include <qpainter.h> |
30 | 29 | ||
31 | void FretBoard::refresh(){ | 30 | void FretBoard::refresh(){ |
32 | ce.calculate(); | 31 | ce.calculate(); |
33 | 32 | ||
34 | emit nameChanged(QString(ce.label())); | 33 | emit nameChanged(QString(ce.label())); |
35 | 34 | ||
36 | for (int i=0;i<6;i++){ | 35 | for (int i=0;i<6;i++){ |
37 | Finger(i, ce.finger(i)); | 36 | Finger(i, ce.finger(i)); |
38 | // yuk | 37 | // yuk |
diff --git a/noncore/multimedia/powerchord/gs.cpp b/noncore/multimedia/powerchord/gs.cpp index fdcfb74..69d9d75 100644 --- a/noncore/multimedia/powerchord/gs.cpp +++ b/noncore/multimedia/powerchord/gs.cpp | |||
@@ -8,26 +8,24 @@ | |||
8 | 8 | ||
9 | #include <sys/ioctl.h> | 9 | #include <sys/ioctl.h> |
10 | #include <unistd.h> | 10 | #include <unistd.h> |
11 | #include <fcntl.h> | 11 | #include <fcntl.h> |
12 | #include <sys/soundcard.h> | 12 | #include <sys/soundcard.h> |
13 | 13 | ||
14 | #include <errno.h> | 14 | #include <errno.h> |
15 | #include <string.h> | 15 | #include <string.h> |
16 | 16 | ||
17 | #include <stdlib.h> | 17 | #include <stdlib.h> |
18 | 18 | ||
19 | //#include <qpainter.h> | 19 | //#include <qpainter.h> |
20 | #include <qmessagebox.h> | ||
21 | #include <qstring.h> | ||
22 | 20 | ||
23 | 21 | ||
24 | gs::gs() | 22 | gs::gs() |
25 | { | 23 | { |
26 | 24 | ||
27 | finger[0] = OPEN; | 25 | finger[0] = OPEN; |
28 | finger[1] = OPEN; | 26 | finger[1] = OPEN; |
29 | finger[2] = OPEN; | 27 | finger[2] = OPEN; |
30 | finger[3] = OPEN; | 28 | finger[3] = OPEN; |
31 | finger[4] = OPEN; | 29 | finger[4] = OPEN; |
32 | finger[5] = OPEN; | 30 | finger[5] = OPEN; |
33 | 31 | ||
diff --git a/noncore/multimedia/powerchord/powerchord.cpp b/noncore/multimedia/powerchord/powerchord.cpp index 79a26ea..31d517b 100644 --- a/noncore/multimedia/powerchord/powerchord.cpp +++ b/noncore/multimedia/powerchord/powerchord.cpp | |||
@@ -1,14 +1,13 @@ | |||
1 | #include "powerchord.h" | 1 | #include "powerchord.h" |
2 | #include <qpushbutton.h> | ||
3 | 2 | ||
4 | /* | 3 | /* |
5 | * Constructs a Example which is a child of 'parent', with the | 4 | * Constructs a Example which is a child of 'parent', with the |
6 | * name 'name' and widget flags set to 'f' | 5 | * name 'name' and widget flags set to 'f' |
7 | */ | 6 | */ |
8 | Powerchord::Powerchord( QWidget* parent, const char* name, WFlags fl ) | 7 | Powerchord::Powerchord( QWidget* parent, const char* name, WFlags fl ) |
9 | : PowerchordBase( parent, name, fl ) | 8 | : PowerchordBase( parent, name, fl ) |
10 | { | 9 | { |
11 | // connect(quit, SIGNAL(clicked), this, SLOT(goodBye())); | 10 | // connect(quit, SIGNAL(clicked), this, SLOT(goodBye())); |
12 | } | 11 | } |
13 | 12 | ||
14 | /* | 13 | /* |
diff --git a/noncore/multimedia/powerchord/powerchordbase.cpp b/noncore/multimedia/powerchord/powerchordbase.cpp index 7978426..4fb5dda 100644 --- a/noncore/multimedia/powerchord/powerchordbase.cpp +++ b/noncore/multimedia/powerchord/powerchordbase.cpp | |||
@@ -1,39 +1,32 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** Form implementation generated from reading ui file 'powerchordbase.ui' | 2 | ** Form implementation generated from reading ui file 'powerchordbase.ui' |
3 | ** | 3 | ** |
4 | ** Created: Sun Jan 13 23:05:11 2002 | 4 | ** Created: Sun Jan 13 23:05:11 2002 |
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
6 | ** | 6 | ** |
7 | ** WARNING! All changes made in this file will be lost! | 7 | ** WARNING! All changes made in this file will be lost! |
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #include "powerchordbase.h" | 9 | #include "powerchordbase.h" |
10 | 10 | ||
11 | #include "fretboard.h" | 11 | #include "fretboard.h" |
12 | #include "vumeter.h" | 12 | #include "vumeter.h" |
13 | #include "gs.h" | ||
14 | #include <qcombobox.h> | 13 | #include <qcombobox.h> |
15 | #include <qframe.h> | ||
16 | #include <qlabel.h> | 14 | #include <qlabel.h> |
17 | #include <qlistbox.h> | 15 | #include <qlistbox.h> |
18 | #include <qpushbutton.h> | 16 | #include <qpushbutton.h> |
19 | #include <qspinbox.h> | 17 | #include <qspinbox.h> |
20 | #include <qtabwidget.h> | 18 | #include <qtabwidget.h> |
21 | #include <qlayout.h> | 19 | #include <qlayout.h> |
22 | #include <qvariant.h> | ||
23 | #include <qtooltip.h> | 20 | #include <qtooltip.h> |
24 | #include <qwhatsthis.h> | ||
25 | #include <qimage.h> | ||
26 | #include <qpixmap.h> | ||
27 | #include <qbitmap.h> | ||
28 | #include <qpe/resource.h> | 21 | #include <qpe/resource.h> |
29 | 22 | ||
30 | 23 | ||
31 | /* | 24 | /* |
32 | * Constructs a PowerchordBase which is a child of 'parent', with the | 25 | * Constructs a PowerchordBase which is a child of 'parent', with the |
33 | * name 'name' and widget flags set to 'f' | 26 | * name 'name' and widget flags set to 'f' |
34 | */ | 27 | */ |
35 | PowerchordBase::PowerchordBase( QWidget* parent, const char* name, WFlags fl ) | 28 | PowerchordBase::PowerchordBase( QWidget* parent, const char* name, WFlags fl ) |
36 | : QWidget( parent, name, fl ) | 29 | : QWidget( parent, name, fl ) |
37 | { | 30 | { |
38 | simulation_timer = 0; | 31 | simulation_timer = 0; |
39 | audio_timer = 0; | 32 | audio_timer = 0; |