-rw-r--r-- | noncore/multimedia/powerchord/config.in | 6 | ||||
-rw-r--r-- | noncore/multimedia/powerchord/powerchord.pro | 3 | ||||
-rw-r--r-- | noncore/multimedia/powerchord/powerchordbase.cpp | 12 |
3 files changed, 12 insertions, 9 deletions
diff --git a/noncore/multimedia/powerchord/config.in b/noncore/multimedia/powerchord/config.in index ab1512b..5db784a 100644 --- a/noncore/multimedia/powerchord/config.in +++ b/noncore/multimedia/powerchord/config.in | |||
@@ -1,7 +1,7 @@ | |||
1 | config POWERCHORD | 1 | config POWERCHORD |
2 | boolean "opie-powerchord (guitar chord generator and tuning)" | 2 | boolean "opie-powerchord (guitar chord generator and tuning)" |
3 | default "n" | 3 | default "n" |
4 | depends ( LIBQPE || LIBQPE-X11 ) | 4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE |
5 | comment "opie-powerchord needs a libqpe" | 5 | comment "opie-powerchord needs a libqpe and libopiecore2" |
6 | depends !(( LIBQPE || LIBQPE-X11 ) ) | 6 | depends !(( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE ) |
7 | 7 | ||
diff --git a/noncore/multimedia/powerchord/powerchord.pro b/noncore/multimedia/powerchord/powerchord.pro index 917c88f..f7af6d6 100644 --- a/noncore/multimedia/powerchord/powerchord.pro +++ b/noncore/multimedia/powerchord/powerchord.pro | |||
@@ -15,13 +15,12 @@ SOURCES = main.cpp \ | |||
15 | vumeter.cpp \ | 15 | vumeter.cpp \ |
16 | gs.cpp gt.cpp \ | 16 | gs.cpp gt.cpp \ |
17 | powerchordbase.cpp | 17 | powerchordbase.cpp |
18 | 18 | ||
19 | INCLUDEPATH+= $(OPIEDIR)/include | 19 | INCLUDEPATH+= $(OPIEDIR)/include |
20 | DEPENDPATH+= $(OPIEDIR)/include | 20 | DEPENDPATH+= $(OPIEDIR)/include |
21 | LIBS += -lqpe | 21 | LIBS += -lqpe -lopiecore2 |
22 | #INTERFACES= powerchordbase.ui | ||
23 | DESTDIR = $(OPIEDIR)/bin | 22 | DESTDIR = $(OPIEDIR)/bin |
24 | TARGET = powerchord | 23 | TARGET = powerchord |
25 | 24 | ||
26 | include ( $(OPIEDIR)/include.pro ) | 25 | include ( $(OPIEDIR)/include.pro ) |
27 | 26 | ||
diff --git a/noncore/multimedia/powerchord/powerchordbase.cpp b/noncore/multimedia/powerchord/powerchordbase.cpp index 4fb5dda..0694ba3 100644 --- a/noncore/multimedia/powerchord/powerchordbase.cpp +++ b/noncore/multimedia/powerchord/powerchordbase.cpp | |||
@@ -4,25 +4,29 @@ | |||
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 | |||
11 | #include "fretboard.h" | 10 | #include "fretboard.h" |
12 | #include "vumeter.h" | 11 | #include "vumeter.h" |
12 | |||
13 | /* OPIE */ | ||
14 | #include <opie2/odebug.h> | ||
15 | #include <qpe/resource.h> | ||
16 | using namespace Opie::Core; | ||
17 | |||
18 | /* QT */ | ||
13 | #include <qcombobox.h> | 19 | #include <qcombobox.h> |
14 | #include <qlabel.h> | 20 | #include <qlabel.h> |
15 | #include <qlistbox.h> | 21 | #include <qlistbox.h> |
16 | #include <qpushbutton.h> | 22 | #include <qpushbutton.h> |
17 | #include <qspinbox.h> | 23 | #include <qspinbox.h> |
18 | #include <qtabwidget.h> | 24 | #include <qtabwidget.h> |
19 | #include <qlayout.h> | 25 | #include <qlayout.h> |
20 | #include <qtooltip.h> | 26 | #include <qtooltip.h> |
21 | #include <qpe/resource.h> | ||
22 | |||
23 | 27 | ||
24 | /* | 28 | /* |
25 | * Constructs a PowerchordBase which is a child of 'parent', with the | 29 | * Constructs a PowerchordBase which is a child of 'parent', with the |
26 | * name 'name' and widget flags set to 'f' | 30 | * name 'name' and widget flags set to 'f' |
27 | */ | 31 | */ |
28 | PowerchordBase::PowerchordBase( QWidget* parent, const char* name, WFlags fl ) | 32 | PowerchordBase::PowerchordBase( QWidget* parent, const char* name, WFlags fl ) |
@@ -577,9 +581,9 @@ PowerchordBase::~PowerchordBase() | |||
577 | { | 581 | { |
578 | // no need to delete child widgets, Qt does it all for us | 582 | // no need to delete child widgets, Qt does it all for us |
579 | } | 583 | } |
580 | 584 | ||
581 | void PowerchordBase::change_handler() | 585 | void PowerchordBase::change_handler() |
582 | { | 586 | { |
583 | qWarning( "PowerchordBase::change_handler(): Not implemented yet!" ); | 587 | owarn << "PowerchordBase::change_handler(): Not implemented yet!" << oendl; |
584 | } | 588 | } |
585 | 589 | ||